1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1343 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1344 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1345 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1346 #define SWIGTYPE_p_wxMenu swig_types[4]
1347 #define SWIGTYPE_p_wxFontData swig_types[5]
1348 #define SWIGTYPE_p_wxEvent swig_types[6]
1349 #define SWIGTYPE_p_wxPrintData swig_types[7]
1350 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1351 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1352 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1353 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1354 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1355 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1356 #define SWIGTYPE_p_wxFont swig_types[14]
1357 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1358 #define SWIGTYPE_p_wxRegion swig_types[16]
1359 #define SWIGTYPE_ptrdiff_t swig_types[17]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1361 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1362 #define SWIGTYPE_p_int swig_types[20]
1363 #define SWIGTYPE_p_wxSize swig_types[21]
1364 #define SWIGTYPE_p_wxDC swig_types[22]
1365 #define SWIGTYPE_p_wxIcon swig_types[23]
1366 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1367 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1368 #define SWIGTYPE_p_wxColourData swig_types[26]
1369 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1370 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1371 #define SWIGTYPE_p_form_ops_t swig_types[29]
1372 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1373 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1374 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1375 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1376 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1377 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1378 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1379 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1380 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1381 #define SWIGTYPE_p_wxPrinter swig_types[39]
1382 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1383 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1384 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1385 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1386 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1387 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1388 #define SWIGTYPE_p_wxRect swig_types[46]
1389 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[47]
1390 #define SWIGTYPE_p_char swig_types[48]
1391 #define SWIGTYPE_p_wxMiniFrame swig_types[49]
1392 #define SWIGTYPE_p_wxFrame swig_types[50]
1393 #define SWIGTYPE_p_wxPyPrintout swig_types[51]
1394 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[52]
1395 #define SWIGTYPE_p_wxScrollWinEvent swig_types[53]
1396 #define SWIGTYPE_p_wxPaperSize swig_types[54]
1397 #define SWIGTYPE_p_wxStatusBar swig_types[55]
1398 #define SWIGTYPE_p_wxMDIParentFrame swig_types[56]
1399 #define SWIGTYPE_p_wxPoint swig_types[57]
1400 #define SWIGTYPE_p_wxObject swig_types[58]
1401 #define SWIGTYPE_p_unsigned_long swig_types[59]
1402 #define SWIGTYPE_p_wxTipWindow swig_types[60]
1403 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[61]
1404 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[62]
1405 #define SWIGTYPE_p_wxSplitterWindow swig_types[63]
1406 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[64]
1407 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[65]
1408 #define SWIGTYPE_p_wxPopupWindow swig_types[66]
1409 #define SWIGTYPE_p_wxSashWindow swig_types[67]
1410 #define SWIGTYPE_p_wxTopLevelWindow swig_types[68]
1411 #define SWIGTYPE_p_wxWindow swig_types[69]
1412 #define SWIGTYPE_p_wxScrolledWindow swig_types[70]
1413 #define SWIGTYPE_p_wxMenuBar swig_types[71]
1414 #define SWIGTYPE_p_wxMDIClientWindow swig_types[72]
1415 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[73]
1416 #define SWIGTYPE_p_wxPrintPreview swig_types[74]
1417 #define SWIGTYPE_p_wxSashEvent swig_types[75]
1418 #define SWIGTYPE_p_wxString swig_types[76]
1419 #define SWIGTYPE_p_wxPyPrintPreview swig_types[77]
1420 #define SWIGTYPE_p_wxDirDialog swig_types[78]
1421 #define SWIGTYPE_p_wxColourDialog swig_types[79]
1422 #define SWIGTYPE_p_wxDialog swig_types[80]
1423 #define SWIGTYPE_p_wxPanel swig_types[81]
1424 #define SWIGTYPE_p_wxFontDialog swig_types[82]
1425 #define SWIGTYPE_p_wxPageSetupDialog swig_types[83]
1426 #define SWIGTYPE_p_wxPrintDialog swig_types[84]
1427 #define SWIGTYPE_p_wxFileSystem swig_types[85]
1428 #define SWIGTYPE_p_wxBitmap swig_types[86]
1429 #define SWIGTYPE_unsigned_int swig_types[87]
1430 #define SWIGTYPE_p_unsigned_int swig_types[88]
1431 #define SWIGTYPE_p_unsigned_char swig_types[89]
1432 #define SWIGTYPE_p_wxCommandEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPreviewControlBar swig_types[91]
1434 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[92]
1435 #define SWIGTYPE_p_wxColour swig_types[93]
1436 #define SWIGTYPE_p_wxToolBar swig_types[94]
1437 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[95]
1438 #define SWIGTYPE_p_wxPrintDialogData swig_types[96]
1439 static swig_type_info
*swig_types
[98];
1441 /* -------- TYPES TABLE (END) -------- */
1444 /*-----------------------------------------------
1445 @(target):= _windows_.so
1446 ------------------------------------------------*/
1447 #define SWIG_init init_windows_
1449 #define SWIG_name "_windows_"
1451 #include "wx/wxPython/wxPython.h"
1452 #include "wx/wxPython/pyclasses.h"
1455 static const wxString
wxPyEmptyString(wxEmptyString
);
1456 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1464 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1467 if (value
< min_value
) {
1469 PyErr_Format(PyExc_OverflowError
,
1470 "value %ld is less than '%s' minimum %ld",
1471 value
, errmsg
, min_value
);
1474 } else if (value
> max_value
) {
1476 PyErr_Format(PyExc_OverflowError
,
1477 "value %ld is greater than '%s' maximum %ld",
1478 value
, errmsg
, max_value
);
1487 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1489 if (PyNumber_Check(obj
)) {
1490 if (val
) *val
= PyInt_AsLong(obj
);
1494 SWIG_type_error("number", obj
);
1500 #if INT_MAX != LONG_MAX
1502 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1504 const char* errmsg
= val
? "int" : (char*)0;
1506 if (SWIG_AsVal_long(obj
, &v
)) {
1507 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1508 if (val
) *val
= (int)(v
);
1517 SWIG_type_error(errmsg
, obj
);
1523 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1525 return SWIG_AsVal_long(obj
,(long*)val
);
1531 SWIG_As_int(PyObject
* obj
)
1534 if (!SWIG_AsVal_int(obj
, &v
)) {
1536 this is needed to make valgrind/purify happier.
1538 memset((void*)&v
, 0, sizeof(int));
1544 SWIGINTERNSHORT
long
1545 SWIG_As_long(PyObject
* obj
)
1548 if (!SWIG_AsVal_long(obj
, &v
)) {
1550 this is needed to make valgrind/purify happier.
1552 memset((void*)&v
, 0, sizeof(long));
1559 SWIG_Check_int(PyObject
* obj
)
1561 return SWIG_AsVal_int(obj
, (int*)0);
1566 SWIG_Check_long(PyObject
* obj
)
1568 return SWIG_AsVal_long(obj
, (long*)0);
1573 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1575 if (obj
== Py_True
) {
1576 if (val
) *val
= true;
1579 if (obj
== Py_False
) {
1580 if (val
) *val
= false;
1584 if (SWIG_AsVal_int(obj
, &res
)) {
1585 if (val
) *val
= res
? true : false;
1591 SWIG_type_error("bool", obj
);
1597 SWIGINTERNSHORT
bool
1598 SWIG_As_bool(PyObject
* obj
)
1601 if (!SWIG_AsVal_bool(obj
, &v
)) {
1603 this is needed to make valgrind/purify happier.
1605 memset((void*)&v
, 0, sizeof(bool));
1612 SWIG_Check_bool(PyObject
* obj
)
1614 return SWIG_AsVal_bool(obj
, (bool*)0);
1618 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1619 #define SWIG_From_int PyInt_FromLong
1623 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1629 } else if (target
== Py_None
) {
1633 if (!PyTuple_Check(target
)) {
1635 target
= PyTuple_New(1);
1636 PyTuple_SetItem(target
, 0, o2
);
1638 o3
= PyTuple_New(1);
1639 PyTuple_SetItem(o3
, 0, o
);
1642 target
= PySequence_Concat(o2
, o3
);
1652 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1654 if (PyNumber_Check(obj
)) {
1655 if (val
) *val
= PyFloat_AsDouble(obj
);
1659 SWIG_type_error("number", obj
);
1665 SWIGINTERNSHORT
double
1666 SWIG_As_double(PyObject
* obj
)
1669 if (!SWIG_AsVal_double(obj
, &v
)) {
1671 this is needed to make valgrind/purify happier.
1673 memset((void*)&v
, 0, sizeof(double));
1680 SWIG_Check_double(PyObject
* obj
)
1682 return SWIG_AsVal_double(obj
, (double*)0);
1686 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1687 #define SWIG_From_double PyFloat_FromDouble
1690 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1691 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1692 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1693 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1695 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1696 #define SWIG_From_long PyInt_FromLong
1701 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1703 self
->GetFieldRect(i
, r
);
1706 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1707 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1708 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1710 #include <wx/popupwin.h>
1713 class wxPopupWindow
: public wxWindow
{
1715 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1716 wxPopupWindow() { wxPyRaiseNotImplemented(); }
1719 class wxPyPopupTransientWindow
: public wxPopupWindow
1722 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
1723 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
1727 #include <wx/tipwin.h>
1729 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1730 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1733 #include <wx/tipwin.h>
1736 #include <wx/vscroll.h>
1739 class wxPyVScrolledWindow
: public wxVScrolledWindow
1741 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1743 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1745 wxPyVScrolledWindow(wxWindow
*parent
,
1746 wxWindowID id
= wxID_ANY
,
1747 const wxPoint
& pos
= wxDefaultPosition
,
1748 const wxSize
& size
= wxDefaultSize
,
1750 const wxString
& name
= wxPyPanelNameStr
)
1751 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1754 // Overridable virtuals
1756 // this function must be overridden in the derived class and it should
1757 // return the height of the given line in pixels
1758 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1761 // this function doesn't have to be overridden but it may be useful to do
1762 // it if calculating the lines heights is a relatively expensive operation
1763 // as it gives the user code a possibility to calculate several of them at
1766 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1767 // shouldn't rely on the latter being called for all lines in the interval
1768 // specified here. It is also possible that OnGetLineHeight() will be
1769 // called for the lines outside of this interval, so this is really just a
1770 // hint, not a promise.
1772 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1774 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1777 // when the number of lines changes, we try to estimate the total height
1778 // of all lines which is a rather expensive operation in terms of lines
1779 // access, so if the user code may estimate the average height
1780 // better/faster than we do, it should override this function to implement
1783 // this function should return the best guess for the total height it may
1785 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1788 // Also expose some other interesting protected methods
1791 // find the index of the line we need to show at the top of the window such
1792 // that the last (fully or partially) visible line is the given one
1793 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1794 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1796 // get the total height of the lines between lineMin (inclusive) and
1797 // lineMax (exclusive)
1798 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1799 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1805 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1807 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1808 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1809 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1813 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1816 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1817 SWIG_type_error("unsigned number", obj
);
1820 *val
= (unsigned long)v
;
1825 SWIGINTERNSHORT
unsigned long
1826 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1829 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1831 this is needed to make valgrind/purify happier.
1833 memset((void*)&v
, 0, sizeof(unsigned long));
1840 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1842 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1846 SWIGINTERNSHORT PyObject
*
1847 SWIG_From_unsigned_SS_long(unsigned long value
)
1849 return (value
> LONG_MAX
) ?
1850 PyLong_FromUnsignedLong(value
)
1851 : PyInt_FromLong((long)(value
));
1855 #include <wx/vlbox.h>
1857 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1859 class wxPyVListBox
: public wxVListBox
1861 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1863 wxPyVListBox() : wxVListBox() {}
1865 wxPyVListBox(wxWindow
*parent
,
1866 wxWindowID id
= wxID_ANY
,
1867 const wxPoint
& pos
= wxDefaultPosition
,
1868 const wxSize
& size
= wxDefaultSize
,
1870 const wxString
& name
= wxPyVListBoxNameStr
)
1871 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1874 // Overridable virtuals
1876 // the derived class must implement this function to actually draw the item
1877 // with the given index on the provided DC
1878 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1879 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1882 // the derived class must implement this method to return the height of the
1884 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1885 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1888 // this method may be used to draw separators between the lines; note that
1889 // the rectangle may be modified, typically to deflate it a bit before
1890 // passing to OnDrawItem()
1892 // the base class version doesn't do anything
1893 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1894 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1897 // this method is used to draw the items background and, maybe, a border
1900 // the base class version implements a reasonable default behaviour which
1901 // consists in drawing the selected item with the standard background
1902 // colour and drawing a border around the item if it is either selected or
1904 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1905 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1911 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1913 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1914 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1915 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1916 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1919 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1920 unsigned long cookie
= 0;
1921 int selected
= self
->GetFirstSelected(cookie
);
1922 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1923 PyObject
* tup
= PyTuple_New(2);
1924 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1925 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1926 wxPyEndBlockThreads(blocked
);
1929 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1930 int selected
= self
->GetNextSelected(cookie
);
1931 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1932 PyObject
* tup
= PyTuple_New(2);
1933 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1934 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1935 wxPyEndBlockThreads(blocked
);
1939 #include <wx/htmllbox.h>
1942 class wxPyHtmlListBox
: public wxHtmlListBox
1944 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1946 wxPyHtmlListBox() : wxHtmlListBox() {}
1948 wxPyHtmlListBox(wxWindow
*parent
,
1949 wxWindowID id
= wxID_ANY
,
1950 const wxPoint
& pos
= wxDefaultPosition
,
1951 const wxSize
& size
= wxDefaultSize
,
1953 const wxString
& name
= wxPyVListBoxNameStr
)
1954 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1957 // Overridable virtuals
1959 // this method must be implemented in the derived class and should return
1960 // the body (i.e. without <html>) of the HTML for the given item
1961 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1963 // this function may be overridden to decorate HTML returned by OnGetItem()
1964 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1967 // // this method allows to customize the selection appearance: it may be used
1968 // // to specify the colour of the text which normally has the given colour
1969 // // colFg when it is inside the selection
1971 // // by default, the original colour is not used at all and all text has the
1972 // // same (default for this system) colour inside selection
1973 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1975 // // this is the same as GetSelectedTextColour() but allows to customize the
1976 // // background colour -- this is even more rarely used as you can change it
1977 // // globally using SetSelectionBackground()
1978 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1985 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1987 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1988 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
1994 #ifndef wxHAS_TASK_BAR_ICON
1995 // implement dummy classes for platforms that don't have it
1997 class wxTaskBarIcon
: public wxEvtHandler
2000 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2004 class wxTaskBarIconEvent
: public wxEvent
2007 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2008 { wxPyRaiseNotImplemented(); }
2009 virtual wxEvent
* Clone() const { return NULL
; }
2010 bool IsOk() const { return false; }
2011 bool IsIconInstalled() const { return false; }
2012 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2013 bool RemoveIcon() { return false; }
2014 bool PopupMenu(wxMenu
*menu
) { return false; }
2018 wxEVT_TASKBAR_MOVE
= 0,
2019 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2020 wxEVT_TASKBAR_LEFT_UP
= 0,
2021 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2022 wxEVT_TASKBAR_RIGHT_UP
= 0,
2023 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2024 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2029 // Otherwise make a class that can virtualize CreatePopupMenu
2030 class wxPyTaskBarIcon
: public wxTaskBarIcon
2032 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2034 wxPyTaskBarIcon() : wxTaskBarIcon()
2037 wxMenu
* CreatePopupMenu() {
2038 wxMenu
*rval
= NULL
;
2040 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2041 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2044 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2046 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2051 wxPyEndBlockThreads(blocked
);
2053 rval
= wxTaskBarIcon::CreatePopupMenu();
2060 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2064 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2068 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2069 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2070 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2071 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2072 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2073 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2074 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2076 self
->GetFilenames(arr
);
2077 return wxArrayString2PyList_helper(arr
);
2079 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2081 self
->GetPaths(arr
);
2082 return wxArrayString2PyList_helper(arr
);
2084 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2085 return wxArrayInt2PyList_helper(self
->GetSelections());
2087 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
){
2088 return new wxSingleChoiceDialog(parent
, message
, caption
,
2089 choices
, choices_array
, NULL
, style
, pos
);
2091 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2095 // C++ version of Python aware wxWindow
2096 class wxPyWindow
: public wxWindow
2098 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2100 wxPyWindow() : wxWindow() {}
2101 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2102 const wxPoint
& pos
= wxDefaultPosition
,
2103 const wxSize
& size
= wxDefaultSize
,
2105 const wxString
& name
= wxPyPanelNameStr
)
2106 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2108 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2110 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2111 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2112 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2113 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2119 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2120 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2122 DEC_PYCALLBACK__(InitDialog
);
2123 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2124 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2125 DEC_PYCALLBACK_BOOL_(Validate
);
2127 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2128 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2129 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2131 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2132 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2134 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2137 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2142 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2144 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2145 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2146 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2147 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2153 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2154 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2156 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2157 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2158 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2159 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2161 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2162 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2163 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2169 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2171 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2173 // C++ version of Python aware wxPanel
2174 class wxPyPanel
: public wxPanel
2176 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2178 wxPyPanel() : wxPanel() {}
2179 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2180 const wxPoint
& pos
= wxDefaultPosition
,
2181 const wxSize
& size
= wxDefaultSize
,
2183 const wxString
& name
= wxPyPanelNameStr
)
2184 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2186 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2189 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2190 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2191 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2192 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2196 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2198 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2199 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2201 DEC_PYCALLBACK__(InitDialog
);
2202 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2203 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2204 DEC_PYCALLBACK_BOOL_(Validate
);
2206 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2207 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2208 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2210 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2211 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2213 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2214 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2216 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2221 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2223 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2224 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2225 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2226 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2228 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2229 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2232 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2233 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2235 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2236 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2237 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2238 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2240 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2241 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2242 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2244 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2245 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2247 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2248 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2250 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2252 // C++ version of Python aware wxScrolledWindow
2253 class wxPyScrolledWindow
: public wxScrolledWindow
2255 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2257 wxPyScrolledWindow() : wxScrolledWindow() {}
2258 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2259 const wxPoint
& pos
= wxDefaultPosition
,
2260 const wxSize
& size
= wxDefaultSize
,
2262 const wxString
& name
= wxPyPanelNameStr
)
2263 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2265 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2267 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2268 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2269 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2270 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2272 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2273 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2274 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2276 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2277 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2279 DEC_PYCALLBACK__(InitDialog
);
2280 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2281 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2282 DEC_PYCALLBACK_BOOL_(Validate
);
2284 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2285 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2286 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2288 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2289 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2291 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2292 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2294 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2299 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2301 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2302 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2303 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2304 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2308 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2310 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2311 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2313 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2314 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2315 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2316 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2318 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2319 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2320 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2323 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2325 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2326 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2328 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2331 #include "wx/wxPython/printfw.h"
2334 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2335 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2336 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2338 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2339 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2340 self
->GetPrivDataLen());
2341 wxPyEndBlockThreads(blocked
);
2344 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2345 if (! PyString_Check(data
)) {
2346 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2347 "Expected string object"));
2351 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2352 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2353 wxPyEndBlockThreads(blocked
);
2357 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2359 // Since this one would be tough and ugly to do with the Macros...
2360 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2361 bool hadErr
= false;
2364 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2365 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2366 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2367 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2370 val
= PyTuple_GetItem(result
, 0);
2371 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2374 val
= PyTuple_GetItem(result
, 1);
2375 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2378 val
= PyTuple_GetItem(result
, 2);
2379 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2382 val
= PyTuple_GetItem(result
, 3);
2383 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2390 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2395 wxPyEndBlockThreads(blocked
);
2397 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2400 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2401 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2405 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2406 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2407 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2408 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2409 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2410 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2411 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2417 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2418 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2419 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2422 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2423 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2426 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2427 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2428 PyObject* win = wxPyMake_wxObject(a,false); \
2429 PyObject* dc = wxPyMake_wxObject(&b,false); \
2430 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2434 wxPyEndBlockThreads(blocked); \
2436 rval = PCLASS::CBNAME(a, b); \
2439 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2440 return PCLASS::CBNAME(a, b); \
2446 class wxPyPrintPreview
: public wxPrintPreview
2448 DECLARE_CLASS(wxPyPrintPreview
)
2450 wxPyPrintPreview(wxPyPrintout
* printout
,
2451 wxPyPrintout
* printoutForPrinting
,
2452 wxPrintDialogData
* data
=NULL
)
2453 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2455 wxPyPrintPreview(wxPyPrintout
* printout
,
2456 wxPyPrintout
* printoutForPrinting
,
2457 wxPrintData
* data
=NULL
)
2458 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2461 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2462 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2463 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2464 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2465 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2466 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2467 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2472 // Stupid renamed classes... Fix this in 2.5...
2473 #if defined(__WXMSW__)
2474 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2475 #elif defined(__WXMAC__)
2476 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2478 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2481 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2482 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2483 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2484 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2485 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2486 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2487 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2490 class wxPyPreviewFrame
: public wxPreviewFrame
2492 DECLARE_CLASS(wxPyPreviewFrame
);
2494 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2495 const wxString
& title
,
2496 const wxPoint
& pos
= wxDefaultPosition
,
2497 const wxSize
& size
= wxDefaultSize
,
2498 long style
= wxDEFAULT_FRAME_STYLE
,
2499 const wxString
& name
= wxPyFrameNameStr
)
2500 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2503 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2504 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2506 DEC_PYCALLBACK_VOID_(Initialize
);
2507 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2508 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2513 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2515 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2516 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2517 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2520 class wxPyPreviewControlBar
: public wxPreviewControlBar
2522 DECLARE_CLASS(wxPyPreviewControlBar
);
2524 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2527 const wxPoint
& pos
= wxDefaultPosition
,
2528 const wxSize
& size
= wxDefaultSize
,
2530 const wxString
& name
= wxPyPanelNameStr
)
2531 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2534 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2536 DEC_PYCALLBACK_VOID_(CreateButtons
);
2537 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2542 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2543 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2544 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2549 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxWindow
*arg1
= (wxWindow
*) 0 ;
2552 int arg2
= (int) (int)-1 ;
2553 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2554 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2555 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2556 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2557 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2558 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2559 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2563 bool temp6
= false ;
2564 PyObject
* obj0
= 0 ;
2565 PyObject
* obj1
= 0 ;
2566 PyObject
* obj2
= 0 ;
2567 PyObject
* obj3
= 0 ;
2568 PyObject
* obj4
= 0 ;
2569 PyObject
* obj5
= 0 ;
2571 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2576 if (SWIG_arg_fail(1)) SWIG_fail
;
2579 arg2
= (int const)(SWIG_As_int(obj1
));
2580 if (SWIG_arg_fail(2)) SWIG_fail
;
2586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2592 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2597 arg5
= (long)(SWIG_As_long(obj4
));
2598 if (SWIG_arg_fail(5)) SWIG_fail
;
2603 arg6
= wxString_in_helper(obj5
);
2604 if (arg6
== NULL
) SWIG_fail
;
2609 if (!wxPyCheckForApp()) SWIG_fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2631 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
*resultobj
;
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2640 if (!wxPyCheckForApp()) SWIG_fail
;
2641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2642 result
= (wxPanel
*)new wxPanel();
2644 wxPyEndAllowThreads(__tstate
);
2645 if (PyErr_Occurred()) SWIG_fail
;
2647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2654 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2656 wxPanel
*arg1
= (wxPanel
*) 0 ;
2657 wxWindow
*arg2
= (wxWindow
*) 0 ;
2658 int arg3
= (int) (int)-1 ;
2659 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2660 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2661 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2662 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2663 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2664 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2665 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2669 bool temp7
= false ;
2670 PyObject
* obj0
= 0 ;
2671 PyObject
* obj1
= 0 ;
2672 PyObject
* obj2
= 0 ;
2673 PyObject
* obj3
= 0 ;
2674 PyObject
* obj4
= 0 ;
2675 PyObject
* obj5
= 0 ;
2676 PyObject
* obj6
= 0 ;
2678 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2683 if (SWIG_arg_fail(1)) SWIG_fail
;
2684 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2685 if (SWIG_arg_fail(2)) SWIG_fail
;
2688 arg3
= (int const)(SWIG_As_int(obj2
));
2689 if (SWIG_arg_fail(3)) SWIG_fail
;
2695 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2701 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2706 arg6
= (long)(SWIG_As_long(obj5
));
2707 if (SWIG_arg_fail(6)) SWIG_fail
;
2712 arg7
= wxString_in_helper(obj6
);
2713 if (arg7
== NULL
) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2741 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxPanel
*arg1
= (wxPanel
*) 0 ;
2744 PyObject
* obj0
= 0 ;
2746 (char *) "self", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2751 if (SWIG_arg_fail(1)) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 (arg1
)->InitDialog();
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 Py_INCREF(Py_None
); resultobj
= Py_None
;
2766 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxPanel
*arg1
= (wxPanel
*) 0 ;
2769 PyObject
* obj0
= 0 ;
2771 (char *) "self", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2776 if (SWIG_arg_fail(1)) SWIG_fail
;
2778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2781 wxPyEndAllowThreads(__tstate
);
2782 if (PyErr_Occurred()) SWIG_fail
;
2784 Py_INCREF(Py_None
); resultobj
= Py_None
;
2791 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2792 PyObject
*resultobj
;
2793 wxPanel
*arg1
= (wxPanel
*) 0 ;
2794 PyObject
* obj0
= 0 ;
2796 (char *) "self", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2801 if (SWIG_arg_fail(1)) SWIG_fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 (arg1
)->SetFocusIgnoringChildren();
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2809 Py_INCREF(Py_None
); resultobj
= Py_None
;
2816 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2819 wxVisualAttributes result
;
2820 PyObject
* obj0
= 0 ;
2822 (char *) "variant", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2828 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2829 if (SWIG_arg_fail(1)) SWIG_fail
;
2833 if (!wxPyCheckForApp()) SWIG_fail
;
2834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2835 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2837 wxPyEndAllowThreads(__tstate
);
2838 if (PyErr_Occurred()) SWIG_fail
;
2841 wxVisualAttributes
* resultptr
;
2842 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2851 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2854 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2856 return Py_BuildValue((char *)"");
2858 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxWindow
*arg1
= (wxWindow
*) 0 ;
2861 int arg2
= (int) (int)-1 ;
2862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2866 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2867 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2868 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2869 wxScrolledWindow
*result
;
2872 bool temp6
= false ;
2873 PyObject
* obj0
= 0 ;
2874 PyObject
* obj1
= 0 ;
2875 PyObject
* obj2
= 0 ;
2876 PyObject
* obj3
= 0 ;
2877 PyObject
* obj4
= 0 ;
2878 PyObject
* obj5
= 0 ;
2880 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2885 if (SWIG_arg_fail(1)) SWIG_fail
;
2888 arg2
= (int const)(SWIG_As_int(obj1
));
2889 if (SWIG_arg_fail(2)) SWIG_fail
;
2895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2906 arg5
= (long)(SWIG_As_long(obj4
));
2907 if (SWIG_arg_fail(5)) SWIG_fail
;
2912 arg6
= wxString_in_helper(obj5
);
2913 if (arg6
== NULL
) SWIG_fail
;
2918 if (!wxPyCheckForApp()) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2940 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxScrolledWindow
*result
;
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2949 if (!wxPyCheckForApp()) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2963 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2964 PyObject
*resultobj
;
2965 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2966 wxWindow
*arg2
= (wxWindow
*) 0 ;
2967 int arg3
= (int) (int)-1 ;
2968 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2969 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2970 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2971 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2972 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2973 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2974 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2978 bool temp7
= false ;
2979 PyObject
* obj0
= 0 ;
2980 PyObject
* obj1
= 0 ;
2981 PyObject
* obj2
= 0 ;
2982 PyObject
* obj3
= 0 ;
2983 PyObject
* obj4
= 0 ;
2984 PyObject
* obj5
= 0 ;
2985 PyObject
* obj6
= 0 ;
2987 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2992 if (SWIG_arg_fail(1)) SWIG_fail
;
2993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2994 if (SWIG_arg_fail(2)) SWIG_fail
;
2997 arg3
= (int const)(SWIG_As_int(obj2
));
2998 if (SWIG_arg_fail(3)) SWIG_fail
;
3004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3015 arg6
= (long)(SWIG_As_long(obj5
));
3016 if (SWIG_arg_fail(6)) SWIG_fail
;
3021 arg7
= wxString_in_helper(obj6
);
3022 if (arg7
== NULL
) SWIG_fail
;
3027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3028 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3030 wxPyEndAllowThreads(__tstate
);
3031 if (PyErr_Occurred()) SWIG_fail
;
3034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3050 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
*resultobj
;
3052 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3057 int arg6
= (int) 0 ;
3058 int arg7
= (int) 0 ;
3059 bool arg8
= (bool) false ;
3060 PyObject
* obj0
= 0 ;
3061 PyObject
* obj1
= 0 ;
3062 PyObject
* obj2
= 0 ;
3063 PyObject
* obj3
= 0 ;
3064 PyObject
* obj4
= 0 ;
3065 PyObject
* obj5
= 0 ;
3066 PyObject
* obj6
= 0 ;
3067 PyObject
* obj7
= 0 ;
3069 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3074 if (SWIG_arg_fail(1)) SWIG_fail
;
3076 arg2
= (int)(SWIG_As_int(obj1
));
3077 if (SWIG_arg_fail(2)) SWIG_fail
;
3080 arg3
= (int)(SWIG_As_int(obj2
));
3081 if (SWIG_arg_fail(3)) SWIG_fail
;
3084 arg4
= (int)(SWIG_As_int(obj3
));
3085 if (SWIG_arg_fail(4)) SWIG_fail
;
3088 arg5
= (int)(SWIG_As_int(obj4
));
3089 if (SWIG_arg_fail(5)) SWIG_fail
;
3093 arg6
= (int)(SWIG_As_int(obj5
));
3094 if (SWIG_arg_fail(6)) SWIG_fail
;
3099 arg7
= (int)(SWIG_As_int(obj6
));
3100 if (SWIG_arg_fail(7)) SWIG_fail
;
3105 arg8
= (bool)(SWIG_As_bool(obj7
));
3106 if (SWIG_arg_fail(8)) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3116 Py_INCREF(Py_None
); resultobj
= Py_None
;
3123 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
*resultobj
;
3125 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3132 (char *) "self",(char *) "x",(char *) "y", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3137 if (SWIG_arg_fail(1)) SWIG_fail
;
3139 arg2
= (int)(SWIG_As_int(obj1
));
3140 if (SWIG_arg_fail(2)) SWIG_fail
;
3143 arg3
= (int)(SWIG_As_int(obj2
));
3144 if (SWIG_arg_fail(3)) SWIG_fail
;
3147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3148 (arg1
)->Scroll(arg2
,arg3
);
3150 wxPyEndAllowThreads(__tstate
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3153 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3165 PyObject
* obj0
= 0 ;
3166 PyObject
* obj1
= 0 ;
3168 (char *) "self",(char *) "orient", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail
;
3175 arg2
= (int)(SWIG_As_int(obj1
));
3176 if (SWIG_arg_fail(2)) SWIG_fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 resultobj
= SWIG_From_int((int)(result
));
3194 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
*resultobj
;
3196 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3199 PyObject
* obj0
= 0 ;
3200 PyObject
* obj1
= 0 ;
3201 PyObject
* obj2
= 0 ;
3203 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3208 if (SWIG_arg_fail(1)) SWIG_fail
;
3210 arg2
= (int)(SWIG_As_int(obj1
));
3211 if (SWIG_arg_fail(2)) SWIG_fail
;
3214 arg3
= (int)(SWIG_As_int(obj2
));
3215 if (SWIG_arg_fail(3)) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 Py_INCREF(Py_None
); resultobj
= Py_None
;
3231 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3236 PyObject
* obj0
= 0 ;
3237 PyObject
* obj1
= 0 ;
3238 PyObject
* obj2
= 0 ;
3240 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3245 if (SWIG_arg_fail(1)) SWIG_fail
;
3247 arg2
= (int)(SWIG_As_int(obj1
));
3248 if (SWIG_arg_fail(2)) SWIG_fail
;
3251 arg3
= (int)(SWIG_As_int(obj2
));
3252 if (SWIG_arg_fail(3)) SWIG_fail
;
3255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3256 (arg1
)->SetScrollRate(arg2
,arg3
);
3258 wxPyEndAllowThreads(__tstate
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3261 Py_INCREF(Py_None
); resultobj
= Py_None
;
3268 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3269 PyObject
*resultobj
;
3270 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3271 int *arg2
= (int *) 0 ;
3272 int *arg3
= (int *) 0 ;
3277 PyObject
* obj0
= 0 ;
3279 (char *) "self", NULL
3282 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3283 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3286 if (SWIG_arg_fail(1)) SWIG_fail
;
3288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3289 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3291 wxPyEndAllowThreads(__tstate
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3294 Py_INCREF(Py_None
); resultobj
= Py_None
;
3295 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3296 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3297 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3298 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3305 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3312 PyObject
* obj2
= 0 ;
3314 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3319 if (SWIG_arg_fail(1)) SWIG_fail
;
3321 arg2
= (bool)(SWIG_As_bool(obj1
));
3322 if (SWIG_arg_fail(2)) SWIG_fail
;
3325 arg3
= (bool)(SWIG_As_bool(obj2
));
3326 if (SWIG_arg_fail(3)) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 (arg1
)->EnableScrolling(arg2
,arg3
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 Py_INCREF(Py_None
); resultobj
= Py_None
;
3342 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3345 int *arg2
= (int *) 0 ;
3346 int *arg3
= (int *) 0 ;
3351 PyObject
* obj0
= 0 ;
3353 (char *) "self", NULL
3356 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3357 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3360 if (SWIG_arg_fail(1)) SWIG_fail
;
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3363 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3365 wxPyEndAllowThreads(__tstate
);
3366 if (PyErr_Occurred()) SWIG_fail
;
3368 Py_INCREF(Py_None
); resultobj
= Py_None
;
3369 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3370 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3371 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3372 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3379 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3385 PyObject
* obj1
= 0 ;
3386 PyObject
* obj2
= 0 ;
3388 (char *) "self",(char *) "xs",(char *) "ys", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3393 if (SWIG_arg_fail(1)) SWIG_fail
;
3395 arg2
= (double)(SWIG_As_double(obj1
));
3396 if (SWIG_arg_fail(2)) SWIG_fail
;
3399 arg3
= (double)(SWIG_As_double(obj2
));
3400 if (SWIG_arg_fail(3)) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3404 (arg1
)->SetScale(arg2
,arg3
);
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3409 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3422 (char *) "self", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3427 if (SWIG_arg_fail(1)) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3436 resultobj
= SWIG_From_double((double)(result
));
3444 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
*resultobj
;
3446 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3450 (char *) "self", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3455 if (SWIG_arg_fail(1)) SWIG_fail
;
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 resultobj
= SWIG_From_double((double)(result
));
3472 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3473 PyObject
*resultobj
;
3474 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3481 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3483 if (SWIG_arg_fail(1)) SWIG_fail
;
3486 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3496 wxPoint
* resultptr
;
3497 resultptr
= new wxPoint((wxPoint
&)(result
));
3498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3506 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3507 PyObject
*resultobj
;
3508 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3511 int *arg4
= (int *) 0 ;
3512 int *arg5
= (int *) 0 ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3519 PyObject
* obj2
= 0 ;
3521 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3522 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3523 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3525 if (SWIG_arg_fail(1)) SWIG_fail
;
3527 arg2
= (int)(SWIG_As_int(obj1
));
3528 if (SWIG_arg_fail(2)) SWIG_fail
;
3531 arg3
= (int)(SWIG_As_int(obj2
));
3532 if (SWIG_arg_fail(3)) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3542 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3543 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3544 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3545 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3552 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3557 argc
= PyObject_Length(args
);
3558 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3559 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3574 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3577 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3585 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3593 _v
= SWIG_Check_int(argv
[1]);
3595 _v
= SWIG_Check_int(argv
[2]);
3597 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3603 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3608 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3609 PyObject
*resultobj
;
3610 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3617 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3619 if (SWIG_arg_fail(1)) SWIG_fail
;
3622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 wxPoint
* resultptr
;
3633 resultptr
= new wxPoint((wxPoint
&)(result
));
3634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3642 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3643 PyObject
*resultobj
;
3644 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3647 int *arg4
= (int *) 0 ;
3648 int *arg5
= (int *) 0 ;
3653 PyObject
* obj0
= 0 ;
3654 PyObject
* obj1
= 0 ;
3655 PyObject
* obj2
= 0 ;
3657 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3658 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3659 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3661 if (SWIG_arg_fail(1)) SWIG_fail
;
3663 arg2
= (int)(SWIG_As_int(obj1
));
3664 if (SWIG_arg_fail(2)) SWIG_fail
;
3667 arg3
= (int)(SWIG_As_int(obj2
));
3668 if (SWIG_arg_fail(3)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 Py_INCREF(Py_None
); resultobj
= Py_None
;
3678 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3679 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3680 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3681 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3688 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3693 argc
= PyObject_Length(args
);
3694 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3695 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3701 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3710 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3713 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3721 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3729 _v
= SWIG_Check_int(argv
[1]);
3731 _v
= SWIG_Check_int(argv
[2]);
3733 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3739 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3744 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "self", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3754 if (SWIG_arg_fail(1)) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 (arg1
)->AdjustScrollbars();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 Py_INCREF(Py_None
); resultobj
= Py_None
;
3769 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3772 wxScrollWinEvent
*arg2
= 0 ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3777 (char *) "self",(char *) "event", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3782 if (SWIG_arg_fail(1)) SWIG_fail
;
3784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3785 if (SWIG_arg_fail(2)) SWIG_fail
;
3787 SWIG_null_ref("wxScrollWinEvent");
3789 if (SWIG_arg_fail(2)) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= SWIG_From_int((int)(result
));
3807 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3810 wxWindow
*arg2
= (wxWindow
*) 0 ;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3814 (char *) "self",(char *) "target", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3819 if (SWIG_arg_fail(1)) SWIG_fail
;
3820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3821 if (SWIG_arg_fail(2)) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 (arg1
)->SetTargetWindow(arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3836 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3847 if (SWIG_arg_fail(1)) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= wxPyMake_wxObject(result
, 0);
3864 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3872 (char *) "self",(char *) "rect", NULL
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3877 if (SWIG_arg_fail(1)) SWIG_fail
;
3880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 Py_INCREF(Py_None
); resultobj
= Py_None
;
3896 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3900 PyObject
* obj0
= 0 ;
3902 (char *) "self", NULL
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3907 if (SWIG_arg_fail(1)) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3917 resultptr
= new wxRect((wxRect
&)(result
));
3918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3926 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3928 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3930 PyObject
* obj0
= 0 ;
3931 PyObject
* obj1
= 0 ;
3933 (char *) "self",(char *) "dc", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3938 if (SWIG_arg_fail(1)) SWIG_fail
;
3940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3941 if (SWIG_arg_fail(2)) SWIG_fail
;
3943 SWIG_null_ref("wxDC");
3945 if (SWIG_arg_fail(2)) SWIG_fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 (arg1
)->DoPrepareDC(*arg2
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 Py_INCREF(Py_None
); resultobj
= Py_None
;
3961 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3964 wxVisualAttributes result
;
3965 PyObject
* obj0
= 0 ;
3967 (char *) "variant", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3973 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3974 if (SWIG_arg_fail(1)) SWIG_fail
;
3978 if (!wxPyCheckForApp()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3986 wxVisualAttributes
* resultptr
;
3987 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3988 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3996 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3999 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4001 return Py_BuildValue((char *)"");
4003 static int _wrap_FrameNameStr_set(PyObject
*) {
4004 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4009 static PyObject
*_wrap_FrameNameStr_get(void) {
4014 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4016 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4023 static int _wrap_DialogNameStr_set(PyObject
*) {
4024 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4029 static PyObject
*_wrap_DialogNameStr_get(void) {
4034 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4036 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4043 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4044 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4049 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4054 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4056 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4063 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4064 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4069 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4074 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4076 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4083 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4086 bool arg2
= (bool) true ;
4087 PyObject
* obj0
= 0 ;
4088 PyObject
* obj1
= 0 ;
4090 (char *) "self",(char *) "maximize", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4095 if (SWIG_arg_fail(1)) SWIG_fail
;
4098 arg2
= (bool)(SWIG_As_bool(obj1
));
4099 if (SWIG_arg_fail(2)) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 (arg1
)->Maximize(arg2
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 Py_INCREF(Py_None
); resultobj
= Py_None
;
4116 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4119 PyObject
* obj0
= 0 ;
4121 (char *) "self", NULL
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4126 if (SWIG_arg_fail(1)) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 Py_INCREF(Py_None
); resultobj
= Py_None
;
4141 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
*resultobj
;
4143 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4144 bool arg2
= (bool) true ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4148 (char *) "self",(char *) "iconize", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4153 if (SWIG_arg_fail(1)) SWIG_fail
;
4156 arg2
= (bool)(SWIG_As_bool(obj1
));
4157 if (SWIG_arg_fail(2)) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 (arg1
)->Iconize(arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4180 (char *) "self", NULL
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4185 if (SWIG_arg_fail(1)) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4202 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4208 (char *) "self", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4213 if (SWIG_arg_fail(1)) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4230 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4241 if (SWIG_arg_fail(1)) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4251 resultptr
= new wxIcon((wxIcon
&)(result
));
4252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4260 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4267 (char *) "self",(char *) "icon", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4272 if (SWIG_arg_fail(1)) SWIG_fail
;
4274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4275 if (SWIG_arg_fail(2)) SWIG_fail
;
4277 SWIG_null_ref("wxIcon");
4279 if (SWIG_arg_fail(2)) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 Py_INCREF(Py_None
); resultobj
= Py_None
;
4295 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4298 wxIconBundle
*arg2
= 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "icons", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4307 if (SWIG_arg_fail(1)) SWIG_fail
;
4309 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4310 if (SWIG_arg_fail(2)) SWIG_fail
;
4312 SWIG_null_ref("wxIconBundle");
4314 if (SWIG_arg_fail(2)) SWIG_fail
;
4317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4318 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 Py_INCREF(Py_None
); resultobj
= Py_None
;
4330 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
;
4332 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4334 long arg3
= (long) wxFULLSCREEN_ALL
;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4338 PyObject
* obj2
= 0 ;
4340 (char *) "self",(char *) "show",(char *) "style", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail
;
4347 arg2
= (bool)(SWIG_As_bool(obj1
));
4348 if (SWIG_arg_fail(2)) SWIG_fail
;
4352 arg3
= (long)(SWIG_As_long(obj2
));
4353 if (SWIG_arg_fail(3)) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4372 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4376 PyObject
* obj0
= 0 ;
4378 (char *) "self", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4383 if (SWIG_arg_fail(1)) SWIG_fail
;
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4388 wxPyEndAllowThreads(__tstate
);
4389 if (PyErr_Occurred()) SWIG_fail
;
4392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4400 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4402 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4403 wxString
*arg2
= 0 ;
4404 bool temp2
= false ;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4408 (char *) "self",(char *) "title", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4413 if (SWIG_arg_fail(1)) SWIG_fail
;
4415 arg2
= wxString_in_helper(obj1
);
4416 if (arg2
== NULL
) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 (arg1
)->SetTitle((wxString
const &)*arg2
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4445 PyObject
* obj0
= 0 ;
4447 (char *) "self", NULL
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4452 if (SWIG_arg_fail(1)) SWIG_fail
;
4454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4455 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4457 wxPyEndAllowThreads(__tstate
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4473 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4476 wxRegion
*arg2
= 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4481 (char *) "self",(char *) "region", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4486 if (SWIG_arg_fail(1)) SWIG_fail
;
4488 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4489 if (SWIG_arg_fail(2)) SWIG_fail
;
4491 SWIG_null_ref("wxRegion");
4493 if (SWIG_arg_fail(2)) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4511 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4514 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4515 PyObject
* obj0
= 0 ;
4516 PyObject
* obj1
= 0 ;
4518 (char *) "self",(char *) "flags", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4523 if (SWIG_arg_fail(1)) SWIG_fail
;
4526 arg2
= (int)(SWIG_As_int(obj1
));
4527 if (SWIG_arg_fail(2)) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4532 (arg1
)->RequestUserAttention(arg2
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 Py_INCREF(Py_None
); resultobj
= Py_None
;
4544 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4548 PyObject
* obj0
= 0 ;
4550 (char *) "self", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4555 if (SWIG_arg_fail(1)) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (bool)(arg1
)->IsActive();
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4572 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4577 PyObject
* obj1
= 0 ;
4579 (char *) "self",(char *) "on", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail
;
4586 arg2
= (bool)(SWIG_As_bool(obj1
));
4587 if (SWIG_arg_fail(2)) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 (arg1
)->MacSetMetalAppearance(arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4631 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4634 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4636 return Py_BuildValue((char *)"");
4638 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxWindow
*arg1
= (wxWindow
*) 0 ;
4641 int arg2
= (int) (int)-1 ;
4642 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4643 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4644 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4645 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4646 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4647 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4648 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4649 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4650 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4652 bool temp3
= false ;
4655 bool temp7
= false ;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4658 PyObject
* obj2
= 0 ;
4659 PyObject
* obj3
= 0 ;
4660 PyObject
* obj4
= 0 ;
4661 PyObject
* obj5
= 0 ;
4662 PyObject
* obj6
= 0 ;
4664 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4669 if (SWIG_arg_fail(1)) SWIG_fail
;
4672 arg2
= (int const)(SWIG_As_int(obj1
));
4673 if (SWIG_arg_fail(2)) SWIG_fail
;
4678 arg3
= wxString_in_helper(obj2
);
4679 if (arg3
== NULL
) SWIG_fail
;
4686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4697 arg6
= (long)(SWIG_As_long(obj5
));
4698 if (SWIG_arg_fail(6)) SWIG_fail
;
4703 arg7
= wxString_in_helper(obj6
);
4704 if (arg7
== NULL
) SWIG_fail
;
4709 if (!wxPyCheckForApp()) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4739 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4748 if (!wxPyCheckForApp()) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (wxFrame
*)new wxFrame();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4762 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxFrame
*arg1
= (wxFrame
*) 0 ;
4765 wxWindow
*arg2
= (wxWindow
*) 0 ;
4766 int arg3
= (int) (int)-1 ;
4767 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4768 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4769 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4770 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4771 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4772 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4773 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4774 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4775 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4777 bool temp4
= false ;
4780 bool temp8
= false ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 PyObject
* obj3
= 0 ;
4785 PyObject
* obj4
= 0 ;
4786 PyObject
* obj5
= 0 ;
4787 PyObject
* obj6
= 0 ;
4788 PyObject
* obj7
= 0 ;
4790 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4795 if (SWIG_arg_fail(1)) SWIG_fail
;
4796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4797 if (SWIG_arg_fail(2)) SWIG_fail
;
4800 arg3
= (int const)(SWIG_As_int(obj2
));
4801 if (SWIG_arg_fail(3)) SWIG_fail
;
4806 arg4
= wxString_in_helper(obj3
);
4807 if (arg4
== NULL
) SWIG_fail
;
4814 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4820 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4825 arg7
= (long)(SWIG_As_long(obj6
));
4826 if (SWIG_arg_fail(7)) SWIG_fail
;
4831 arg8
= wxString_in_helper(obj7
);
4832 if (arg8
== NULL
) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4868 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxFrame
*arg1
= (wxFrame
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4874 (char *) "self", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4879 if (SWIG_arg_fail(1)) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4888 wxPoint
* resultptr
;
4889 resultptr
= new wxPoint((wxPoint
&)(result
));
4890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4898 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxFrame
*arg1
= (wxFrame
*) 0 ;
4901 PyObject
* obj0
= 0 ;
4903 (char *) "self", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4908 if (SWIG_arg_fail(1)) SWIG_fail
;
4910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4911 (arg1
)->SendSizeEvent();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 Py_INCREF(Py_None
); resultobj
= Py_None
;
4923 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4924 PyObject
*resultobj
;
4925 wxFrame
*arg1
= (wxFrame
*) 0 ;
4926 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4927 PyObject
* obj0
= 0 ;
4928 PyObject
* obj1
= 0 ;
4930 (char *) "self",(char *) "menubar", NULL
4933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4935 if (SWIG_arg_fail(1)) SWIG_fail
;
4936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4937 if (SWIG_arg_fail(2)) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->SetMenuBar(arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxFrame
*arg1
= (wxFrame
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4958 (char *) "self", NULL
4961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4963 if (SWIG_arg_fail(1)) SWIG_fail
;
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4968 wxPyEndAllowThreads(__tstate
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= wxPyMake_wxObject(result
, 0);
4980 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4982 wxFrame
*arg1
= (wxFrame
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4988 (char *) "self",(char *) "winid", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4993 if (SWIG_arg_fail(1)) SWIG_fail
;
4995 arg2
= (int)(SWIG_As_int(obj1
));
4996 if (SWIG_arg_fail(2)) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5014 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
;
5016 wxFrame
*arg1
= (wxFrame
*) 0 ;
5017 int arg2
= (int) 1 ;
5018 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5019 int arg4
= (int) 0 ;
5020 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5021 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5022 wxStatusBar
*result
;
5023 bool temp5
= false ;
5024 PyObject
* obj0
= 0 ;
5025 PyObject
* obj1
= 0 ;
5026 PyObject
* obj2
= 0 ;
5027 PyObject
* obj3
= 0 ;
5028 PyObject
* obj4
= 0 ;
5030 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5035 if (SWIG_arg_fail(1)) SWIG_fail
;
5038 arg2
= (int)(SWIG_As_int(obj1
));
5039 if (SWIG_arg_fail(2)) SWIG_fail
;
5044 arg3
= (long)(SWIG_As_long(obj2
));
5045 if (SWIG_arg_fail(3)) SWIG_fail
;
5050 arg4
= (int)(SWIG_As_int(obj3
));
5051 if (SWIG_arg_fail(4)) SWIG_fail
;
5056 arg5
= wxString_in_helper(obj4
);
5057 if (arg5
== NULL
) SWIG_fail
;
5062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5063 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= wxPyMake_wxObject(result
, 0);
5085 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxFrame
*arg1
= (wxFrame
*) 0 ;
5088 wxStatusBar
*result
;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "self", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= wxPyMake_wxObject(result
, 0);
5113 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxFrame
*arg1
= (wxFrame
*) 0 ;
5116 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "self",(char *) "statBar", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail
;
5126 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5127 if (SWIG_arg_fail(2)) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 (arg1
)->SetStatusBar(arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 Py_INCREF(Py_None
); resultobj
= Py_None
;
5142 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxFrame
*arg1
= (wxFrame
*) 0 ;
5145 wxString
*arg2
= 0 ;
5146 int arg3
= (int) 0 ;
5147 bool temp2
= false ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5150 PyObject
* obj2
= 0 ;
5152 (char *) "self",(char *) "text",(char *) "number", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail
;
5159 arg2
= wxString_in_helper(obj1
);
5160 if (arg2
== NULL
) SWIG_fail
;
5165 arg3
= (int)(SWIG_As_int(obj2
));
5166 if (SWIG_arg_fail(3)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 Py_INCREF(Py_None
); resultobj
= Py_None
;
5191 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5192 PyObject
*resultobj
;
5193 wxFrame
*arg1
= (wxFrame
*) 0 ;
5195 int *arg3
= (int *) 0 ;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5199 (char *) "self",(char *) "widths", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5204 if (SWIG_arg_fail(1)) SWIG_fail
;
5206 arg2
= PyList_Size(obj1
);
5207 arg3
= int_LIST_helper(obj1
);
5208 if (arg3
== NULL
) SWIG_fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 Py_INCREF(Py_None
); resultobj
= Py_None
;
5219 if (arg3
) delete [] arg3
;
5224 if (arg3
) delete [] arg3
;
5230 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5231 PyObject
*resultobj
;
5232 wxFrame
*arg1
= (wxFrame
*) 0 ;
5233 wxString
*arg2
= 0 ;
5234 int arg3
= (int) 0 ;
5235 bool temp2
= false ;
5236 PyObject
* obj0
= 0 ;
5237 PyObject
* obj1
= 0 ;
5238 PyObject
* obj2
= 0 ;
5240 (char *) "self",(char *) "text",(char *) "number", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5245 if (SWIG_arg_fail(1)) SWIG_fail
;
5247 arg2
= wxString_in_helper(obj1
);
5248 if (arg2
== NULL
) SWIG_fail
;
5253 arg3
= (int)(SWIG_As_int(obj2
));
5254 if (SWIG_arg_fail(3)) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5279 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxFrame
*arg1
= (wxFrame
*) 0 ;
5282 int arg2
= (int) 0 ;
5283 PyObject
* obj0
= 0 ;
5284 PyObject
* obj1
= 0 ;
5286 (char *) "self",(char *) "number", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5291 if (SWIG_arg_fail(1)) SWIG_fail
;
5294 arg2
= (int)(SWIG_As_int(obj1
));
5295 if (SWIG_arg_fail(2)) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 (arg1
)->PopStatusText(arg2
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 Py_INCREF(Py_None
); resultobj
= Py_None
;
5312 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 wxFrame
*arg1
= (wxFrame
*) 0 ;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5319 (char *) "self",(char *) "n", NULL
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5324 if (SWIG_arg_fail(1)) SWIG_fail
;
5326 arg2
= (int)(SWIG_As_int(obj1
));
5327 if (SWIG_arg_fail(2)) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 (arg1
)->SetStatusBarPane(arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxFrame
*arg1
= (wxFrame
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5349 (char *) "self", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5354 if (SWIG_arg_fail(1)) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= SWIG_From_int((int)(result
));
5371 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxFrame
*arg1
= (wxFrame
*) 0 ;
5374 long arg2
= (long) -1 ;
5375 int arg3
= (int) -1 ;
5376 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5377 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5379 bool temp4
= false ;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5382 PyObject
* obj2
= 0 ;
5383 PyObject
* obj3
= 0 ;
5385 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5390 if (SWIG_arg_fail(1)) SWIG_fail
;
5393 arg2
= (long)(SWIG_As_long(obj1
));
5394 if (SWIG_arg_fail(2)) SWIG_fail
;
5399 arg3
= (int)(SWIG_As_int(obj2
));
5400 if (SWIG_arg_fail(3)) SWIG_fail
;
5405 arg4
= wxString_in_helper(obj3
);
5406 if (arg4
== NULL
) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= wxPyMake_wxObject(result
, 0);
5434 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxFrame
*arg1
= (wxFrame
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5440 (char *) "self", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5445 if (SWIG_arg_fail(1)) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= wxPyMake_wxObject(result
, 0);
5462 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxFrame
*arg1
= (wxFrame
*) 0 ;
5465 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5467 PyObject
* obj1
= 0 ;
5469 (char *) "self",(char *) "toolbar", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5474 if (SWIG_arg_fail(1)) SWIG_fail
;
5475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5476 if (SWIG_arg_fail(2)) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 (arg1
)->SetToolBar(arg2
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 Py_INCREF(Py_None
); resultobj
= Py_None
;
5491 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 wxFrame
*arg1
= (wxFrame
*) 0 ;
5494 wxString
*arg2
= 0 ;
5496 bool temp2
= false ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5499 PyObject
* obj2
= 0 ;
5501 (char *) "self",(char *) "text",(char *) "show", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5506 if (SWIG_arg_fail(1)) SWIG_fail
;
5508 arg2
= wxString_in_helper(obj1
);
5509 if (arg2
== NULL
) SWIG_fail
;
5513 arg3
= (bool)(SWIG_As_bool(obj2
));
5514 if (SWIG_arg_fail(3)) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxFrame
*arg1
= (wxFrame
*) 0 ;
5541 wxMenu
*arg2
= (wxMenu
*) NULL
;
5542 PyObject
* obj0
= 0 ;
5543 PyObject
* obj1
= 0 ;
5545 (char *) "self",(char *) "menu", NULL
5548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5550 if (SWIG_arg_fail(1)) SWIG_fail
;
5552 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5553 if (SWIG_arg_fail(2)) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 (arg1
)->DoMenuUpdates(arg2
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 Py_INCREF(Py_None
); resultobj
= Py_None
;
5569 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5572 wxVisualAttributes result
;
5573 PyObject
* obj0
= 0 ;
5575 (char *) "variant", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5581 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5582 if (SWIG_arg_fail(1)) SWIG_fail
;
5586 if (!wxPyCheckForApp()) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5594 wxVisualAttributes
* resultptr
;
5595 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5604 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5607 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5609 return Py_BuildValue((char *)"");
5611 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxWindow
*arg1
= (wxWindow
*) 0 ;
5614 int arg2
= (int) (int)-1 ;
5615 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5616 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5617 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5618 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5619 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5620 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5621 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5622 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5623 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5625 bool temp3
= false ;
5628 bool temp7
= false ;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5631 PyObject
* obj2
= 0 ;
5632 PyObject
* obj3
= 0 ;
5633 PyObject
* obj4
= 0 ;
5634 PyObject
* obj5
= 0 ;
5635 PyObject
* obj6
= 0 ;
5637 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5642 if (SWIG_arg_fail(1)) SWIG_fail
;
5645 arg2
= (int const)(SWIG_As_int(obj1
));
5646 if (SWIG_arg_fail(2)) SWIG_fail
;
5651 arg3
= wxString_in_helper(obj2
);
5652 if (arg3
== NULL
) SWIG_fail
;
5659 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5665 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5670 arg6
= (long)(SWIG_As_long(obj5
));
5671 if (SWIG_arg_fail(6)) SWIG_fail
;
5676 arg7
= wxString_in_helper(obj6
);
5677 if (arg7
== NULL
) SWIG_fail
;
5682 if (!wxPyCheckForApp()) SWIG_fail
;
5683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5686 wxPyEndAllowThreads(__tstate
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5712 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5721 if (!wxPyCheckForApp()) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (wxDialog
*)new wxDialog();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5735 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxDialog
*arg1
= (wxDialog
*) 0 ;
5738 wxWindow
*arg2
= (wxWindow
*) 0 ;
5739 int arg3
= (int) (int)-1 ;
5740 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5741 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5742 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5743 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5744 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5745 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5746 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5747 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5748 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5750 bool temp4
= false ;
5753 bool temp8
= false ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5756 PyObject
* obj2
= 0 ;
5757 PyObject
* obj3
= 0 ;
5758 PyObject
* obj4
= 0 ;
5759 PyObject
* obj5
= 0 ;
5760 PyObject
* obj6
= 0 ;
5761 PyObject
* obj7
= 0 ;
5763 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5768 if (SWIG_arg_fail(1)) SWIG_fail
;
5769 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5770 if (SWIG_arg_fail(2)) SWIG_fail
;
5773 arg3
= (int const)(SWIG_As_int(obj2
));
5774 if (SWIG_arg_fail(3)) SWIG_fail
;
5779 arg4
= wxString_in_helper(obj3
);
5780 if (arg4
== NULL
) SWIG_fail
;
5787 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5793 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5798 arg7
= (long)(SWIG_As_long(obj6
));
5799 if (SWIG_arg_fail(7)) SWIG_fail
;
5804 arg8
= wxString_in_helper(obj7
);
5805 if (arg8
== NULL
) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5841 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxDialog
*arg1
= (wxDialog
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5848 (char *) "self",(char *) "returnCode", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5853 if (SWIG_arg_fail(1)) SWIG_fail
;
5855 arg2
= (int)(SWIG_As_int(obj1
));
5856 if (SWIG_arg_fail(2)) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 (arg1
)->SetReturnCode(arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5865 Py_INCREF(Py_None
); resultobj
= Py_None
;
5872 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
*resultobj
;
5874 wxDialog
*arg1
= (wxDialog
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5883 if (SWIG_arg_fail(1)) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_From_int((int)(result
));
5900 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5901 PyObject
*resultobj
;
5902 wxDialog
*arg1
= (wxDialog
*) 0 ;
5903 wxString
*arg2
= 0 ;
5905 bool temp2
= false ;
5906 PyObject
* obj0
= 0 ;
5907 PyObject
* obj1
= 0 ;
5909 (char *) "self",(char *) "message", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5914 if (SWIG_arg_fail(1)) SWIG_fail
;
5916 arg2
= wxString_in_helper(obj1
);
5917 if (arg2
== NULL
) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= wxPyMake_wxObject(result
, 0);
5944 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
;
5946 wxDialog
*arg1
= (wxDialog
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5950 PyObject
* obj1
= 0 ;
5952 (char *) "self",(char *) "flags", NULL
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5957 if (SWIG_arg_fail(1)) SWIG_fail
;
5959 arg2
= (long)(SWIG_As_long(obj1
));
5960 if (SWIG_arg_fail(2)) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= wxPyMake_wxObject(result
, 0);
5978 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxDialog
*arg1
= (wxDialog
*) 0 ;
5982 wxStdDialogButtonSizer
*result
;
5983 PyObject
* obj0
= 0 ;
5984 PyObject
* obj1
= 0 ;
5986 (char *) "self",(char *) "flags", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5991 if (SWIG_arg_fail(1)) SWIG_fail
;
5993 arg2
= (long)(SWIG_As_long(obj1
));
5994 if (SWIG_arg_fail(2)) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6010 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxDialog
*arg1
= (wxDialog
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6021 if (SWIG_arg_fail(1)) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6038 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxDialog
*arg1
= (wxDialog
*) 0 ;
6042 PyObject
* obj0
= 0 ;
6044 (char *) "self", NULL
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6049 if (SWIG_arg_fail(1)) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 result
= (int)(arg1
)->ShowModal();
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= SWIG_From_int((int)(result
));
6066 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxDialog
*arg1
= (wxDialog
*) 0 ;
6070 PyObject
* obj0
= 0 ;
6071 PyObject
* obj1
= 0 ;
6073 (char *) "self",(char *) "retCode", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6078 if (SWIG_arg_fail(1)) SWIG_fail
;
6080 arg2
= (int)(SWIG_As_int(obj1
));
6081 if (SWIG_arg_fail(2)) SWIG_fail
;
6084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 (arg1
)->EndModal(arg2
);
6087 wxPyEndAllowThreads(__tstate
);
6088 if (PyErr_Occurred()) SWIG_fail
;
6090 Py_INCREF(Py_None
); resultobj
= Py_None
;
6097 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
*resultobj
;
6099 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6100 wxVisualAttributes result
;
6101 PyObject
* obj0
= 0 ;
6103 (char *) "variant", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6109 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6110 if (SWIG_arg_fail(1)) SWIG_fail
;
6114 if (!wxPyCheckForApp()) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 wxVisualAttributes
* resultptr
;
6123 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6132 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6135 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6137 return Py_BuildValue((char *)"");
6139 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxWindow
*arg1
= (wxWindow
*) 0 ;
6142 int arg2
= (int) (int)-1 ;
6143 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6144 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6145 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6146 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6147 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6148 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6149 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6150 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6151 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6152 wxMiniFrame
*result
;
6153 bool temp3
= false ;
6156 bool temp7
= false ;
6157 PyObject
* obj0
= 0 ;
6158 PyObject
* obj1
= 0 ;
6159 PyObject
* obj2
= 0 ;
6160 PyObject
* obj3
= 0 ;
6161 PyObject
* obj4
= 0 ;
6162 PyObject
* obj5
= 0 ;
6163 PyObject
* obj6
= 0 ;
6165 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6170 if (SWIG_arg_fail(1)) SWIG_fail
;
6173 arg2
= (int const)(SWIG_As_int(obj1
));
6174 if (SWIG_arg_fail(2)) SWIG_fail
;
6179 arg3
= wxString_in_helper(obj2
);
6180 if (arg3
== NULL
) SWIG_fail
;
6187 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6193 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6198 arg6
= (long)(SWIG_As_long(obj5
));
6199 if (SWIG_arg_fail(6)) SWIG_fail
;
6204 arg7
= wxString_in_helper(obj6
);
6205 if (arg7
== NULL
) SWIG_fail
;
6210 if (!wxPyCheckForApp()) SWIG_fail
;
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6240 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxMiniFrame
*result
;
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6249 if (!wxPyCheckForApp()) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= (wxMiniFrame
*)new wxMiniFrame();
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6263 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6266 wxWindow
*arg2
= (wxWindow
*) 0 ;
6267 int arg3
= (int) (int)-1 ;
6268 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6269 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6270 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6271 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6272 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6273 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6274 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6275 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6276 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6278 bool temp4
= false ;
6281 bool temp8
= false ;
6282 PyObject
* obj0
= 0 ;
6283 PyObject
* obj1
= 0 ;
6284 PyObject
* obj2
= 0 ;
6285 PyObject
* obj3
= 0 ;
6286 PyObject
* obj4
= 0 ;
6287 PyObject
* obj5
= 0 ;
6288 PyObject
* obj6
= 0 ;
6289 PyObject
* obj7
= 0 ;
6291 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6296 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6298 if (SWIG_arg_fail(2)) SWIG_fail
;
6301 arg3
= (int const)(SWIG_As_int(obj2
));
6302 if (SWIG_arg_fail(3)) SWIG_fail
;
6307 arg4
= wxString_in_helper(obj3
);
6308 if (arg4
== NULL
) SWIG_fail
;
6315 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6321 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6326 arg7
= (long)(SWIG_As_long(obj6
));
6327 if (SWIG_arg_fail(7)) SWIG_fail
;
6332 arg8
= wxString_in_helper(obj7
);
6333 if (arg8
== NULL
) SWIG_fail
;
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6369 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6372 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6374 return Py_BuildValue((char *)"");
6376 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxBitmap
*arg1
= 0 ;
6379 wxWindow
*arg2
= (wxWindow
*) 0 ;
6381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6385 long arg6
= (long) wxNO_BORDER
;
6386 wxSplashScreenWindow
*result
;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6391 PyObject
* obj2
= 0 ;
6392 PyObject
* obj3
= 0 ;
6393 PyObject
* obj4
= 0 ;
6394 PyObject
* obj5
= 0 ;
6396 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6402 if (SWIG_arg_fail(1)) SWIG_fail
;
6404 SWIG_null_ref("wxBitmap");
6406 if (SWIG_arg_fail(1)) SWIG_fail
;
6408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6409 if (SWIG_arg_fail(2)) SWIG_fail
;
6411 arg3
= (int)(SWIG_As_int(obj2
));
6412 if (SWIG_arg_fail(3)) SWIG_fail
;
6417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6423 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6428 arg6
= (long)(SWIG_As_long(obj5
));
6429 if (SWIG_arg_fail(6)) SWIG_fail
;
6433 if (!wxPyCheckForApp()) SWIG_fail
;
6434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6435 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6447 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6450 wxBitmap
*arg2
= 0 ;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6454 (char *) "self",(char *) "bitmap", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6459 if (SWIG_arg_fail(1)) SWIG_fail
;
6461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6462 if (SWIG_arg_fail(2)) SWIG_fail
;
6464 SWIG_null_ref("wxBitmap");
6466 if (SWIG_arg_fail(2)) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 Py_INCREF(Py_None
); resultobj
= Py_None
;
6482 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6486 PyObject
* obj0
= 0 ;
6488 (char *) "self", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6493 if (SWIG_arg_fail(1)) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6498 result
= (wxBitmap
*) &_result_ref
;
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6505 wxBitmap
* resultptr
= new wxBitmap(*result
);
6506 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6514 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6517 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6519 return Py_BuildValue((char *)"");
6521 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxBitmap
*arg1
= 0 ;
6526 wxWindow
*arg4
= (wxWindow
*) 0 ;
6527 int arg5
= (int) -1 ;
6528 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6529 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6530 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6531 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6532 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6533 wxSplashScreen
*result
;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 PyObject
* obj2
= 0 ;
6539 PyObject
* obj3
= 0 ;
6540 PyObject
* obj4
= 0 ;
6541 PyObject
* obj5
= 0 ;
6542 PyObject
* obj6
= 0 ;
6543 PyObject
* obj7
= 0 ;
6545 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6551 if (SWIG_arg_fail(1)) SWIG_fail
;
6553 SWIG_null_ref("wxBitmap");
6555 if (SWIG_arg_fail(1)) SWIG_fail
;
6558 arg2
= (long)(SWIG_As_long(obj1
));
6559 if (SWIG_arg_fail(2)) SWIG_fail
;
6562 arg3
= (int)(SWIG_As_int(obj2
));
6563 if (SWIG_arg_fail(3)) SWIG_fail
;
6565 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6566 if (SWIG_arg_fail(4)) SWIG_fail
;
6569 arg5
= (int)(SWIG_As_int(obj4
));
6570 if (SWIG_arg_fail(5)) SWIG_fail
;
6576 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6582 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6587 arg8
= (long)(SWIG_As_long(obj7
));
6588 if (SWIG_arg_fail(8)) SWIG_fail
;
6592 if (!wxPyCheckForApp()) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6606 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6612 (char *) "self", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6617 if (SWIG_arg_fail(1)) SWIG_fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_From_long((long)(result
));
6634 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6637 wxSplashScreenWindow
*result
;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "self", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6645 if (SWIG_arg_fail(1)) SWIG_fail
;
6647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6648 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6650 wxPyEndAllowThreads(__tstate
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6660 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6666 (char *) "self", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6671 if (SWIG_arg_fail(1)) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6680 resultobj
= SWIG_From_int((int)(result
));
6688 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6691 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6693 return Py_BuildValue((char *)"");
6695 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxWindow
*arg1
= (wxWindow
*) 0 ;
6698 int arg2
= (int) -1 ;
6699 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6700 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6701 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6702 wxStatusBar
*result
;
6703 bool temp4
= false ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6706 PyObject
* obj2
= 0 ;
6707 PyObject
* obj3
= 0 ;
6709 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6714 if (SWIG_arg_fail(1)) SWIG_fail
;
6717 arg2
= (int)(SWIG_As_int(obj1
));
6718 if (SWIG_arg_fail(2)) SWIG_fail
;
6723 arg3
= (long)(SWIG_As_long(obj2
));
6724 if (SWIG_arg_fail(3)) SWIG_fail
;
6729 arg4
= wxString_in_helper(obj3
);
6730 if (arg4
== NULL
) SWIG_fail
;
6735 if (!wxPyCheckForApp()) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6757 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxStatusBar
*result
;
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6766 if (!wxPyCheckForApp()) SWIG_fail
;
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 result
= (wxStatusBar
*)new wxStatusBar();
6770 wxPyEndAllowThreads(__tstate
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6780 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6783 wxWindow
*arg2
= (wxWindow
*) 0 ;
6784 int arg3
= (int) -1 ;
6785 long arg4
= (long) wxST_SIZEGRIP
;
6786 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6787 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6789 bool temp5
= false ;
6790 PyObject
* obj0
= 0 ;
6791 PyObject
* obj1
= 0 ;
6792 PyObject
* obj2
= 0 ;
6793 PyObject
* obj3
= 0 ;
6794 PyObject
* obj4
= 0 ;
6796 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6801 if (SWIG_arg_fail(1)) SWIG_fail
;
6802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6803 if (SWIG_arg_fail(2)) SWIG_fail
;
6806 arg3
= (int)(SWIG_As_int(obj2
));
6807 if (SWIG_arg_fail(3)) SWIG_fail
;
6812 arg4
= (long)(SWIG_As_long(obj3
));
6813 if (SWIG_arg_fail(4)) SWIG_fail
;
6818 arg5
= wxString_in_helper(obj4
);
6819 if (arg5
== NULL
) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6847 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6849 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6850 int arg2
= (int) 1 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "number", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail
;
6862 arg2
= (int)(SWIG_As_int(obj1
));
6863 if (SWIG_arg_fail(2)) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 (arg1
)->SetFieldsCount(arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 Py_INCREF(Py_None
); resultobj
= Py_None
;
6880 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6886 (char *) "self", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6891 if (SWIG_arg_fail(1)) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_From_int((int)(result
));
6908 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6911 wxString
*arg2
= 0 ;
6912 int arg3
= (int) 0 ;
6913 bool temp2
= false ;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6916 PyObject
* obj2
= 0 ;
6918 (char *) "self",(char *) "text",(char *) "number", NULL
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6923 if (SWIG_arg_fail(1)) SWIG_fail
;
6925 arg2
= wxString_in_helper(obj1
);
6926 if (arg2
== NULL
) SWIG_fail
;
6931 arg3
= (int)(SWIG_As_int(obj2
));
6932 if (SWIG_arg_fail(3)) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6942 Py_INCREF(Py_None
); resultobj
= Py_None
;
6957 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6960 int arg2
= (int) 0 ;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6965 (char *) "self",(char *) "number", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6970 if (SWIG_arg_fail(1)) SWIG_fail
;
6973 arg2
= (int)(SWIG_As_int(obj1
));
6974 if (SWIG_arg_fail(2)) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6997 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7000 wxString
*arg2
= 0 ;
7001 int arg3
= (int) 0 ;
7002 bool temp2
= false ;
7003 PyObject
* obj0
= 0 ;
7004 PyObject
* obj1
= 0 ;
7005 PyObject
* obj2
= 0 ;
7007 (char *) "self",(char *) "text",(char *) "number", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7012 if (SWIG_arg_fail(1)) SWIG_fail
;
7014 arg2
= wxString_in_helper(obj1
);
7015 if (arg2
== NULL
) SWIG_fail
;
7020 arg3
= (int)(SWIG_As_int(obj2
));
7021 if (SWIG_arg_fail(3)) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 Py_INCREF(Py_None
); resultobj
= Py_None
;
7046 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7049 int arg2
= (int) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7053 (char *) "self",(char *) "number", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7058 if (SWIG_arg_fail(1)) SWIG_fail
;
7061 arg2
= (int)(SWIG_As_int(obj1
));
7062 if (SWIG_arg_fail(2)) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 (arg1
)->PopStatusText(arg2
);
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7083 int *arg3
= (int *) 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7087 (char *) "self",(char *) "widths", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7092 if (SWIG_arg_fail(1)) SWIG_fail
;
7094 arg2
= PyList_Size(obj1
);
7095 arg3
= int_LIST_helper(obj1
);
7096 if (arg3
== NULL
) SWIG_fail
;
7099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7100 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7102 wxPyEndAllowThreads(__tstate
);
7103 if (PyErr_Occurred()) SWIG_fail
;
7105 Py_INCREF(Py_None
); resultobj
= Py_None
;
7107 if (arg3
) delete [] arg3
;
7112 if (arg3
) delete [] arg3
;
7118 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7122 int *arg3
= (int *) 0 ;
7123 PyObject
* obj0
= 0 ;
7124 PyObject
* obj1
= 0 ;
7126 (char *) "self",(char *) "styles", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7131 if (SWIG_arg_fail(1)) SWIG_fail
;
7133 arg2
= PyList_Size(obj1
);
7134 arg3
= int_LIST_helper(obj1
);
7135 if (arg3
== NULL
) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7146 if (arg3
) delete [] arg3
;
7151 if (arg3
) delete [] arg3
;
7157 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7162 PyObject
* obj0
= 0 ;
7163 PyObject
* obj1
= 0 ;
7165 (char *) "self",(char *) "i", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7170 if (SWIG_arg_fail(1)) SWIG_fail
;
7172 arg2
= (int)(SWIG_As_int(obj1
));
7173 if (SWIG_arg_fail(2)) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7184 resultptr
= new wxRect((wxRect
&)(result
));
7185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7193 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7200 (char *) "self",(char *) "height", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7205 if (SWIG_arg_fail(1)) SWIG_fail
;
7207 arg2
= (int)(SWIG_As_int(obj1
));
7208 if (SWIG_arg_fail(2)) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 (arg1
)->SetMinHeight(arg2
);
7214 wxPyEndAllowThreads(__tstate
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 Py_INCREF(Py_None
); resultobj
= Py_None
;
7224 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7225 PyObject
*resultobj
;
7226 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "self", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7235 if (SWIG_arg_fail(1)) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_From_int((int)(result
));
7252 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "self", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7263 if (SWIG_arg_fail(1)) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_From_int((int)(result
));
7280 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7283 wxVisualAttributes result
;
7284 PyObject
* obj0
= 0 ;
7286 (char *) "variant", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7292 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7293 if (SWIG_arg_fail(1)) SWIG_fail
;
7297 if (!wxPyCheckForApp()) SWIG_fail
;
7298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7299 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7305 wxVisualAttributes
* resultptr
;
7306 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7315 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7318 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7320 return Py_BuildValue((char *)"");
7322 static int _wrap_SplitterNameStr_set(PyObject
*) {
7323 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7328 static PyObject
*_wrap_SplitterNameStr_get(void) {
7333 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7335 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7342 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxWindow
*arg1
= (wxWindow
*) 0 ;
7345 int arg2
= (int) -1 ;
7346 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7347 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7348 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7349 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7350 long arg5
= (long) wxSP_3D
;
7351 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7352 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7353 wxSplitterWindow
*result
;
7356 bool temp6
= false ;
7357 PyObject
* obj0
= 0 ;
7358 PyObject
* obj1
= 0 ;
7359 PyObject
* obj2
= 0 ;
7360 PyObject
* obj3
= 0 ;
7361 PyObject
* obj4
= 0 ;
7362 PyObject
* obj5
= 0 ;
7364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7369 if (SWIG_arg_fail(1)) SWIG_fail
;
7372 arg2
= (int)(SWIG_As_int(obj1
));
7373 if (SWIG_arg_fail(2)) SWIG_fail
;
7379 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7385 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7390 arg5
= (long)(SWIG_As_long(obj4
));
7391 if (SWIG_arg_fail(5)) SWIG_fail
;
7396 arg6
= wxString_in_helper(obj5
);
7397 if (arg6
== NULL
) SWIG_fail
;
7402 if (!wxPyCheckForApp()) SWIG_fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7424 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxSplitterWindow
*result
;
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7433 if (!wxPyCheckForApp()) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7447 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7450 wxWindow
*arg2
= (wxWindow
*) 0 ;
7451 int arg3
= (int) -1 ;
7452 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7453 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7454 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7455 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7456 long arg6
= (long) wxSP_3D
;
7457 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7458 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7462 bool temp7
= false ;
7463 PyObject
* obj0
= 0 ;
7464 PyObject
* obj1
= 0 ;
7465 PyObject
* obj2
= 0 ;
7466 PyObject
* obj3
= 0 ;
7467 PyObject
* obj4
= 0 ;
7468 PyObject
* obj5
= 0 ;
7469 PyObject
* obj6
= 0 ;
7471 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7476 if (SWIG_arg_fail(1)) SWIG_fail
;
7477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7478 if (SWIG_arg_fail(2)) SWIG_fail
;
7481 arg3
= (int)(SWIG_As_int(obj2
));
7482 if (SWIG_arg_fail(3)) SWIG_fail
;
7488 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7494 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7499 arg6
= (long)(SWIG_As_long(obj5
));
7500 if (SWIG_arg_fail(6)) SWIG_fail
;
7505 arg7
= wxString_in_helper(obj6
);
7506 if (arg7
== NULL
) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7534 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
*resultobj
;
7536 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7538 PyObject
* obj0
= 0 ;
7540 (char *) "self", NULL
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7545 if (SWIG_arg_fail(1)) SWIG_fail
;
7547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7548 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7550 wxPyEndAllowThreads(__tstate
);
7551 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= wxPyMake_wxObject(result
, 0);
7562 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7566 PyObject
* obj0
= 0 ;
7568 (char *) "self", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7573 if (SWIG_arg_fail(1)) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= wxPyMake_wxObject(result
, 0);
7590 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7597 (char *) "self",(char *) "mode", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7602 if (SWIG_arg_fail(1)) SWIG_fail
;
7604 arg2
= (int)(SWIG_As_int(obj1
));
7605 if (SWIG_arg_fail(2)) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 (arg1
)->SetSplitMode(arg2
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 Py_INCREF(Py_None
); resultobj
= Py_None
;
7621 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7632 if (SWIG_arg_fail(1)) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_From_int((result
));
7647 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7650 wxWindow
*arg2
= (wxWindow
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7652 PyObject
* obj1
= 0 ;
7654 (char *) "self",(char *) "window", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail
;
7660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7661 if (SWIG_arg_fail(2)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 (arg1
)->Initialize(arg2
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7679 wxWindow
*arg2
= (wxWindow
*) 0 ;
7680 wxWindow
*arg3
= (wxWindow
*) 0 ;
7681 int arg4
= (int) 0 ;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7685 PyObject
* obj2
= 0 ;
7686 PyObject
* obj3
= 0 ;
7688 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail
;
7694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7695 if (SWIG_arg_fail(2)) SWIG_fail
;
7696 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7697 if (SWIG_arg_fail(3)) SWIG_fail
;
7700 arg4
= (int)(SWIG_As_int(obj3
));
7701 if (SWIG_arg_fail(4)) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7720 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7723 wxWindow
*arg2
= (wxWindow
*) 0 ;
7724 wxWindow
*arg3
= (wxWindow
*) 0 ;
7725 int arg4
= (int) 0 ;
7727 PyObject
* obj0
= 0 ;
7728 PyObject
* obj1
= 0 ;
7729 PyObject
* obj2
= 0 ;
7730 PyObject
* obj3
= 0 ;
7732 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7737 if (SWIG_arg_fail(1)) SWIG_fail
;
7738 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7739 if (SWIG_arg_fail(2)) SWIG_fail
;
7740 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7741 if (SWIG_arg_fail(3)) SWIG_fail
;
7744 arg4
= (int)(SWIG_As_int(obj3
));
7745 if (SWIG_arg_fail(4)) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7764 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7767 wxWindow
*arg2
= (wxWindow
*) NULL
;
7769 PyObject
* obj0
= 0 ;
7770 PyObject
* obj1
= 0 ;
7772 (char *) "self",(char *) "toRemove", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7777 if (SWIG_arg_fail(1)) SWIG_fail
;
7779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7780 if (SWIG_arg_fail(2)) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (bool)(arg1
)->Unsplit(arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7798 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7799 PyObject
*resultobj
;
7800 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7801 wxWindow
*arg2
= (wxWindow
*) 0 ;
7802 wxWindow
*arg3
= (wxWindow
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7805 PyObject
* obj1
= 0 ;
7806 PyObject
* obj2
= 0 ;
7808 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7813 if (SWIG_arg_fail(1)) SWIG_fail
;
7814 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7815 if (SWIG_arg_fail(2)) SWIG_fail
;
7816 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7817 if (SWIG_arg_fail(3)) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7834 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7837 PyObject
* obj0
= 0 ;
7839 (char *) "self", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7844 if (SWIG_arg_fail(1)) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 (arg1
)->UpdateSize();
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 Py_INCREF(Py_None
); resultobj
= Py_None
;
7859 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7865 (char *) "self", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7870 if (SWIG_arg_fail(1)) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7887 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7894 (char *) "self",(char *) "width", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7899 if (SWIG_arg_fail(1)) SWIG_fail
;
7901 arg2
= (int)(SWIG_As_int(obj1
));
7902 if (SWIG_arg_fail(2)) SWIG_fail
;
7905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7906 (arg1
)->SetSashSize(arg2
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 Py_INCREF(Py_None
); resultobj
= Py_None
;
7918 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
;
7920 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7922 PyObject
* obj0
= 0 ;
7923 PyObject
* obj1
= 0 ;
7925 (char *) "self",(char *) "width", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7930 if (SWIG_arg_fail(1)) SWIG_fail
;
7932 arg2
= (int)(SWIG_As_int(obj1
));
7933 if (SWIG_arg_fail(2)) SWIG_fail
;
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 (arg1
)->SetBorderSize(arg2
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 Py_INCREF(Py_None
); resultobj
= Py_None
;
7949 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7950 PyObject
*resultobj
;
7951 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7953 PyObject
* obj0
= 0 ;
7955 (char *) "self", NULL
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7960 if (SWIG_arg_fail(1)) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_From_int((int)(result
));
7977 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7983 (char *) "self", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7988 if (SWIG_arg_fail(1)) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7993 wxPyEndAllowThreads(__tstate
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7997 resultobj
= SWIG_From_int((int)(result
));
8005 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8006 PyObject
*resultobj
;
8007 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8009 bool arg3
= (bool) true ;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8012 PyObject
* obj2
= 0 ;
8014 (char *) "self",(char *) "position",(char *) "redraw", NULL
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8019 if (SWIG_arg_fail(1)) SWIG_fail
;
8021 arg2
= (int)(SWIG_As_int(obj1
));
8022 if (SWIG_arg_fail(2)) SWIG_fail
;
8026 arg3
= (bool)(SWIG_As_bool(obj2
));
8027 if (SWIG_arg_fail(3)) SWIG_fail
;
8031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 (arg1
)->SetSashPosition(arg2
,arg3
);
8034 wxPyEndAllowThreads(__tstate
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8037 Py_INCREF(Py_None
); resultobj
= Py_None
;
8044 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8045 PyObject
*resultobj
;
8046 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8050 (char *) "self", NULL
8053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8055 if (SWIG_arg_fail(1)) SWIG_fail
;
8057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8058 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8060 wxPyEndAllowThreads(__tstate
);
8061 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_From_int((int)(result
));
8072 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8079 (char *) "self",(char *) "gravity", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8084 if (SWIG_arg_fail(1)) SWIG_fail
;
8086 arg2
= (double)(SWIG_As_double(obj1
));
8087 if (SWIG_arg_fail(2)) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 (arg1
)->SetSashGravity(arg2
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 Py_INCREF(Py_None
); resultobj
= Py_None
;
8103 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8107 PyObject
* obj0
= 0 ;
8109 (char *) "self", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8114 if (SWIG_arg_fail(1)) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= SWIG_From_double((double)(result
));
8131 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8135 PyObject
* obj0
= 0 ;
8136 PyObject
* obj1
= 0 ;
8138 (char *) "self",(char *) "min", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8143 if (SWIG_arg_fail(1)) SWIG_fail
;
8145 arg2
= (int)(SWIG_As_int(obj1
));
8146 if (SWIG_arg_fail(2)) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 (arg1
)->SetMinimumPaneSize(arg2
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 Py_INCREF(Py_None
); resultobj
= Py_None
;
8162 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8168 (char *) "self", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8173 if (SWIG_arg_fail(1)) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8182 resultobj
= SWIG_From_int((int)(result
));
8190 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8195 int arg4
= (int) 5 ;
8197 PyObject
* obj0
= 0 ;
8198 PyObject
* obj1
= 0 ;
8199 PyObject
* obj2
= 0 ;
8200 PyObject
* obj3
= 0 ;
8202 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8207 if (SWIG_arg_fail(1)) SWIG_fail
;
8209 arg2
= (int)(SWIG_As_int(obj1
));
8210 if (SWIG_arg_fail(2)) SWIG_fail
;
8213 arg3
= (int)(SWIG_As_int(obj2
));
8214 if (SWIG_arg_fail(3)) SWIG_fail
;
8218 arg4
= (int)(SWIG_As_int(obj3
));
8219 if (SWIG_arg_fail(4)) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8238 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
*resultobj
;
8240 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8241 PyObject
* obj0
= 0 ;
8243 (char *) "self", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8248 if (SWIG_arg_fail(1)) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 (arg1
)->SizeWindows();
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8270 (char *) "self",(char *) "needUpdating", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail
;
8277 arg2
= (bool)(SWIG_As_bool(obj1
));
8278 if (SWIG_arg_fail(2)) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 (arg1
)->SetNeedUpdating(arg2
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 Py_INCREF(Py_None
); resultobj
= Py_None
;
8294 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8298 PyObject
* obj0
= 0 ;
8300 (char *) "self", NULL
8303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8305 if (SWIG_arg_fail(1)) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8322 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8325 wxVisualAttributes result
;
8326 PyObject
* obj0
= 0 ;
8328 (char *) "variant", NULL
8331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8334 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8335 if (SWIG_arg_fail(1)) SWIG_fail
;
8339 if (!wxPyCheckForApp()) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8347 wxVisualAttributes
* resultptr
;
8348 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8357 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8360 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8362 return Py_BuildValue((char *)"");
8364 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
*resultobj
;
8366 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8367 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8368 wxSplitterEvent
*result
;
8369 PyObject
* obj0
= 0 ;
8370 PyObject
* obj1
= 0 ;
8372 (char *) "type",(char *) "splitter", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8378 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8379 if (SWIG_arg_fail(1)) SWIG_fail
;
8383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8384 if (SWIG_arg_fail(2)) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8400 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 (char *) "self",(char *) "pos", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8412 if (SWIG_arg_fail(1)) SWIG_fail
;
8414 arg2
= (int)(SWIG_As_int(obj1
));
8415 if (SWIG_arg_fail(2)) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 (arg1
)->SetSashPosition(arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 Py_INCREF(Py_None
); resultobj
= Py_None
;
8431 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8437 (char *) "self", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8442 if (SWIG_arg_fail(1)) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_From_int((int)(result
));
8459 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8470 if (SWIG_arg_fail(1)) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= wxPyMake_wxObject(result
, 0);
8487 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "self", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8498 if (SWIG_arg_fail(1)) SWIG_fail
;
8500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8501 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_From_int((int)(result
));
8515 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8519 PyObject
* obj0
= 0 ;
8521 (char *) "self", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8526 if (SWIG_arg_fail(1)) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= SWIG_From_int((int)(result
));
8543 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8546 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8548 return Py_BuildValue((char *)"");
8550 static int _wrap_SashNameStr_set(PyObject
*) {
8551 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8556 static PyObject
*_wrap_SashNameStr_get(void) {
8561 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8563 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8570 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8571 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8576 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8581 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8583 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8590 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxWindow
*arg1
= (wxWindow
*) 0 ;
8593 int arg2
= (int) -1 ;
8594 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8595 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8596 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8597 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8598 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8599 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8600 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8601 wxSashWindow
*result
;
8604 bool temp6
= false ;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8607 PyObject
* obj2
= 0 ;
8608 PyObject
* obj3
= 0 ;
8609 PyObject
* obj4
= 0 ;
8610 PyObject
* obj5
= 0 ;
8612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8617 if (SWIG_arg_fail(1)) SWIG_fail
;
8620 arg2
= (int)(SWIG_As_int(obj1
));
8621 if (SWIG_arg_fail(2)) SWIG_fail
;
8627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8638 arg5
= (long)(SWIG_As_long(obj4
));
8639 if (SWIG_arg_fail(5)) SWIG_fail
;
8644 arg6
= wxString_in_helper(obj5
);
8645 if (arg6
== NULL
) SWIG_fail
;
8650 if (!wxPyCheckForApp()) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8672 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8673 PyObject
*resultobj
;
8674 wxSashWindow
*result
;
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8681 if (!wxPyCheckForApp()) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= (wxSashWindow
*)new wxSashWindow();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8695 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8698 wxWindow
*arg2
= (wxWindow
*) 0 ;
8699 int arg3
= (int) -1 ;
8700 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8701 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8702 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8703 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8704 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8705 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8706 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8710 bool temp7
= false ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8713 PyObject
* obj2
= 0 ;
8714 PyObject
* obj3
= 0 ;
8715 PyObject
* obj4
= 0 ;
8716 PyObject
* obj5
= 0 ;
8717 PyObject
* obj6
= 0 ;
8719 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8724 if (SWIG_arg_fail(1)) SWIG_fail
;
8725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8726 if (SWIG_arg_fail(2)) SWIG_fail
;
8729 arg3
= (int)(SWIG_As_int(obj2
));
8730 if (SWIG_arg_fail(3)) SWIG_fail
;
8736 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8742 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8747 arg6
= (long)(SWIG_As_long(obj5
));
8748 if (SWIG_arg_fail(6)) SWIG_fail
;
8753 arg7
= wxString_in_helper(obj6
);
8754 if (arg7
== NULL
) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8782 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8785 wxSashEdgePosition arg2
;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8789 PyObject
* obj2
= 0 ;
8791 (char *) "self",(char *) "edge",(char *) "sash", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8796 if (SWIG_arg_fail(1)) SWIG_fail
;
8798 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8799 if (SWIG_arg_fail(2)) SWIG_fail
;
8802 arg3
= (bool)(SWIG_As_bool(obj2
));
8803 if (SWIG_arg_fail(3)) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 Py_INCREF(Py_None
); resultobj
= Py_None
;
8819 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8822 wxSashEdgePosition arg2
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8827 (char *) "self",(char *) "edge", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8832 if (SWIG_arg_fail(1)) SWIG_fail
;
8834 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8835 if (SWIG_arg_fail(2)) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8853 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8856 wxSashEdgePosition arg2
;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8860 PyObject
* obj2
= 0 ;
8862 (char *) "self",(char *) "edge",(char *) "border", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8867 if (SWIG_arg_fail(1)) SWIG_fail
;
8869 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8870 if (SWIG_arg_fail(2)) SWIG_fail
;
8873 arg3
= (bool)(SWIG_As_bool(obj2
));
8874 if (SWIG_arg_fail(3)) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 Py_INCREF(Py_None
); resultobj
= Py_None
;
8890 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8893 wxSashEdgePosition arg2
;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8898 (char *) "self",(char *) "edge", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8903 if (SWIG_arg_fail(1)) SWIG_fail
;
8905 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8906 if (SWIG_arg_fail(2)) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8924 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8927 wxSashEdgePosition arg2
;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8932 (char *) "self",(char *) "edge", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8937 if (SWIG_arg_fail(1)) SWIG_fail
;
8939 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8940 if (SWIG_arg_fail(2)) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= SWIG_From_int((int)(result
));
8958 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8962 PyObject
* obj0
= 0 ;
8963 PyObject
* obj1
= 0 ;
8965 (char *) "self",(char *) "width", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8970 if (SWIG_arg_fail(1)) SWIG_fail
;
8972 arg2
= (int)(SWIG_As_int(obj1
));
8973 if (SWIG_arg_fail(2)) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->SetDefaultBorderSize(arg2
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "self", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9000 if (SWIG_arg_fail(1)) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= SWIG_From_int((int)(result
));
9017 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9022 PyObject
* obj1
= 0 ;
9024 (char *) "self",(char *) "width", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail
;
9031 arg2
= (int)(SWIG_As_int(obj1
));
9032 if (SWIG_arg_fail(2)) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 (arg1
)->SetExtraBorderSize(arg2
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9059 if (SWIG_arg_fail(1)) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= SWIG_From_int((int)(result
));
9076 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9080 PyObject
* obj0
= 0 ;
9081 PyObject
* obj1
= 0 ;
9083 (char *) "self",(char *) "min", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9088 if (SWIG_arg_fail(1)) SWIG_fail
;
9090 arg2
= (int)(SWIG_As_int(obj1
));
9091 if (SWIG_arg_fail(2)) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 (arg1
)->SetMinimumSizeX(arg2
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 Py_INCREF(Py_None
); resultobj
= Py_None
;
9107 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9114 (char *) "self",(char *) "min", NULL
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9119 if (SWIG_arg_fail(1)) SWIG_fail
;
9121 arg2
= (int)(SWIG_As_int(obj1
));
9122 if (SWIG_arg_fail(2)) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 (arg1
)->SetMinimumSizeY(arg2
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 Py_INCREF(Py_None
); resultobj
= Py_None
;
9138 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9142 PyObject
* obj0
= 0 ;
9144 (char *) "self", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9149 if (SWIG_arg_fail(1)) SWIG_fail
;
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_From_int((int)(result
));
9166 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9170 PyObject
* obj0
= 0 ;
9172 (char *) "self", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9177 if (SWIG_arg_fail(1)) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_From_int((int)(result
));
9194 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9199 PyObject
* obj1
= 0 ;
9201 (char *) "self",(char *) "max", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9206 if (SWIG_arg_fail(1)) SWIG_fail
;
9208 arg2
= (int)(SWIG_As_int(obj1
));
9209 if (SWIG_arg_fail(2)) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 (arg1
)->SetMaximumSizeX(arg2
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 Py_INCREF(Py_None
); resultobj
= Py_None
;
9225 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9230 PyObject
* obj1
= 0 ;
9232 (char *) "self",(char *) "max", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9237 if (SWIG_arg_fail(1)) SWIG_fail
;
9239 arg2
= (int)(SWIG_As_int(obj1
));
9240 if (SWIG_arg_fail(2)) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 (arg1
)->SetMaximumSizeY(arg2
);
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 Py_INCREF(Py_None
); resultobj
= Py_None
;
9256 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9262 (char *) "self", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9267 if (SWIG_arg_fail(1)) SWIG_fail
;
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_From_int((int)(result
));
9284 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9288 PyObject
* obj0
= 0 ;
9290 (char *) "self", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9295 if (SWIG_arg_fail(1)) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_From_int((int)(result
));
9312 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9317 int arg4
= (int) 2 ;
9318 wxSashEdgePosition result
;
9319 PyObject
* obj0
= 0 ;
9320 PyObject
* obj1
= 0 ;
9321 PyObject
* obj2
= 0 ;
9322 PyObject
* obj3
= 0 ;
9324 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9329 if (SWIG_arg_fail(1)) SWIG_fail
;
9331 arg2
= (int)(SWIG_As_int(obj1
));
9332 if (SWIG_arg_fail(2)) SWIG_fail
;
9335 arg3
= (int)(SWIG_As_int(obj2
));
9336 if (SWIG_arg_fail(3)) SWIG_fail
;
9340 arg4
= (int)(SWIG_As_int(obj3
));
9341 if (SWIG_arg_fail(4)) SWIG_fail
;
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_From_int((result
));
9358 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9360 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "self", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9368 if (SWIG_arg_fail(1)) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 (arg1
)->SizeWindows();
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 Py_INCREF(Py_None
); resultobj
= Py_None
;
9383 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9386 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9388 return Py_BuildValue((char *)"");
9390 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
;
9392 int arg1
= (int) 0 ;
9393 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9394 wxSashEvent
*result
;
9395 PyObject
* obj0
= 0 ;
9396 PyObject
* obj1
= 0 ;
9398 (char *) "id",(char *) "edge", NULL
9401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9404 arg1
= (int)(SWIG_As_int(obj0
));
9405 if (SWIG_arg_fail(1)) SWIG_fail
;
9410 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9411 if (SWIG_arg_fail(2)) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9428 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
;
9430 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9431 wxSashEdgePosition arg2
;
9432 PyObject
* obj0
= 0 ;
9433 PyObject
* obj1
= 0 ;
9435 (char *) "self",(char *) "edge", NULL
9438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9440 if (SWIG_arg_fail(1)) SWIG_fail
;
9442 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9443 if (SWIG_arg_fail(2)) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 Py_INCREF(Py_None
); resultobj
= Py_None
;
9459 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9462 wxSashEdgePosition result
;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9470 if (SWIG_arg_fail(1)) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_From_int((result
));
9485 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9493 (char *) "self",(char *) "rect", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9498 if (SWIG_arg_fail(1)) SWIG_fail
;
9501 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 Py_INCREF(Py_None
); resultobj
= Py_None
;
9517 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9521 PyObject
* obj0
= 0 ;
9523 (char *) "self", NULL
9526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9528 if (SWIG_arg_fail(1)) SWIG_fail
;
9530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9531 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9533 wxPyEndAllowThreads(__tstate
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9538 resultptr
= new wxRect((wxRect
&)(result
));
9539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9547 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9550 wxSashDragStatus arg2
;
9551 PyObject
* obj0
= 0 ;
9552 PyObject
* obj1
= 0 ;
9554 (char *) "self",(char *) "status", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9559 if (SWIG_arg_fail(1)) SWIG_fail
;
9561 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9562 if (SWIG_arg_fail(2)) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 Py_INCREF(Py_None
); resultobj
= Py_None
;
9578 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9581 wxSashDragStatus result
;
9582 PyObject
* obj0
= 0 ;
9584 (char *) "self", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9589 if (SWIG_arg_fail(1)) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= SWIG_From_int((result
));
9604 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9607 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9609 return Py_BuildValue((char *)"");
9611 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 int arg1
= (int) 0 ;
9614 wxQueryLayoutInfoEvent
*result
;
9615 PyObject
* obj0
= 0 ;
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9623 arg1
= (int)(SWIG_As_int(obj0
));
9624 if (SWIG_arg_fail(1)) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9641 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9648 (char *) "self",(char *) "length", NULL
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9653 if (SWIG_arg_fail(1)) SWIG_fail
;
9655 arg2
= (int)(SWIG_As_int(obj1
));
9656 if (SWIG_arg_fail(2)) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 (arg1
)->SetRequestedLength(arg2
);
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 Py_INCREF(Py_None
); resultobj
= Py_None
;
9672 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9683 if (SWIG_arg_fail(1)) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= SWIG_From_int((int)(result
));
9700 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9705 PyObject
* obj1
= 0 ;
9707 (char *) "self",(char *) "flags", NULL
9710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9712 if (SWIG_arg_fail(1)) SWIG_fail
;
9714 arg2
= (int)(SWIG_As_int(obj1
));
9715 if (SWIG_arg_fail(2)) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 (arg1
)->SetFlags(arg2
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 Py_INCREF(Py_None
); resultobj
= Py_None
;
9731 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9735 PyObject
* obj0
= 0 ;
9737 (char *) "self", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9742 if (SWIG_arg_fail(1)) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= SWIG_From_int((int)(result
));
9759 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9765 PyObject
* obj1
= 0 ;
9767 (char *) "self",(char *) "size", NULL
9770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9772 if (SWIG_arg_fail(1)) SWIG_fail
;
9775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 (arg1
)->SetSize((wxSize
const &)*arg2
);
9781 wxPyEndAllowThreads(__tstate
);
9782 if (PyErr_Occurred()) SWIG_fail
;
9784 Py_INCREF(Py_None
); resultobj
= Py_None
;
9791 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9792 PyObject
*resultobj
;
9793 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9797 (char *) "self", NULL
9800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9802 if (SWIG_arg_fail(1)) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9812 resultptr
= new wxSize((wxSize
&)(result
));
9813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9821 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9822 PyObject
*resultobj
;
9823 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9824 wxLayoutOrientation arg2
;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9828 (char *) "self",(char *) "orient", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9833 if (SWIG_arg_fail(1)) SWIG_fail
;
9835 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9836 if (SWIG_arg_fail(2)) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9845 Py_INCREF(Py_None
); resultobj
= Py_None
;
9852 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
;
9854 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9855 wxLayoutOrientation result
;
9856 PyObject
* obj0
= 0 ;
9858 (char *) "self", NULL
9861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9863 if (SWIG_arg_fail(1)) SWIG_fail
;
9865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9866 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= SWIG_From_int((result
));
9878 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9881 wxLayoutAlignment arg2
;
9882 PyObject
* obj0
= 0 ;
9883 PyObject
* obj1
= 0 ;
9885 (char *) "self",(char *) "align", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9890 if (SWIG_arg_fail(1)) SWIG_fail
;
9892 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9893 if (SWIG_arg_fail(2)) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 Py_INCREF(Py_None
); resultobj
= Py_None
;
9909 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
;
9911 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9912 wxLayoutAlignment result
;
9913 PyObject
* obj0
= 0 ;
9915 (char *) "self", NULL
9918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9920 if (SWIG_arg_fail(1)) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9928 resultobj
= SWIG_From_int((result
));
9935 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9938 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9940 return Py_BuildValue((char *)"");
9942 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 int arg1
= (int) 0 ;
9945 wxCalculateLayoutEvent
*result
;
9946 PyObject
* obj0
= 0 ;
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9954 arg1
= (int)(SWIG_As_int(obj0
));
9955 if (SWIG_arg_fail(1)) SWIG_fail
;
9959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9960 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9962 wxPyEndAllowThreads(__tstate
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9972 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9976 PyObject
* obj0
= 0 ;
9977 PyObject
* obj1
= 0 ;
9979 (char *) "self",(char *) "flags", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9984 if (SWIG_arg_fail(1)) SWIG_fail
;
9986 arg2
= (int)(SWIG_As_int(obj1
));
9987 if (SWIG_arg_fail(2)) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 (arg1
)->SetFlags(arg2
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 Py_INCREF(Py_None
); resultobj
= Py_None
;
10003 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10014 if (SWIG_arg_fail(1)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= SWIG_From_int((int)(result
));
10031 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 PyObject
* obj1
= 0 ;
10038 char *kwnames
[] = {
10039 (char *) "self",(char *) "rect", NULL
10042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10044 if (SWIG_arg_fail(1)) SWIG_fail
;
10047 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 (arg1
)->SetRect((wxRect
const &)*arg2
);
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 Py_INCREF(Py_None
); resultobj
= Py_None
;
10063 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10074 if (SWIG_arg_fail(1)) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10083 wxRect
* resultptr
;
10084 resultptr
= new wxRect((wxRect
&)(result
));
10085 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10093 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10096 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10098 return Py_BuildValue((char *)"");
10100 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxWindow
*arg1
= (wxWindow
*) 0 ;
10103 int arg2
= (int) -1 ;
10104 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10105 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10106 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10107 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10108 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10109 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10110 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10111 wxSashLayoutWindow
*result
;
10114 bool temp6
= false ;
10115 PyObject
* obj0
= 0 ;
10116 PyObject
* obj1
= 0 ;
10117 PyObject
* obj2
= 0 ;
10118 PyObject
* obj3
= 0 ;
10119 PyObject
* obj4
= 0 ;
10120 PyObject
* obj5
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10127 if (SWIG_arg_fail(1)) SWIG_fail
;
10130 arg2
= (int)(SWIG_As_int(obj1
));
10131 if (SWIG_arg_fail(2)) SWIG_fail
;
10137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10143 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10148 arg5
= (long)(SWIG_As_long(obj4
));
10149 if (SWIG_arg_fail(5)) SWIG_fail
;
10154 arg6
= wxString_in_helper(obj5
);
10155 if (arg6
== NULL
) SWIG_fail
;
10160 if (!wxPyCheckForApp()) SWIG_fail
;
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) SWIG_fail
;
10167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10182 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxSashLayoutWindow
*result
;
10185 char *kwnames
[] = {
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10191 if (!wxPyCheckForApp()) SWIG_fail
;
10192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10195 wxPyEndAllowThreads(__tstate
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10205 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10208 wxWindow
*arg2
= (wxWindow
*) 0 ;
10209 int arg3
= (int) -1 ;
10210 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10211 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10212 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10213 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10214 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10215 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10216 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10220 bool temp7
= false ;
10221 PyObject
* obj0
= 0 ;
10222 PyObject
* obj1
= 0 ;
10223 PyObject
* obj2
= 0 ;
10224 PyObject
* obj3
= 0 ;
10225 PyObject
* obj4
= 0 ;
10226 PyObject
* obj5
= 0 ;
10227 PyObject
* obj6
= 0 ;
10228 char *kwnames
[] = {
10229 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10234 if (SWIG_arg_fail(1)) SWIG_fail
;
10235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10236 if (SWIG_arg_fail(2)) SWIG_fail
;
10239 arg3
= (int)(SWIG_As_int(obj2
));
10240 if (SWIG_arg_fail(3)) SWIG_fail
;
10246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10257 arg6
= (long)(SWIG_As_long(obj5
));
10258 if (SWIG_arg_fail(6)) SWIG_fail
;
10263 arg7
= wxString_in_helper(obj6
);
10264 if (arg7
== NULL
) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10295 wxLayoutAlignment result
;
10296 PyObject
* obj0
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10303 if (SWIG_arg_fail(1)) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_From_int((result
));
10318 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10321 wxLayoutOrientation result
;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10329 if (SWIG_arg_fail(1)) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_From_int((result
));
10344 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10347 wxLayoutAlignment arg2
;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 char *kwnames
[] = {
10351 (char *) "self",(char *) "alignment", NULL
10354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10356 if (SWIG_arg_fail(1)) SWIG_fail
;
10358 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10359 if (SWIG_arg_fail(2)) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self",(char *) "size", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10388 if (SWIG_arg_fail(1)) SWIG_fail
;
10391 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10395 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 Py_INCREF(Py_None
); resultobj
= Py_None
;
10407 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
;
10409 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10410 wxLayoutOrientation arg2
;
10411 PyObject
* obj0
= 0 ;
10412 PyObject
* obj1
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self",(char *) "orientation", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10419 if (SWIG_arg_fail(1)) SWIG_fail
;
10421 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10422 if (SWIG_arg_fail(2)) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 Py_INCREF(Py_None
); resultobj
= Py_None
;
10438 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10441 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10443 return Py_BuildValue((char *)"");
10445 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxLayoutAlgorithm
*result
;
10448 char *kwnames
[] = {
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10457 wxPyEndAllowThreads(__tstate
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10467 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10468 PyObject
*resultobj
;
10469 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10470 PyObject
* obj0
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "self", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10477 if (SWIG_arg_fail(1)) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 Py_INCREF(Py_None
); resultobj
= Py_None
;
10492 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10495 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10496 wxRect
*arg3
= (wxRect
*) NULL
;
10498 PyObject
* obj0
= 0 ;
10499 PyObject
* obj1
= 0 ;
10500 PyObject
* obj2
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self",(char *) "frame",(char *) "rect", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10507 if (SWIG_arg_fail(1)) SWIG_fail
;
10508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10509 if (SWIG_arg_fail(2)) SWIG_fail
;
10511 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10512 if (SWIG_arg_fail(3)) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10530 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10533 wxFrame
*arg2
= (wxFrame
*) 0 ;
10534 wxWindow
*arg3
= (wxWindow
*) NULL
;
10536 PyObject
* obj0
= 0 ;
10537 PyObject
* obj1
= 0 ;
10538 PyObject
* obj2
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10545 if (SWIG_arg_fail(1)) SWIG_fail
;
10546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10547 if (SWIG_arg_fail(2)) SWIG_fail
;
10549 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10550 if (SWIG_arg_fail(3)) SWIG_fail
;
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10556 wxPyEndAllowThreads(__tstate
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10568 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
;
10570 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10571 wxWindow
*arg2
= (wxWindow
*) 0 ;
10572 wxWindow
*arg3
= (wxWindow
*) NULL
;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 PyObject
* obj2
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10583 if (SWIG_arg_fail(1)) SWIG_fail
;
10584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10585 if (SWIG_arg_fail(2)) SWIG_fail
;
10587 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10588 if (SWIG_arg_fail(3)) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10606 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10609 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10611 return Py_BuildValue((char *)"");
10613 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxWindow
*arg1
= (wxWindow
*) 0 ;
10616 int arg2
= (int) wxBORDER_NONE
;
10617 wxPopupWindow
*result
;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 char *kwnames
[] = {
10621 (char *) "parent",(char *) "flags", NULL
10624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10626 if (SWIG_arg_fail(1)) SWIG_fail
;
10629 arg2
= (int)(SWIG_As_int(obj1
));
10630 if (SWIG_arg_fail(2)) SWIG_fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10647 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxPopupWindow
*result
;
10650 char *kwnames
[] = {
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (wxPopupWindow
*)new wxPopupWindow();
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10669 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10672 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10674 return Py_BuildValue((char *)"");
10676 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
*resultobj
;
10678 wxWindow
*arg1
= (wxWindow
*) 0 ;
10679 int arg2
= (int) wxBORDER_NONE
;
10680 wxPyPopupTransientWindow
*result
;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "parent",(char *) "style", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10689 if (SWIG_arg_fail(1)) SWIG_fail
;
10692 arg2
= (int)(SWIG_As_int(obj1
));
10693 if (SWIG_arg_fail(2)) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10710 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxPyPopupTransientWindow
*result
;
10713 char *kwnames
[] = {
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10732 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10735 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10737 return Py_BuildValue((char *)"");
10739 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxWindow
*arg1
= (wxWindow
*) 0 ;
10742 wxString
*arg2
= 0 ;
10743 int arg3
= (int) 100 ;
10744 wxRect
*arg4
= (wxRect
*) NULL
;
10745 wxTipWindow
*result
;
10746 bool temp2
= false ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 PyObject
* obj2
= 0 ;
10750 PyObject
* obj3
= 0 ;
10751 char *kwnames
[] = {
10752 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10757 if (SWIG_arg_fail(1)) SWIG_fail
;
10759 arg2
= wxString_in_helper(obj1
);
10760 if (arg2
== NULL
) SWIG_fail
;
10765 arg3
= (int)(SWIG_As_int(obj2
));
10766 if (SWIG_arg_fail(3)) SWIG_fail
;
10770 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10771 if (SWIG_arg_fail(4)) SWIG_fail
;
10774 if (!wxPyCheckForApp()) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10796 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "rectBound", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail
;
10812 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 Py_INCREF(Py_None
); resultobj
= Py_None
;
10828 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10838 if (SWIG_arg_fail(1)) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 Py_INCREF(Py_None
); resultobj
= Py_None
;
10853 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10856 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10858 return Py_BuildValue((char *)"");
10860 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxWindow
*arg1
= (wxWindow
*) 0 ;
10863 int arg2
= (int) wxID_ANY
;
10864 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10865 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10866 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10867 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10868 long arg5
= (long) 0 ;
10869 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10870 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10871 wxPyVScrolledWindow
*result
;
10874 bool temp6
= false ;
10875 PyObject
* obj0
= 0 ;
10876 PyObject
* obj1
= 0 ;
10877 PyObject
* obj2
= 0 ;
10878 PyObject
* obj3
= 0 ;
10879 PyObject
* obj4
= 0 ;
10880 PyObject
* obj5
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10887 if (SWIG_arg_fail(1)) SWIG_fail
;
10890 arg2
= (int)(SWIG_As_int(obj1
));
10891 if (SWIG_arg_fail(2)) SWIG_fail
;
10897 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10903 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10908 arg5
= (long)(SWIG_As_long(obj4
));
10909 if (SWIG_arg_fail(5)) SWIG_fail
;
10914 arg6
= wxString_in_helper(obj5
);
10915 if (arg6
== NULL
) SWIG_fail
;
10920 if (!wxPyCheckForApp()) SWIG_fail
;
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10924 wxPyEndAllowThreads(__tstate
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10942 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10943 PyObject
*resultobj
;
10944 wxPyVScrolledWindow
*result
;
10945 char *kwnames
[] = {
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
10951 if (!wxPyCheckForApp()) SWIG_fail
;
10952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10953 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
10955 wxPyEndAllowThreads(__tstate
);
10956 if (PyErr_Occurred()) SWIG_fail
;
10958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
10965 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10968 PyObject
*arg2
= (PyObject
*) 0 ;
10969 PyObject
*arg3
= (PyObject
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 PyObject
* obj2
= 0 ;
10973 char *kwnames
[] = {
10974 (char *) "self",(char *) "self",(char *) "_class", NULL
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
10979 if (SWIG_arg_fail(1)) SWIG_fail
;
10983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10984 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10986 wxPyEndAllowThreads(__tstate
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 Py_INCREF(Py_None
); resultobj
= Py_None
;
10996 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
10999 wxWindow
*arg2
= (wxWindow
*) 0 ;
11000 int arg3
= (int) wxID_ANY
;
11001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11003 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11004 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11005 long arg6
= (long) 0 ;
11006 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11007 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11011 bool temp7
= false ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 PyObject
* obj2
= 0 ;
11015 PyObject
* obj3
= 0 ;
11016 PyObject
* obj4
= 0 ;
11017 PyObject
* obj5
= 0 ;
11018 PyObject
* obj6
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11025 if (SWIG_arg_fail(1)) SWIG_fail
;
11026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(2)) SWIG_fail
;
11030 arg3
= (int)(SWIG_As_int(obj2
));
11031 if (SWIG_arg_fail(3)) SWIG_fail
;
11037 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11043 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11048 arg6
= (long)(SWIG_As_long(obj5
));
11049 if (SWIG_arg_fail(6)) SWIG_fail
;
11054 arg7
= wxString_in_helper(obj6
);
11055 if (arg7
== NULL
) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self",(char *) "count", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11095 if (SWIG_arg_fail(1)) SWIG_fail
;
11097 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11098 if (SWIG_arg_fail(2)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 (arg1
)->SetLineCount(arg2
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 Py_INCREF(Py_None
); resultobj
= Py_None
;
11114 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self",(char *) "line", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11127 if (SWIG_arg_fail(1)) SWIG_fail
;
11129 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11130 if (SWIG_arg_fail(2)) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11148 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "lines", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11161 if (SWIG_arg_fail(1)) SWIG_fail
;
11163 arg2
= (int)(SWIG_As_int(obj1
));
11164 if (SWIG_arg_fail(2)) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (bool)(arg1
)->ScrollLines(arg2
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11182 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self",(char *) "pages", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11195 if (SWIG_arg_fail(1)) SWIG_fail
;
11197 arg2
= (int)(SWIG_As_int(obj1
));
11198 if (SWIG_arg_fail(2)) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (bool)(arg1
)->ScrollPages(arg2
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11216 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11220 PyObject
* obj0
= 0 ;
11221 PyObject
* obj1
= 0 ;
11222 char *kwnames
[] = {
11223 (char *) "self",(char *) "line", NULL
11226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11228 if (SWIG_arg_fail(1)) SWIG_fail
;
11230 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11231 if (SWIG_arg_fail(2)) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 (arg1
)->RefreshLine(arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11252 PyObject
* obj0
= 0 ;
11253 PyObject
* obj1
= 0 ;
11254 PyObject
* obj2
= 0 ;
11255 char *kwnames
[] = {
11256 (char *) "self",(char *) "from",(char *) "to", NULL
11259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11261 if (SWIG_arg_fail(1)) SWIG_fail
;
11263 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11264 if (SWIG_arg_fail(2)) SWIG_fail
;
11267 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11268 if (SWIG_arg_fail(3)) SWIG_fail
;
11271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11272 (arg1
)->RefreshLines(arg2
,arg3
);
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11277 Py_INCREF(Py_None
); resultobj
= Py_None
;
11284 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11290 PyObject
* obj0
= 0 ;
11291 PyObject
* obj1
= 0 ;
11292 PyObject
* obj2
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self",(char *) "x",(char *) "y", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11299 if (SWIG_arg_fail(1)) SWIG_fail
;
11301 arg2
= (int)(SWIG_As_int(obj1
));
11302 if (SWIG_arg_fail(2)) SWIG_fail
;
11305 arg3
= (int)(SWIG_As_int(obj2
));
11306 if (SWIG_arg_fail(3)) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= SWIG_From_int((int)(result
));
11324 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11327 wxPoint
*arg2
= 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "pt", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11338 if (SWIG_arg_fail(1)) SWIG_fail
;
11341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11345 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11347 wxPyEndAllowThreads(__tstate
);
11348 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_From_int((int)(result
));
11359 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11362 PyObject
* obj0
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11369 if (SWIG_arg_fail(1)) SWIG_fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 (arg1
)->RefreshAll();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 Py_INCREF(Py_None
); resultobj
= Py_None
;
11384 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11395 if (SWIG_arg_fail(1)) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11412 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11413 PyObject
*resultobj
;
11414 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11416 PyObject
* obj0
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "self", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11423 if (SWIG_arg_fail(1)) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11440 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11451 if (SWIG_arg_fail(1)) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11468 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11469 PyObject
*resultobj
;
11470 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "line", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11481 if (SWIG_arg_fail(1)) SWIG_fail
;
11483 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11484 if (SWIG_arg_fail(2)) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11502 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11513 if (SWIG_arg_fail(1)) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11516 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11530 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11541 if (SWIG_arg_fail(1)) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11558 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11561 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11563 return Py_BuildValue((char *)"");
11565 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11566 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11571 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11576 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11578 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11585 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxWindow
*arg1
= (wxWindow
*) 0 ;
11588 int arg2
= (int) wxID_ANY
;
11589 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11590 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11591 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11592 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11593 long arg5
= (long) 0 ;
11594 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11595 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11596 wxPyVListBox
*result
;
11599 bool temp6
= false ;
11600 PyObject
* obj0
= 0 ;
11601 PyObject
* obj1
= 0 ;
11602 PyObject
* obj2
= 0 ;
11603 PyObject
* obj3
= 0 ;
11604 PyObject
* obj4
= 0 ;
11605 PyObject
* obj5
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11612 if (SWIG_arg_fail(1)) SWIG_fail
;
11615 arg2
= (int)(SWIG_As_int(obj1
));
11616 if (SWIG_arg_fail(2)) SWIG_fail
;
11622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11628 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11633 arg5
= (long)(SWIG_As_long(obj4
));
11634 if (SWIG_arg_fail(5)) SWIG_fail
;
11639 arg6
= wxString_in_helper(obj5
);
11640 if (arg6
== NULL
) SWIG_fail
;
11645 if (!wxPyCheckForApp()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11667 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxPyVListBox
*result
;
11670 char *kwnames
[] = {
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11676 if (!wxPyCheckForApp()) SWIG_fail
;
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (wxPyVListBox
*)new wxPyVListBox();
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11690 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
;
11692 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11693 PyObject
*arg2
= (PyObject
*) 0 ;
11694 PyObject
*arg3
= (PyObject
*) 0 ;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 PyObject
* obj2
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self",(char *) "self",(char *) "_class", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11704 if (SWIG_arg_fail(1)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 Py_INCREF(Py_None
); resultobj
= Py_None
;
11721 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11724 wxWindow
*arg2
= (wxWindow
*) 0 ;
11725 int arg3
= (int) wxID_ANY
;
11726 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11727 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11728 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11729 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11730 long arg6
= (long) 0 ;
11731 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11732 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11736 bool temp7
= false ;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11739 PyObject
* obj2
= 0 ;
11740 PyObject
* obj3
= 0 ;
11741 PyObject
* obj4
= 0 ;
11742 PyObject
* obj5
= 0 ;
11743 PyObject
* obj6
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11750 if (SWIG_arg_fail(1)) SWIG_fail
;
11751 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11752 if (SWIG_arg_fail(2)) SWIG_fail
;
11755 arg3
= (int)(SWIG_As_int(obj2
));
11756 if (SWIG_arg_fail(3)) SWIG_fail
;
11762 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11768 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11773 arg6
= (long)(SWIG_As_long(obj5
));
11774 if (SWIG_arg_fail(6)) SWIG_fail
;
11779 arg7
= wxString_in_helper(obj6
);
11780 if (arg7
== NULL
) SWIG_fail
;
11785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11788 wxPyEndAllowThreads(__tstate
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11808 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11812 PyObject
* obj0
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "self", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail
;
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11836 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
;
11838 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11840 PyObject
* obj0
= 0 ;
11841 char *kwnames
[] = {
11842 (char *) "self", NULL
11845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11847 if (SWIG_arg_fail(1)) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11864 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11868 PyObject
* obj0
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= SWIG_From_int((int)(result
));
11892 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "self",(char *) "item", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11905 if (SWIG_arg_fail(1)) SWIG_fail
;
11907 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11908 if (SWIG_arg_fail(2)) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11926 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11931 PyObject
* obj0
= 0 ;
11932 PyObject
* obj1
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self",(char *) "item", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
11938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11939 if (SWIG_arg_fail(1)) SWIG_fail
;
11941 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11942 if (SWIG_arg_fail(2)) SWIG_fail
;
11945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11946 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11960 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
;
11962 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11964 PyObject
* obj0
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
11970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11971 if (SWIG_arg_fail(1)) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11988 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
11998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11999 if (SWIG_arg_fail(1)) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12007 resultobj
= result
;
12014 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12017 unsigned long arg2
;
12019 PyObject
* obj0
= 0 ;
12020 PyObject
* obj1
= 0 ;
12021 char *kwnames
[] = {
12022 (char *) "self",(char *) "cookie", NULL
12025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12027 if (SWIG_arg_fail(1)) SWIG_fail
;
12029 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12030 if (SWIG_arg_fail(2)) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= result
;
12046 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
;
12048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12050 PyObject
* obj0
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12057 if (SWIG_arg_fail(1)) SWIG_fail
;
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 wxPoint
* resultptr
;
12067 resultptr
= new wxPoint((wxPoint
&)(result
));
12068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12076 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12080 PyObject
* obj0
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12087 if (SWIG_arg_fail(1)) SWIG_fail
;
12089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12092 result
= (wxColour
*) &_result_ref
;
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12105 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self",(char *) "count", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12119 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12120 if (SWIG_arg_fail(2)) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 (arg1
)->SetItemCount(arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 Py_INCREF(Py_None
); resultobj
= Py_None
;
12136 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12146 if (SWIG_arg_fail(1)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 Py_INCREF(Py_None
); resultobj
= Py_None
;
12161 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 PyObject
* obj1
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self",(char *) "selection", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12173 if (SWIG_arg_fail(1)) SWIG_fail
;
12175 arg2
= (int)(SWIG_As_int(obj1
));
12176 if (SWIG_arg_fail(2)) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 (arg1
)->SetSelection(arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 Py_INCREF(Py_None
); resultobj
= Py_None
;
12192 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12196 bool arg3
= (bool) true ;
12198 PyObject
* obj0
= 0 ;
12199 PyObject
* obj1
= 0 ;
12200 PyObject
* obj2
= 0 ;
12201 char *kwnames
[] = {
12202 (char *) "self",(char *) "item",(char *) "select", NULL
12205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
12214 arg3
= (bool)(SWIG_As_bool(obj2
));
12215 if (SWIG_arg_fail(3)) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12234 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 PyObject
* obj1
= 0 ;
12242 PyObject
* obj2
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self",(char *) "from",(char *) "to", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12249 if (SWIG_arg_fail(1)) SWIG_fail
;
12251 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12252 if (SWIG_arg_fail(2)) SWIG_fail
;
12255 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12256 if (SWIG_arg_fail(3)) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12274 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12278 PyObject
* obj0
= 0 ;
12279 PyObject
* obj1
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self",(char *) "item", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12286 if (SWIG_arg_fail(1)) SWIG_fail
;
12288 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12289 if (SWIG_arg_fail(2)) SWIG_fail
;
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 (arg1
)->Toggle(arg2
);
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12298 Py_INCREF(Py_None
); resultobj
= Py_None
;
12305 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12316 if (SWIG_arg_fail(1)) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)(arg1
)->SelectAll();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12333 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12344 if (SWIG_arg_fail(1)) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 result
= (bool)(arg1
)->DeselectAll();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12361 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12364 wxPoint
*arg2
= 0 ;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self",(char *) "pt", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12374 if (SWIG_arg_fail(1)) SWIG_fail
;
12377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12381 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12386 Py_INCREF(Py_None
); resultobj
= Py_None
;
12393 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
;
12395 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 PyObject
* obj2
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self",(char *) "x",(char *) "y", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12407 if (SWIG_arg_fail(1)) SWIG_fail
;
12409 arg2
= (int)(SWIG_As_int(obj1
));
12410 if (SWIG_arg_fail(2)) SWIG_fail
;
12413 arg3
= (int)(SWIG_As_int(obj2
));
12414 if (SWIG_arg_fail(3)) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 (arg1
)->SetMargins(arg2
,arg3
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 Py_INCREF(Py_None
); resultobj
= Py_None
;
12430 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12433 wxColour
*arg2
= 0 ;
12435 PyObject
* obj0
= 0 ;
12436 PyObject
* obj1
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self",(char *) "col", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12443 if (SWIG_arg_fail(1)) SWIG_fail
;
12446 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 Py_INCREF(Py_None
); resultobj
= Py_None
;
12462 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12465 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12467 return Py_BuildValue((char *)"");
12469 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxWindow
*arg1
= (wxWindow
*) 0 ;
12472 int arg2
= (int) wxID_ANY
;
12473 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12474 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12475 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12476 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12477 long arg5
= (long) 0 ;
12478 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12479 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12480 wxPyHtmlListBox
*result
;
12483 bool temp6
= false ;
12484 PyObject
* obj0
= 0 ;
12485 PyObject
* obj1
= 0 ;
12486 PyObject
* obj2
= 0 ;
12487 PyObject
* obj3
= 0 ;
12488 PyObject
* obj4
= 0 ;
12489 PyObject
* obj5
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12496 if (SWIG_arg_fail(1)) SWIG_fail
;
12499 arg2
= (int)(SWIG_As_int(obj1
));
12500 if (SWIG_arg_fail(2)) SWIG_fail
;
12506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12512 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12517 arg5
= (long)(SWIG_As_long(obj4
));
12518 if (SWIG_arg_fail(5)) SWIG_fail
;
12523 arg6
= wxString_in_helper(obj5
);
12524 if (arg6
== NULL
) SWIG_fail
;
12529 if (!wxPyCheckForApp()) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12551 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxPyHtmlListBox
*result
;
12554 char *kwnames
[] = {
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12560 if (!wxPyCheckForApp()) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12574 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12577 PyObject
*arg2
= (PyObject
*) 0 ;
12578 PyObject
*arg3
= (PyObject
*) 0 ;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 PyObject
* obj2
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "self",(char *) "_class", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12588 if (SWIG_arg_fail(1)) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 Py_INCREF(Py_None
); resultobj
= Py_None
;
12605 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12608 wxWindow
*arg2
= (wxWindow
*) 0 ;
12609 int arg3
= (int) wxID_ANY
;
12610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12614 long arg6
= (long) 0 ;
12615 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12616 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12620 bool temp7
= false ;
12621 PyObject
* obj0
= 0 ;
12622 PyObject
* obj1
= 0 ;
12623 PyObject
* obj2
= 0 ;
12624 PyObject
* obj3
= 0 ;
12625 PyObject
* obj4
= 0 ;
12626 PyObject
* obj5
= 0 ;
12627 PyObject
* obj6
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12634 if (SWIG_arg_fail(1)) SWIG_fail
;
12635 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12636 if (SWIG_arg_fail(2)) SWIG_fail
;
12639 arg3
= (int)(SWIG_As_int(obj2
));
12640 if (SWIG_arg_fail(3)) SWIG_fail
;
12646 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12652 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12657 arg6
= (long)(SWIG_As_long(obj5
));
12658 if (SWIG_arg_fail(6)) SWIG_fail
;
12663 arg7
= wxString_in_helper(obj6
);
12664 if (arg7
== NULL
) SWIG_fail
;
12669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12670 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12692 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12702 if (SWIG_arg_fail(1)) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 (arg1
)->RefreshAll();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 Py_INCREF(Py_None
); resultobj
= Py_None
;
12717 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self",(char *) "count", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12729 if (SWIG_arg_fail(1)) SWIG_fail
;
12731 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12732 if (SWIG_arg_fail(2)) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 (arg1
)->SetItemCount(arg2
);
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 Py_INCREF(Py_None
); resultobj
= Py_None
;
12748 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12751 wxFileSystem
*result
;
12752 PyObject
* obj0
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12759 if (SWIG_arg_fail(1)) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12764 result
= (wxFileSystem
*) &_result_ref
;
12767 wxPyEndAllowThreads(__tstate
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12777 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12780 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12782 return Py_BuildValue((char *)"");
12784 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxPyTaskBarIcon
*result
;
12787 char *kwnames
[] = {
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12793 if (!wxPyCheckForApp()) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12807 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12810 PyObject
*arg2
= (PyObject
*) 0 ;
12811 PyObject
*arg3
= (PyObject
*) 0 ;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 PyObject
* obj3
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12823 if (SWIG_arg_fail(1)) SWIG_fail
;
12827 arg4
= (int)(SWIG_As_int(obj3
));
12828 if (SWIG_arg_fail(4)) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 Py_INCREF(Py_None
); resultobj
= Py_None
;
12844 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
;
12846 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12847 PyObject
* obj0
= 0 ;
12848 char *kwnames
[] = {
12849 (char *) "self", NULL
12852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12854 if (SWIG_arg_fail(1)) SWIG_fail
;
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 wxPyTaskBarIcon_Destroy(arg1
);
12859 wxPyEndAllowThreads(__tstate
);
12860 if (PyErr_Occurred()) SWIG_fail
;
12862 Py_INCREF(Py_None
); resultobj
= Py_None
;
12869 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12870 PyObject
*resultobj
;
12871 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 char *kwnames
[] = {
12875 (char *) "self", NULL
12878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12880 if (SWIG_arg_fail(1)) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12925 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12932 bool temp3
= false ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 PyObject
* obj2
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12942 if (SWIG_arg_fail(1)) SWIG_fail
;
12944 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
12945 if (SWIG_arg_fail(2)) SWIG_fail
;
12946 if (arg2
== NULL
) {
12947 SWIG_null_ref("wxIcon");
12949 if (SWIG_arg_fail(2)) SWIG_fail
;
12953 arg3
= wxString_in_helper(obj2
);
12954 if (arg3
== NULL
) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12982 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12983 PyObject
*resultobj
;
12984 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12986 PyObject
* obj0
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "self", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
12992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12993 if (SWIG_arg_fail(1)) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (bool)(arg1
)->RemoveIcon();
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13010 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13013 wxMenu
*arg2
= (wxMenu
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self",(char *) "menu", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail
;
13024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13025 if (SWIG_arg_fail(2)) SWIG_fail
;
13027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13028 result
= (bool)(arg1
)->PopupMenu(arg2
);
13030 wxPyEndAllowThreads(__tstate
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13042 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13045 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13047 return Py_BuildValue((char *)"");
13049 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13052 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13053 wxTaskBarIconEvent
*result
;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "evtType",(char *) "tbIcon", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13062 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13063 if (SWIG_arg_fail(1)) SWIG_fail
;
13065 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13066 if (SWIG_arg_fail(2)) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13081 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13084 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13086 return Py_BuildValue((char *)"");
13088 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13089 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13094 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13099 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13101 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13108 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13109 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13114 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13119 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13121 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13128 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13129 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13134 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13139 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13141 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13148 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13149 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13154 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13159 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13161 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13168 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13169 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13174 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13179 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13181 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13188 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13189 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13194 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13199 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13201 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13208 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
;
13210 wxColourData
*result
;
13211 char *kwnames
[] = {
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= (wxColourData
*)new wxColourData();
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13230 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxColourData
*arg1
= (wxColourData
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13240 if (SWIG_arg_fail(1)) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13255 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxColourData
*arg1
= (wxColourData
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (bool)(arg1
)->GetChooseFull();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13283 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxColourData
*arg1
= (wxColourData
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13294 if (SWIG_arg_fail(1)) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (arg1
)->GetColour();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13303 wxColour
* resultptr
;
13304 resultptr
= new wxColour((wxColour
&)(result
));
13305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13313 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxColourData
*arg1
= (wxColourData
*) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "i", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13326 if (SWIG_arg_fail(1)) SWIG_fail
;
13328 arg2
= (int)(SWIG_As_int(obj1
));
13329 if (SWIG_arg_fail(2)) SWIG_fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (arg1
)->GetCustomColour(arg2
);
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13339 wxColour
* resultptr
;
13340 resultptr
= new wxColour((wxColour
&)(result
));
13341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13349 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxColourData
*arg1
= (wxColourData
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self",(char *) "flag", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13361 if (SWIG_arg_fail(1)) SWIG_fail
;
13363 arg2
= (int)(SWIG_As_int(obj1
));
13364 if (SWIG_arg_fail(2)) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 (arg1
)->SetChooseFull(arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxColourData
*arg1
= (wxColourData
*) 0 ;
13383 wxColour
*arg2
= 0 ;
13385 PyObject
* obj0
= 0 ;
13386 PyObject
* obj1
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "colour", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13393 if (SWIG_arg_fail(1)) SWIG_fail
;
13396 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetColour((wxColour
const &)*arg2
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 Py_INCREF(Py_None
); resultobj
= Py_None
;
13412 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxColourData
*arg1
= (wxColourData
*) 0 ;
13416 wxColour
*arg3
= 0 ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 PyObject
* obj2
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "i",(char *) "colour", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13427 if (SWIG_arg_fail(1)) SWIG_fail
;
13429 arg2
= (int)(SWIG_As_int(obj1
));
13430 if (SWIG_arg_fail(2)) SWIG_fail
;
13434 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 Py_INCREF(Py_None
); resultobj
= Py_None
;
13450 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13453 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13455 return Py_BuildValue((char *)"");
13457 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxWindow
*arg1
= (wxWindow
*) 0 ;
13460 wxColourData
*arg2
= (wxColourData
*) NULL
;
13461 wxColourDialog
*result
;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "parent",(char *) "data", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13470 if (SWIG_arg_fail(1)) SWIG_fail
;
13472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13473 if (SWIG_arg_fail(2)) SWIG_fail
;
13476 if (!wxPyCheckForApp()) SWIG_fail
;
13477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13490 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13493 wxColourData
*result
;
13494 PyObject
* obj0
= 0 ;
13495 char *kwnames
[] = {
13496 (char *) "self", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13501 if (SWIG_arg_fail(1)) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13506 result
= (wxColourData
*) &_result_ref
;
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13519 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13522 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13524 return Py_BuildValue((char *)"");
13526 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxWindow
*arg1
= (wxWindow
*) 0 ;
13529 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13530 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13531 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13532 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13533 long arg4
= (long) 0 ;
13534 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13535 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13536 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13537 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13538 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13539 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13540 wxDirDialog
*result
;
13541 bool temp2
= false ;
13542 bool temp3
= false ;
13545 bool temp7
= false ;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 PyObject
* obj2
= 0 ;
13549 PyObject
* obj3
= 0 ;
13550 PyObject
* obj4
= 0 ;
13551 PyObject
* obj5
= 0 ;
13552 PyObject
* obj6
= 0 ;
13553 char *kwnames
[] = {
13554 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13559 if (SWIG_arg_fail(1)) SWIG_fail
;
13562 arg2
= wxString_in_helper(obj1
);
13563 if (arg2
== NULL
) SWIG_fail
;
13569 arg3
= wxString_in_helper(obj2
);
13570 if (arg3
== NULL
) SWIG_fail
;
13576 arg4
= (long)(SWIG_As_long(obj3
));
13577 if (SWIG_arg_fail(4)) SWIG_fail
;
13583 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13589 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13594 arg7
= wxString_in_helper(obj6
);
13595 if (arg7
== NULL
) SWIG_fail
;
13600 if (!wxPyCheckForApp()) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13638 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13642 PyObject
* obj0
= 0 ;
13643 char *kwnames
[] = {
13644 (char *) "self", NULL
13647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13649 if (SWIG_arg_fail(1)) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (arg1
)->GetPath();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13670 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13681 if (SWIG_arg_fail(1)) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (arg1
)->GetMessage();
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13702 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13713 if (SWIG_arg_fail(1)) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (long)(arg1
)->GetStyle();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= SWIG_From_long((long)(result
));
13730 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13733 wxString
*arg2
= 0 ;
13734 bool temp2
= false ;
13735 PyObject
* obj0
= 0 ;
13736 PyObject
* obj1
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self",(char *) "message", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13743 if (SWIG_arg_fail(1)) SWIG_fail
;
13745 arg2
= wxString_in_helper(obj1
);
13746 if (arg2
== NULL
) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 (arg1
)->SetMessage((wxString
const &)*arg2
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 Py_INCREF(Py_None
); resultobj
= Py_None
;
13771 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13774 wxString
*arg2
= 0 ;
13775 bool temp2
= false ;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 char *kwnames
[] = {
13779 (char *) "self",(char *) "path", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13784 if (SWIG_arg_fail(1)) SWIG_fail
;
13786 arg2
= wxString_in_helper(obj1
);
13787 if (arg2
== NULL
) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 (arg1
)->SetPath((wxString
const &)*arg2
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 Py_INCREF(Py_None
); resultobj
= Py_None
;
13812 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13815 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13817 return Py_BuildValue((char *)"");
13819 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxWindow
*arg1
= (wxWindow
*) 0 ;
13822 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13823 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13824 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13826 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13827 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13828 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13829 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13830 long arg6
= (long) 0 ;
13831 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13832 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13833 wxFileDialog
*result
;
13834 bool temp2
= false ;
13835 bool temp3
= false ;
13836 bool temp4
= false ;
13837 bool temp5
= false ;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 PyObject
* obj2
= 0 ;
13842 PyObject
* obj3
= 0 ;
13843 PyObject
* obj4
= 0 ;
13844 PyObject
* obj5
= 0 ;
13845 PyObject
* obj6
= 0 ;
13846 char *kwnames
[] = {
13847 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13852 if (SWIG_arg_fail(1)) SWIG_fail
;
13855 arg2
= wxString_in_helper(obj1
);
13856 if (arg2
== NULL
) SWIG_fail
;
13862 arg3
= wxString_in_helper(obj2
);
13863 if (arg3
== NULL
) SWIG_fail
;
13869 arg4
= wxString_in_helper(obj3
);
13870 if (arg4
== NULL
) SWIG_fail
;
13876 arg5
= wxString_in_helper(obj4
);
13877 if (arg5
== NULL
) SWIG_fail
;
13883 arg6
= (long)(SWIG_As_long(obj5
));
13884 if (SWIG_arg_fail(6)) SWIG_fail
;
13890 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13894 if (!wxPyCheckForApp()) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
13940 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13943 wxString
*arg2
= 0 ;
13944 bool temp2
= false ;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self",(char *) "message", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13953 if (SWIG_arg_fail(1)) SWIG_fail
;
13955 arg2
= wxString_in_helper(obj1
);
13956 if (arg2
== NULL
) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 (arg1
)->SetMessage((wxString
const &)*arg2
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 Py_INCREF(Py_None
); resultobj
= Py_None
;
13981 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
;
13983 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
13984 wxString
*arg2
= 0 ;
13985 bool temp2
= false ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "self",(char *) "path", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
13994 if (SWIG_arg_fail(1)) SWIG_fail
;
13996 arg2
= wxString_in_helper(obj1
);
13997 if (arg2
== NULL
) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 (arg1
)->SetPath((wxString
const &)*arg2
);
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 Py_INCREF(Py_None
); resultobj
= Py_None
;
14022 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14023 PyObject
*resultobj
;
14024 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14025 wxString
*arg2
= 0 ;
14026 bool temp2
= false ;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self",(char *) "dir", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14035 if (SWIG_arg_fail(1)) SWIG_fail
;
14037 arg2
= wxString_in_helper(obj1
);
14038 if (arg2
== NULL
) SWIG_fail
;
14042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14043 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14045 wxPyEndAllowThreads(__tstate
);
14046 if (PyErr_Occurred()) SWIG_fail
;
14048 Py_INCREF(Py_None
); resultobj
= Py_None
;
14063 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14066 wxString
*arg2
= 0 ;
14067 bool temp2
= false ;
14068 PyObject
* obj0
= 0 ;
14069 PyObject
* obj1
= 0 ;
14070 char *kwnames
[] = {
14071 (char *) "self",(char *) "name", NULL
14074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14076 if (SWIG_arg_fail(1)) SWIG_fail
;
14078 arg2
= wxString_in_helper(obj1
);
14079 if (arg2
== NULL
) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 (arg1
)->SetFilename((wxString
const &)*arg2
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 Py_INCREF(Py_None
); resultobj
= Py_None
;
14104 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14107 wxString
*arg2
= 0 ;
14108 bool temp2
= false ;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self",(char *) "wildCard", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14117 if (SWIG_arg_fail(1)) SWIG_fail
;
14119 arg2
= wxString_in_helper(obj1
);
14120 if (arg2
== NULL
) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 Py_INCREF(Py_None
); resultobj
= Py_None
;
14145 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14146 PyObject
*resultobj
;
14147 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14149 PyObject
* obj0
= 0 ;
14150 PyObject
* obj1
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self",(char *) "style", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14157 if (SWIG_arg_fail(1)) SWIG_fail
;
14159 arg2
= (long)(SWIG_As_long(obj1
));
14160 if (SWIG_arg_fail(2)) SWIG_fail
;
14163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14164 (arg1
)->SetStyle(arg2
);
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 Py_INCREF(Py_None
); resultobj
= Py_None
;
14176 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14177 PyObject
*resultobj
;
14178 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14180 PyObject
* obj0
= 0 ;
14181 PyObject
* obj1
= 0 ;
14182 char *kwnames
[] = {
14183 (char *) "self",(char *) "filterIndex", NULL
14186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14188 if (SWIG_arg_fail(1)) SWIG_fail
;
14190 arg2
= (int)(SWIG_As_int(obj1
));
14191 if (SWIG_arg_fail(2)) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 (arg1
)->SetFilterIndex(arg2
);
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 Py_INCREF(Py_None
); resultobj
= Py_None
;
14207 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14211 PyObject
* obj0
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14218 if (SWIG_arg_fail(1)) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14239 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14240 PyObject
*resultobj
;
14241 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14243 PyObject
* obj0
= 0 ;
14244 char *kwnames
[] = {
14245 (char *) "self", NULL
14248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14250 if (SWIG_arg_fail(1)) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14271 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14282 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14303 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14307 PyObject
* obj0
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14314 if (SWIG_arg_fail(1)) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14335 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14346 if (SWIG_arg_fail(1)) SWIG_fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14367 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14378 if (SWIG_arg_fail(1)) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_From_long((long)(result
));
14395 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14399 PyObject
* obj0
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14406 if (SWIG_arg_fail(1)) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= SWIG_From_int((int)(result
));
14423 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14434 if (SWIG_arg_fail(1)) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= result
;
14449 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14460 if (SWIG_arg_fail(1)) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 resultobj
= result
;
14475 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14478 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14480 return Py_BuildValue((char *)"");
14482 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxWindow
*arg1
= (wxWindow
*) 0 ;
14485 wxString
*arg2
= 0 ;
14486 wxString
*arg3
= 0 ;
14487 int arg4
= (int) 0 ;
14488 wxString
*arg5
= (wxString
*) NULL
;
14489 long arg6
= (long) wxCHOICEDLG_STYLE
;
14490 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14491 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14492 wxMultiChoiceDialog
*result
;
14493 bool temp2
= false ;
14494 bool temp3
= false ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 PyObject
* obj2
= 0 ;
14499 PyObject
* obj3
= 0 ;
14500 PyObject
* obj4
= 0 ;
14501 PyObject
* obj5
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14508 if (SWIG_arg_fail(1)) SWIG_fail
;
14510 arg2
= wxString_in_helper(obj1
);
14511 if (arg2
== NULL
) SWIG_fail
;
14515 arg3
= wxString_in_helper(obj2
);
14516 if (arg3
== NULL
) SWIG_fail
;
14521 arg4
= PyList_Size(obj3
);
14522 arg5
= wxString_LIST_helper(obj3
);
14523 if (arg5
== NULL
) SWIG_fail
;
14528 arg6
= (long)(SWIG_As_long(obj4
));
14529 if (SWIG_arg_fail(6)) SWIG_fail
;
14535 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14539 if (!wxPyCheckForApp()) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14556 if (arg5
) delete [] arg5
;
14569 if (arg5
) delete [] arg5
;
14575 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14578 wxArrayInt
*arg2
= 0 ;
14579 bool temp2
= false ;
14580 PyObject
* obj0
= 0 ;
14581 PyObject
* obj1
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "self",(char *) "selections", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14588 if (SWIG_arg_fail(1)) SWIG_fail
;
14590 if (! PySequence_Check(obj1
)) {
14591 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14594 arg2
= new wxArrayInt
;
14596 int i
, len
=PySequence_Length(obj1
);
14597 for (i
=0; i
<len
; i
++) {
14598 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14599 PyObject
* number
= PyNumber_Int(item
);
14600 arg2
->Add(PyInt_AS_LONG(number
));
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 Py_INCREF(Py_None
); resultobj
= Py_None
;
14614 if (temp2
) delete arg2
;
14619 if (temp2
) delete arg2
;
14625 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "self", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14636 if (SWIG_arg_fail(1)) SWIG_fail
;
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14641 wxPyEndAllowThreads(__tstate
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= result
;
14651 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14654 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14656 return Py_BuildValue((char *)"");
14658 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxWindow
*arg1
= (wxWindow
*) 0 ;
14661 wxString
*arg2
= 0 ;
14662 wxString
*arg3
= 0 ;
14664 wxString
*arg5
= (wxString
*) 0 ;
14665 long arg6
= (long) wxCHOICEDLG_STYLE
;
14666 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14667 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14668 wxSingleChoiceDialog
*result
;
14669 bool temp2
= false ;
14670 bool temp3
= false ;
14672 PyObject
* obj0
= 0 ;
14673 PyObject
* obj1
= 0 ;
14674 PyObject
* obj2
= 0 ;
14675 PyObject
* obj3
= 0 ;
14676 PyObject
* obj4
= 0 ;
14677 PyObject
* obj5
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14684 if (SWIG_arg_fail(1)) SWIG_fail
;
14686 arg2
= wxString_in_helper(obj1
);
14687 if (arg2
== NULL
) SWIG_fail
;
14691 arg3
= wxString_in_helper(obj2
);
14692 if (arg3
== NULL
) SWIG_fail
;
14696 arg4
= PyList_Size(obj3
);
14697 arg5
= wxString_LIST_helper(obj3
);
14698 if (arg5
== NULL
) SWIG_fail
;
14702 arg6
= (long)(SWIG_As_long(obj4
));
14703 if (SWIG_arg_fail(6)) SWIG_fail
;
14709 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14713 if (!wxPyCheckForApp()) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14730 if (arg5
) delete [] arg5
;
14743 if (arg5
) delete [] arg5
;
14749 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14760 if (SWIG_arg_fail(1)) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= (int)(arg1
)->GetSelection();
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_From_int((int)(result
));
14777 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (arg1
)->GetStringSelection();
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14809 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self",(char *) "sel", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14821 if (SWIG_arg_fail(1)) SWIG_fail
;
14823 arg2
= (int)(SWIG_As_int(obj1
));
14824 if (SWIG_arg_fail(2)) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 (arg1
)->SetSelection(arg2
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 Py_INCREF(Py_None
); resultobj
= Py_None
;
14840 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14843 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14845 return Py_BuildValue((char *)"");
14847 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxWindow
*arg1
= (wxWindow
*) 0 ;
14850 wxString
*arg2
= 0 ;
14851 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14852 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14853 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14854 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14855 long arg5
= (long) wxTextEntryDialogStyle
;
14856 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14857 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14858 wxTextEntryDialog
*result
;
14859 bool temp2
= false ;
14860 bool temp3
= false ;
14861 bool temp4
= false ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 PyObject
* obj2
= 0 ;
14866 PyObject
* obj3
= 0 ;
14867 PyObject
* obj4
= 0 ;
14868 PyObject
* obj5
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14875 if (SWIG_arg_fail(1)) SWIG_fail
;
14877 arg2
= wxString_in_helper(obj1
);
14878 if (arg2
== NULL
) SWIG_fail
;
14883 arg3
= wxString_in_helper(obj2
);
14884 if (arg3
== NULL
) SWIG_fail
;
14890 arg4
= wxString_in_helper(obj3
);
14891 if (arg4
== NULL
) SWIG_fail
;
14897 arg5
= (long)(SWIG_As_long(obj4
));
14898 if (SWIG_arg_fail(5)) SWIG_fail
;
14904 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14908 if (!wxPyCheckForApp()) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
14946 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14947 PyObject
*resultobj
;
14948 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14950 PyObject
* obj0
= 0 ;
14951 char *kwnames
[] = {
14952 (char *) "self", NULL
14955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
14956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14957 if (SWIG_arg_fail(1)) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (arg1
)->GetValue();
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14978 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
14981 wxString
*arg2
= 0 ;
14982 bool temp2
= false ;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self",(char *) "value", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
14991 if (SWIG_arg_fail(1)) SWIG_fail
;
14993 arg2
= wxString_in_helper(obj1
);
14994 if (arg2
== NULL
) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 (arg1
)->SetValue((wxString
const &)*arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 Py_INCREF(Py_None
); resultobj
= Py_None
;
15019 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15022 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15024 return Py_BuildValue((char *)"");
15026 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15027 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15032 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15037 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15039 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15046 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxWindow
*arg1
= (wxWindow
*) 0 ;
15049 wxString
*arg2
= 0 ;
15050 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15052 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15053 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15054 long arg5
= (long) wxTextEntryDialogStyle
;
15055 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15056 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15057 wxPasswordEntryDialog
*result
;
15058 bool temp2
= false ;
15059 bool temp3
= false ;
15060 bool temp4
= false ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 PyObject
* obj2
= 0 ;
15065 PyObject
* obj3
= 0 ;
15066 PyObject
* obj4
= 0 ;
15067 PyObject
* obj5
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15074 if (SWIG_arg_fail(1)) SWIG_fail
;
15076 arg2
= wxString_in_helper(obj1
);
15077 if (arg2
== NULL
) SWIG_fail
;
15082 arg3
= wxString_in_helper(obj2
);
15083 if (arg3
== NULL
) SWIG_fail
;
15089 arg4
= wxString_in_helper(obj3
);
15090 if (arg4
== NULL
) SWIG_fail
;
15096 arg5
= (long)(SWIG_As_long(obj4
));
15097 if (SWIG_arg_fail(5)) SWIG_fail
;
15103 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15144 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15147 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15149 return Py_BuildValue((char *)"");
15151 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxFontData
*result
;
15154 char *kwnames
[] = {
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxFontData
*)new wxFontData();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15173 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxFontData
*arg1
= (wxFontData
*) 0 ;
15176 PyObject
* obj0
= 0 ;
15177 char *kwnames
[] = {
15178 (char *) "self", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15183 if (SWIG_arg_fail(1)) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15191 Py_INCREF(Py_None
); resultobj
= Py_None
;
15198 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxFontData
*arg1
= (wxFontData
*) 0 ;
15202 PyObject
* obj0
= 0 ;
15203 PyObject
* obj1
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self",(char *) "enable", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15210 if (SWIG_arg_fail(1)) SWIG_fail
;
15212 arg2
= (bool)(SWIG_As_bool(obj1
));
15213 if (SWIG_arg_fail(2)) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 (arg1
)->EnableEffects(arg2
);
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 Py_INCREF(Py_None
); resultobj
= Py_None
;
15229 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxFontData
*arg1
= (wxFontData
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 char *kwnames
[] = {
15235 (char *) "self", NULL
15238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15240 if (SWIG_arg_fail(1)) SWIG_fail
;
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 result
= (bool)(arg1
)->GetAllowSymbols();
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15257 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 wxFontData
*arg1
= (wxFontData
*) 0 ;
15261 PyObject
* obj0
= 0 ;
15262 char *kwnames
[] = {
15263 (char *) "self", NULL
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15268 if (SWIG_arg_fail(1)) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (arg1
)->GetColour();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 wxColour
* resultptr
;
15278 resultptr
= new wxColour((wxColour
&)(result
));
15279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15287 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15289 wxFontData
*arg1
= (wxFontData
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15298 if (SWIG_arg_fail(1)) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (arg1
)->GetChosenFont();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 wxFont
* resultptr
;
15308 resultptr
= new wxFont((wxFont
&)(result
));
15309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15317 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxFontData
*arg1
= (wxFontData
*) 0 ;
15321 PyObject
* obj0
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15328 if (SWIG_arg_fail(1)) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (bool)(arg1
)->GetEnableEffects();
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15345 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15347 wxFontData
*arg1
= (wxFontData
*) 0 ;
15349 PyObject
* obj0
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "self", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15356 if (SWIG_arg_fail(1)) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 result
= (arg1
)->GetInitialFont();
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15365 wxFont
* resultptr
;
15366 resultptr
= new wxFont((wxFont
&)(result
));
15367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15375 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxFontData
*arg1
= (wxFontData
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15386 if (SWIG_arg_fail(1)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= (bool)(arg1
)->GetShowHelp();
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15403 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxFontData
*arg1
= (wxFontData
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "allowSymbols", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15415 if (SWIG_arg_fail(1)) SWIG_fail
;
15417 arg2
= (bool)(SWIG_As_bool(obj1
));
15418 if (SWIG_arg_fail(2)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 (arg1
)->SetAllowSymbols(arg2
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 Py_INCREF(Py_None
); resultobj
= Py_None
;
15434 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxFontData
*arg1
= (wxFontData
*) 0 ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "font", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15446 if (SWIG_arg_fail(1)) SWIG_fail
;
15448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15449 if (SWIG_arg_fail(2)) SWIG_fail
;
15450 if (arg2
== NULL
) {
15451 SWIG_null_ref("wxFont");
15453 if (SWIG_arg_fail(2)) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 Py_INCREF(Py_None
); resultobj
= Py_None
;
15469 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxFontData
*arg1
= (wxFontData
*) 0 ;
15472 wxColour
*arg2
= 0 ;
15474 PyObject
* obj0
= 0 ;
15475 PyObject
* obj1
= 0 ;
15476 char *kwnames
[] = {
15477 (char *) "self",(char *) "colour", NULL
15480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15482 if (SWIG_arg_fail(1)) SWIG_fail
;
15485 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 (arg1
)->SetColour((wxColour
const &)*arg2
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxFontData
*arg1
= (wxFontData
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 PyObject
* obj1
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "font", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15513 if (SWIG_arg_fail(1)) SWIG_fail
;
15515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15516 if (SWIG_arg_fail(2)) SWIG_fail
;
15517 if (arg2
== NULL
) {
15518 SWIG_null_ref("wxFont");
15520 if (SWIG_arg_fail(2)) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 Py_INCREF(Py_None
); resultobj
= Py_None
;
15536 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxFontData
*arg1
= (wxFontData
*) 0 ;
15541 PyObject
* obj0
= 0 ;
15542 PyObject
* obj1
= 0 ;
15543 PyObject
* obj2
= 0 ;
15544 char *kwnames
[] = {
15545 (char *) "self",(char *) "min",(char *) "max", NULL
15548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15550 if (SWIG_arg_fail(1)) SWIG_fail
;
15552 arg2
= (int)(SWIG_As_int(obj1
));
15553 if (SWIG_arg_fail(2)) SWIG_fail
;
15556 arg3
= (int)(SWIG_As_int(obj2
));
15557 if (SWIG_arg_fail(3)) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 (arg1
)->SetRange(arg2
,arg3
);
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15566 Py_INCREF(Py_None
); resultobj
= Py_None
;
15573 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxFontData
*arg1
= (wxFontData
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self",(char *) "showHelp", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15585 if (SWIG_arg_fail(1)) SWIG_fail
;
15587 arg2
= (bool)(SWIG_As_bool(obj1
));
15588 if (SWIG_arg_fail(2)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 (arg1
)->SetShowHelp(arg2
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 Py_INCREF(Py_None
); resultobj
= Py_None
;
15604 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15607 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15609 return Py_BuildValue((char *)"");
15611 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxWindow
*arg1
= (wxWindow
*) 0 ;
15614 wxFontData
*arg2
= 0 ;
15615 wxFontDialog
*result
;
15616 PyObject
* obj0
= 0 ;
15617 PyObject
* obj1
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "parent",(char *) "data", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15624 if (SWIG_arg_fail(1)) SWIG_fail
;
15626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15627 if (SWIG_arg_fail(2)) SWIG_fail
;
15628 if (arg2
== NULL
) {
15629 SWIG_null_ref("wxFontData");
15631 if (SWIG_arg_fail(2)) SWIG_fail
;
15634 if (!wxPyCheckForApp()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15648 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15651 wxFontData
*result
;
15652 PyObject
* obj0
= 0 ;
15653 char *kwnames
[] = {
15654 (char *) "self", NULL
15657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15659 if (SWIG_arg_fail(1)) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15664 result
= (wxFontData
*) &_result_ref
;
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15677 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15680 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15682 return Py_BuildValue((char *)"");
15684 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxWindow
*arg1
= (wxWindow
*) 0 ;
15687 wxString
*arg2
= 0 ;
15688 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15689 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15690 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15691 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15692 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15693 wxMessageDialog
*result
;
15694 bool temp2
= false ;
15695 bool temp3
= false ;
15697 PyObject
* obj0
= 0 ;
15698 PyObject
* obj1
= 0 ;
15699 PyObject
* obj2
= 0 ;
15700 PyObject
* obj3
= 0 ;
15701 PyObject
* obj4
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15708 if (SWIG_arg_fail(1)) SWIG_fail
;
15710 arg2
= wxString_in_helper(obj1
);
15711 if (arg2
== NULL
) SWIG_fail
;
15716 arg3
= wxString_in_helper(obj2
);
15717 if (arg3
== NULL
) SWIG_fail
;
15723 arg4
= (long)(SWIG_As_long(obj3
));
15724 if (SWIG_arg_fail(4)) SWIG_fail
;
15730 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15734 if (!wxPyCheckForApp()) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15764 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15767 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15769 return Py_BuildValue((char *)"");
15771 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxString
*arg1
= 0 ;
15774 wxString
*arg2
= 0 ;
15775 int arg3
= (int) 100 ;
15776 wxWindow
*arg4
= (wxWindow
*) NULL
;
15777 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15778 wxProgressDialog
*result
;
15779 bool temp1
= false ;
15780 bool temp2
= false ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 PyObject
* obj2
= 0 ;
15784 PyObject
* obj3
= 0 ;
15785 PyObject
* obj4
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15792 arg1
= wxString_in_helper(obj0
);
15793 if (arg1
== NULL
) SWIG_fail
;
15797 arg2
= wxString_in_helper(obj1
);
15798 if (arg2
== NULL
) SWIG_fail
;
15803 arg3
= (int)(SWIG_As_int(obj2
));
15804 if (SWIG_arg_fail(3)) SWIG_fail
;
15808 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15809 if (SWIG_arg_fail(4)) SWIG_fail
;
15813 arg5
= (int)(SWIG_As_int(obj4
));
15814 if (SWIG_arg_fail(5)) SWIG_fail
;
15818 if (!wxPyCheckForApp()) SWIG_fail
;
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15848 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15852 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15853 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15855 bool temp3
= false ;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 PyObject
* obj2
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15865 if (SWIG_arg_fail(1)) SWIG_fail
;
15867 arg2
= (int)(SWIG_As_int(obj1
));
15868 if (SWIG_arg_fail(2)) SWIG_fail
;
15872 arg3
= wxString_in_helper(obj2
);
15873 if (arg3
== NULL
) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15901 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15904 PyObject
* obj0
= 0 ;
15905 char *kwnames
[] = {
15906 (char *) "self", NULL
15909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15911 if (SWIG_arg_fail(1)) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15926 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15929 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15931 return Py_BuildValue((char *)"");
15933 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15936 int arg2
= (int) 0 ;
15937 wxFindDialogEvent
*result
;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "commandType",(char *) "id", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15947 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15948 if (SWIG_arg_fail(1)) SWIG_fail
;
15953 arg2
= (int)(SWIG_As_int(obj1
));
15954 if (SWIG_arg_fail(2)) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
15971 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
15975 PyObject
* obj0
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
15981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
15982 if (SWIG_arg_fail(1)) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15985 result
= (int)(arg1
)->GetFlags();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15991 resultobj
= SWIG_From_int((int)(result
));
15999 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(1)) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 wxString
const &_result_ref
= (arg1
)->GetFindString();
16015 result
= (wxString
*) &_result_ref
;
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16025 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16034 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16045 if (SWIG_arg_fail(1)) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16050 result
= (wxString
*) &_result_ref
;
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16058 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16060 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16069 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16072 wxFindReplaceDialog
*result
;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16080 if (SWIG_arg_fail(1)) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16095 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self",(char *) "flags", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16107 if (SWIG_arg_fail(1)) SWIG_fail
;
16109 arg2
= (int)(SWIG_As_int(obj1
));
16110 if (SWIG_arg_fail(2)) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 (arg1
)->SetFlags(arg2
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16129 wxString
*arg2
= 0 ;
16130 bool temp2
= false ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "str", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16139 if (SWIG_arg_fail(1)) SWIG_fail
;
16141 arg2
= wxString_in_helper(obj1
);
16142 if (arg2
== NULL
) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 (arg1
)->SetFindString((wxString
const &)*arg2
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 Py_INCREF(Py_None
); resultobj
= Py_None
;
16167 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16170 wxString
*arg2
= 0 ;
16171 bool temp2
= false ;
16172 PyObject
* obj0
= 0 ;
16173 PyObject
* obj1
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self",(char *) "str", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16180 if (SWIG_arg_fail(1)) SWIG_fail
;
16182 arg2
= wxString_in_helper(obj1
);
16183 if (arg2
== NULL
) SWIG_fail
;
16187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16188 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16190 wxPyEndAllowThreads(__tstate
);
16191 if (PyErr_Occurred()) SWIG_fail
;
16193 Py_INCREF(Py_None
); resultobj
= Py_None
;
16208 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16211 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16213 return Py_BuildValue((char *)"");
16215 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16216 PyObject
*resultobj
;
16217 int arg1
= (int) 0 ;
16218 wxFindReplaceData
*result
;
16219 PyObject
* obj0
= 0 ;
16220 char *kwnames
[] = {
16221 (char *) "flags", NULL
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16227 arg1
= (int)(SWIG_As_int(obj0
));
16228 if (SWIG_arg_fail(1)) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16245 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16255 if (SWIG_arg_fail(1)) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 Py_INCREF(Py_None
); resultobj
= Py_None
;
16270 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16281 if (SWIG_arg_fail(1)) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 wxString
const &_result_ref
= (arg1
)->GetFindString();
16286 result
= (wxString
*) &_result_ref
;
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16296 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16305 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16316 if (SWIG_arg_fail(1)) SWIG_fail
;
16318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16321 result
= (wxString
*) &_result_ref
;
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16331 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16340 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16351 if (SWIG_arg_fail(1)) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 result
= (int)(arg1
)->GetFlags();
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= SWIG_From_int((int)(result
));
16368 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16369 PyObject
*resultobj
;
16370 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self",(char *) "flags", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail
;
16382 arg2
= (int)(SWIG_As_int(obj1
));
16383 if (SWIG_arg_fail(2)) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 (arg1
)->SetFlags(arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 Py_INCREF(Py_None
); resultobj
= Py_None
;
16399 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16402 wxString
*arg2
= 0 ;
16403 bool temp2
= false ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "str", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16412 if (SWIG_arg_fail(1)) SWIG_fail
;
16414 arg2
= wxString_in_helper(obj1
);
16415 if (arg2
== NULL
) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 (arg1
)->SetFindString((wxString
const &)*arg2
);
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 Py_INCREF(Py_None
); resultobj
= Py_None
;
16440 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
;
16442 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16443 wxString
*arg2
= 0 ;
16444 bool temp2
= false ;
16445 PyObject
* obj0
= 0 ;
16446 PyObject
* obj1
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self",(char *) "str", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16453 if (SWIG_arg_fail(1)) SWIG_fail
;
16455 arg2
= wxString_in_helper(obj1
);
16456 if (arg2
== NULL
) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 Py_INCREF(Py_None
); resultobj
= Py_None
;
16481 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16484 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16486 return Py_BuildValue((char *)"");
16488 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
;
16490 wxWindow
*arg1
= (wxWindow
*) 0 ;
16491 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16492 wxString
*arg3
= 0 ;
16493 int arg4
= (int) 0 ;
16494 wxFindReplaceDialog
*result
;
16495 bool temp3
= false ;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 PyObject
* obj2
= 0 ;
16499 PyObject
* obj3
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16506 if (SWIG_arg_fail(1)) SWIG_fail
;
16507 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16508 if (SWIG_arg_fail(2)) SWIG_fail
;
16510 arg3
= wxString_in_helper(obj2
);
16511 if (arg3
== NULL
) SWIG_fail
;
16516 arg4
= (int)(SWIG_As_int(obj3
));
16517 if (SWIG_arg_fail(4)) SWIG_fail
;
16521 if (!wxPyCheckForApp()) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16543 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxFindReplaceDialog
*result
;
16546 char *kwnames
[] = {
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16552 if (!wxPyCheckForApp()) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16566 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16569 wxWindow
*arg2
= (wxWindow
*) 0 ;
16570 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16571 wxString
*arg4
= 0 ;
16572 int arg5
= (int) 0 ;
16574 bool temp4
= false ;
16575 PyObject
* obj0
= 0 ;
16576 PyObject
* obj1
= 0 ;
16577 PyObject
* obj2
= 0 ;
16578 PyObject
* obj3
= 0 ;
16579 PyObject
* obj4
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail
;
16587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16588 if (SWIG_arg_fail(2)) SWIG_fail
;
16589 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16590 if (SWIG_arg_fail(3)) SWIG_fail
;
16592 arg4
= wxString_in_helper(obj3
);
16593 if (arg4
== NULL
) SWIG_fail
;
16598 arg5
= (int)(SWIG_As_int(obj4
));
16599 if (SWIG_arg_fail(5)) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16626 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16629 wxFindReplaceData
*result
;
16630 PyObject
* obj0
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16637 if (SWIG_arg_fail(1)) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16652 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16655 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 char *kwnames
[] = {
16659 (char *) "self",(char *) "data", NULL
16662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16664 if (SWIG_arg_fail(1)) SWIG_fail
;
16665 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16666 if (SWIG_arg_fail(2)) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 (arg1
)->SetData(arg2
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 Py_INCREF(Py_None
); resultobj
= Py_None
;
16681 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16684 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16686 return Py_BuildValue((char *)"");
16688 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxWindow
*arg1
= (wxWindow
*) 0 ;
16691 int arg2
= (int) (int)-1 ;
16692 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16693 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16694 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16695 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16696 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16697 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16698 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16699 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16700 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16701 wxMDIParentFrame
*result
;
16702 bool temp3
= false ;
16705 bool temp7
= false ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 PyObject
* obj2
= 0 ;
16709 PyObject
* obj3
= 0 ;
16710 PyObject
* obj4
= 0 ;
16711 PyObject
* obj5
= 0 ;
16712 PyObject
* obj6
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16719 if (SWIG_arg_fail(1)) SWIG_fail
;
16722 arg2
= (int const)(SWIG_As_int(obj1
));
16723 if (SWIG_arg_fail(2)) SWIG_fail
;
16728 arg3
= wxString_in_helper(obj2
);
16729 if (arg3
== NULL
) SWIG_fail
;
16736 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16742 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16747 arg6
= (long)(SWIG_As_long(obj5
));
16748 if (SWIG_arg_fail(6)) SWIG_fail
;
16753 arg7
= wxString_in_helper(obj6
);
16754 if (arg7
== NULL
) SWIG_fail
;
16759 if (!wxPyCheckForApp()) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16789 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 wxMDIParentFrame
*result
;
16792 char *kwnames
[] = {
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16798 if (!wxPyCheckForApp()) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16812 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16815 wxWindow
*arg2
= (wxWindow
*) 0 ;
16816 int arg3
= (int) (int)-1 ;
16817 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16818 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16819 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16820 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16821 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16822 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16823 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16824 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16827 bool temp4
= false ;
16830 bool temp8
= false ;
16831 PyObject
* obj0
= 0 ;
16832 PyObject
* obj1
= 0 ;
16833 PyObject
* obj2
= 0 ;
16834 PyObject
* obj3
= 0 ;
16835 PyObject
* obj4
= 0 ;
16836 PyObject
* obj5
= 0 ;
16837 PyObject
* obj6
= 0 ;
16838 PyObject
* obj7
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16845 if (SWIG_arg_fail(1)) SWIG_fail
;
16846 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16847 if (SWIG_arg_fail(2)) SWIG_fail
;
16850 arg3
= (int const)(SWIG_As_int(obj2
));
16851 if (SWIG_arg_fail(3)) SWIG_fail
;
16856 arg4
= wxString_in_helper(obj3
);
16857 if (arg4
== NULL
) SWIG_fail
;
16864 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16870 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16875 arg7
= (long)(SWIG_As_long(obj6
));
16876 if (SWIG_arg_fail(7)) SWIG_fail
;
16881 arg8
= wxString_in_helper(obj7
);
16882 if (arg8
== NULL
) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16918 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16928 if (SWIG_arg_fail(1)) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 (arg1
)->ActivateNext();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 Py_INCREF(Py_None
); resultobj
= Py_None
;
16943 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16946 PyObject
* obj0
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "self", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
16952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16953 if (SWIG_arg_fail(1)) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 (arg1
)->ActivatePrevious();
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 Py_INCREF(Py_None
); resultobj
= Py_None
;
16968 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",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 (arg1
)->ArrangeIcons();
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 Py_INCREF(Py_None
); resultobj
= Py_None
;
16993 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16996 PyObject
* obj0
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "self", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17003 if (SWIG_arg_fail(1)) SWIG_fail
;
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17011 Py_INCREF(Py_None
); resultobj
= Py_None
;
17018 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17021 wxMDIChildFrame
*result
;
17022 PyObject
* obj0
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17029 if (SWIG_arg_fail(1)) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= wxPyMake_wxObject(result
, 0);
17046 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17049 wxMDIClientWindow
*result
;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17057 if (SWIG_arg_fail(1)) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= wxPyMake_wxObject(result
, 0);
17074 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17085 if (SWIG_arg_fail(1)) SWIG_fail
;
17087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17088 result
= (wxWindow
*)(arg1
)->GetToolBar();
17090 wxPyEndAllowThreads(__tstate
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= wxPyMake_wxObject(result
, 0);
17102 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
;
17104 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17105 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17106 PyObject
* obj0
= 0 ;
17107 PyObject
* obj1
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self",(char *) "orient", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17114 if (SWIG_arg_fail(1)) SWIG_fail
;
17117 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17118 if (SWIG_arg_fail(2)) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->Tile((wxOrientation
)arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 Py_INCREF(Py_None
); resultobj
= Py_None
;
17135 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17138 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17140 return Py_BuildValue((char *)"");
17142 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17145 int arg2
= (int) (int)-1 ;
17146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17152 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17153 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17155 wxMDIChildFrame
*result
;
17156 bool temp3
= false ;
17159 bool temp7
= false ;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 PyObject
* obj2
= 0 ;
17163 PyObject
* obj3
= 0 ;
17164 PyObject
* obj4
= 0 ;
17165 PyObject
* obj5
= 0 ;
17166 PyObject
* obj6
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17173 if (SWIG_arg_fail(1)) SWIG_fail
;
17176 arg2
= (int const)(SWIG_As_int(obj1
));
17177 if (SWIG_arg_fail(2)) SWIG_fail
;
17182 arg3
= wxString_in_helper(obj2
);
17183 if (arg3
== NULL
) SWIG_fail
;
17190 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17196 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17201 arg6
= (long)(SWIG_As_long(obj5
));
17202 if (SWIG_arg_fail(6)) SWIG_fail
;
17207 arg7
= wxString_in_helper(obj6
);
17208 if (arg7
== NULL
) SWIG_fail
;
17213 if (!wxPyCheckForApp()) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17243 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxMDIChildFrame
*result
;
17246 char *kwnames
[] = {
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17252 if (!wxPyCheckForApp()) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17266 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17269 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17270 int arg3
= (int) (int)-1 ;
17271 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17273 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17274 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17275 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17276 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17277 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17278 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17279 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17281 bool temp4
= false ;
17284 bool temp8
= false ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 PyObject
* obj2
= 0 ;
17288 PyObject
* obj3
= 0 ;
17289 PyObject
* obj4
= 0 ;
17290 PyObject
* obj5
= 0 ;
17291 PyObject
* obj6
= 0 ;
17292 PyObject
* obj7
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17299 if (SWIG_arg_fail(1)) SWIG_fail
;
17300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17301 if (SWIG_arg_fail(2)) SWIG_fail
;
17304 arg3
= (int const)(SWIG_As_int(obj2
));
17305 if (SWIG_arg_fail(3)) SWIG_fail
;
17310 arg4
= wxString_in_helper(obj3
);
17311 if (arg4
== NULL
) SWIG_fail
;
17318 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17324 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17329 arg7
= (long)(SWIG_As_long(obj6
));
17330 if (SWIG_arg_fail(7)) SWIG_fail
;
17335 arg8
= wxString_in_helper(obj7
);
17336 if (arg8
== NULL
) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17372 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17375 PyObject
* obj0
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17382 if (SWIG_arg_fail(1)) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 (arg1
)->Activate();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 Py_INCREF(Py_None
); resultobj
= Py_None
;
17397 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17400 bool arg2
= (bool) true ;
17401 PyObject
* obj0
= 0 ;
17402 PyObject
* obj1
= 0 ;
17403 char *kwnames
[] = {
17404 (char *) "self",(char *) "maximize", NULL
17407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17409 if (SWIG_arg_fail(1)) SWIG_fail
;
17412 arg2
= (bool)(SWIG_As_bool(obj1
));
17413 if (SWIG_arg_fail(2)) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 (arg1
)->Maximize(arg2
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 Py_INCREF(Py_None
); resultobj
= Py_None
;
17430 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17432 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17433 PyObject
* obj0
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17440 if (SWIG_arg_fail(1)) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 Py_INCREF(Py_None
); resultobj
= Py_None
;
17455 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17458 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17460 return Py_BuildValue((char *)"");
17462 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17465 long arg2
= (long) 0 ;
17466 wxMDIClientWindow
*result
;
17467 PyObject
* obj0
= 0 ;
17468 PyObject
* obj1
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "parent",(char *) "style", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17475 if (SWIG_arg_fail(1)) SWIG_fail
;
17478 arg2
= (long)(SWIG_As_long(obj1
));
17479 if (SWIG_arg_fail(2)) SWIG_fail
;
17483 if (!wxPyCheckForApp()) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17497 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxMDIClientWindow
*result
;
17500 char *kwnames
[] = {
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17506 if (!wxPyCheckForApp()) SWIG_fail
;
17507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17508 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17510 wxPyEndAllowThreads(__tstate
);
17511 if (PyErr_Occurred()) SWIG_fail
;
17513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17520 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17521 PyObject
*resultobj
;
17522 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17523 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17524 long arg3
= (long) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 PyObject
* obj2
= 0 ;
17529 char *kwnames
[] = {
17530 (char *) "self",(char *) "parent",(char *) "style", NULL
17533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17535 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17537 if (SWIG_arg_fail(2)) SWIG_fail
;
17540 arg3
= (long)(SWIG_As_long(obj2
));
17541 if (SWIG_arg_fail(3)) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17560 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17563 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17565 return Py_BuildValue((char *)"");
17567 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxWindow
*arg1
= (wxWindow
*) 0 ;
17570 int arg2
= (int) (int)-1 ;
17571 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17572 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17573 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17574 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17575 long arg5
= (long) 0 ;
17576 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17577 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17578 wxPyWindow
*result
;
17581 bool temp6
= false ;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 PyObject
* obj2
= 0 ;
17585 PyObject
* obj3
= 0 ;
17586 PyObject
* obj4
= 0 ;
17587 PyObject
* obj5
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17594 if (SWIG_arg_fail(1)) SWIG_fail
;
17597 arg2
= (int const)(SWIG_As_int(obj1
));
17598 if (SWIG_arg_fail(2)) SWIG_fail
;
17604 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17610 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17615 arg5
= (long)(SWIG_As_long(obj4
));
17616 if (SWIG_arg_fail(5)) SWIG_fail
;
17621 arg6
= wxString_in_helper(obj5
);
17622 if (arg6
== NULL
) SWIG_fail
;
17627 if (!wxPyCheckForApp()) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17649 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxPyWindow
*result
;
17652 char *kwnames
[] = {
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17658 if (!wxPyCheckForApp()) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (wxPyWindow
*)new wxPyWindow();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17672 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17675 PyObject
*arg2
= (PyObject
*) 0 ;
17676 PyObject
*arg3
= (PyObject
*) 0 ;
17677 PyObject
* obj0
= 0 ;
17678 PyObject
* obj1
= 0 ;
17679 PyObject
* obj2
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self",(char *) "self",(char *) "_class", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17686 if (SWIG_arg_fail(1)) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 Py_INCREF(Py_None
); resultobj
= Py_None
;
17703 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17708 PyObject
* obj0
= 0 ;
17709 PyObject
* obj1
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "self",(char *) "size", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17716 if (SWIG_arg_fail(1)) SWIG_fail
;
17719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 Py_INCREF(Py_None
); resultobj
= Py_None
;
17735 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 PyObject
* obj2
= 0 ;
17745 PyObject
* obj3
= 0 ;
17746 PyObject
* obj4
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17753 if (SWIG_arg_fail(1)) SWIG_fail
;
17755 arg2
= (int)(SWIG_As_int(obj1
));
17756 if (SWIG_arg_fail(2)) SWIG_fail
;
17759 arg3
= (int)(SWIG_As_int(obj2
));
17760 if (SWIG_arg_fail(3)) SWIG_fail
;
17763 arg4
= (int)(SWIG_As_int(obj3
));
17764 if (SWIG_arg_fail(4)) SWIG_fail
;
17767 arg5
= (int)(SWIG_As_int(obj4
));
17768 if (SWIG_arg_fail(5)) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 Py_INCREF(Py_None
); resultobj
= Py_None
;
17784 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17791 int arg6
= (int) wxSIZE_AUTO
;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 PyObject
* obj2
= 0 ;
17795 PyObject
* obj3
= 0 ;
17796 PyObject
* obj4
= 0 ;
17797 PyObject
* obj5
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17804 if (SWIG_arg_fail(1)) SWIG_fail
;
17806 arg2
= (int)(SWIG_As_int(obj1
));
17807 if (SWIG_arg_fail(2)) SWIG_fail
;
17810 arg3
= (int)(SWIG_As_int(obj2
));
17811 if (SWIG_arg_fail(3)) SWIG_fail
;
17814 arg4
= (int)(SWIG_As_int(obj3
));
17815 if (SWIG_arg_fail(4)) SWIG_fail
;
17818 arg5
= (int)(SWIG_As_int(obj4
));
17819 if (SWIG_arg_fail(5)) SWIG_fail
;
17823 arg6
= (int)(SWIG_As_int(obj5
));
17824 if (SWIG_arg_fail(6)) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 Py_INCREF(Py_None
); resultobj
= Py_None
;
17841 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 PyObject
* obj1
= 0 ;
17848 PyObject
* obj2
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self",(char *) "width",(char *) "height", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17855 if (SWIG_arg_fail(1)) SWIG_fail
;
17857 arg2
= (int)(SWIG_As_int(obj1
));
17858 if (SWIG_arg_fail(2)) SWIG_fail
;
17861 arg3
= (int)(SWIG_As_int(obj2
));
17862 if (SWIG_arg_fail(3)) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 PyObject
* obj2
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "x",(char *) "y", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 arg2
= (int)(SWIG_As_int(obj1
));
17895 if (SWIG_arg_fail(2)) SWIG_fail
;
17898 arg3
= (int)(SWIG_As_int(obj2
));
17899 if (SWIG_arg_fail(3)) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 Py_INCREF(Py_None
); resultobj
= Py_None
;
17915 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17918 int *arg2
= (int *) 0 ;
17919 int *arg3
= (int *) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self", NULL
17929 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17930 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17933 if (SWIG_arg_fail(1)) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17936 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 Py_INCREF(Py_None
); resultobj
= Py_None
;
17942 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17943 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17944 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17945 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17952 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17955 int *arg2
= (int *) 0 ;
17956 int *arg3
= (int *) 0 ;
17961 PyObject
* obj0
= 0 ;
17962 char *kwnames
[] = {
17963 (char *) "self", NULL
17966 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17967 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 Py_INCREF(Py_None
); resultobj
= Py_None
;
17979 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17980 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17981 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17982 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17989 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17992 int *arg2
= (int *) 0 ;
17993 int *arg3
= (int *) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 Py_INCREF(Py_None
); resultobj
= Py_None
;
18016 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18017 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18018 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18019 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18026 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18030 PyObject
* obj0
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18037 if (SWIG_arg_fail(1)) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18046 wxSize
* resultptr
;
18047 resultptr
= new wxSize((wxSize
&)(result
));
18048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18056 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18067 if (SWIG_arg_fail(1)) SWIG_fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18076 wxSize
* resultptr
;
18077 resultptr
= new wxSize((wxSize
&)(result
));
18078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18086 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18096 if (SWIG_arg_fail(1)) SWIG_fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 (arg1
)->base_InitDialog();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 Py_INCREF(Py_None
); resultobj
= Py_None
;
18111 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 char *kwnames
[] = {
18117 (char *) "self", NULL
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18122 if (SWIG_arg_fail(1)) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 result
= (bool)(arg1
)->base_TransferDataToWindow();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18139 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
;
18141 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18167 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18168 PyObject
*resultobj
;
18169 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18171 PyObject
* obj0
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18178 if (SWIG_arg_fail(1)) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (bool)(arg1
)->base_Validate();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18195 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18206 if (SWIG_arg_fail(1)) SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18223 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 char *kwnames
[] = {
18229 (char *) "self", NULL
18232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18234 if (SWIG_arg_fail(1)) SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18251 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18253 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18255 PyObject
* obj0
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "self", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18262 if (SWIG_arg_fail(1)) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 wxSize
* resultptr
;
18272 resultptr
= new wxSize((wxSize
&)(result
));
18273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18281 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18284 wxWindow
*arg2
= (wxWindow
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self",(char *) "child", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",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
;
18294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(2)) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 (arg1
)->base_AddChild(arg2
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 Py_INCREF(Py_None
); resultobj
= Py_None
;
18310 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18313 wxWindow
*arg2
= (wxWindow
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 PyObject
* obj1
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self",(char *) "child", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18322 if (SWIG_arg_fail(1)) SWIG_fail
;
18323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18324 if (SWIG_arg_fail(2)) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 (arg1
)->base_RemoveChild(arg2
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 Py_INCREF(Py_None
); resultobj
= Py_None
;
18339 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18350 if (SWIG_arg_fail(1)) SWIG_fail
;
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18367 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18370 wxVisualAttributes result
;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "self", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18378 if (SWIG_arg_fail(1)) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (arg1
)->base_GetDefaultAttributes();
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 wxVisualAttributes
* resultptr
;
18388 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18397 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18400 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18402 return Py_BuildValue((char *)"");
18404 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxWindow
*arg1
= (wxWindow
*) 0 ;
18407 int arg2
= (int) (int)-1 ;
18408 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18409 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18410 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18411 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18412 long arg5
= (long) 0 ;
18413 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18414 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18418 bool temp6
= false ;
18419 PyObject
* obj0
= 0 ;
18420 PyObject
* obj1
= 0 ;
18421 PyObject
* obj2
= 0 ;
18422 PyObject
* obj3
= 0 ;
18423 PyObject
* obj4
= 0 ;
18424 PyObject
* obj5
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail
;
18434 arg2
= (int const)(SWIG_As_int(obj1
));
18435 if (SWIG_arg_fail(2)) SWIG_fail
;
18441 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18447 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18452 arg5
= (long)(SWIG_As_long(obj4
));
18453 if (SWIG_arg_fail(5)) SWIG_fail
;
18458 arg6
= wxString_in_helper(obj5
);
18459 if (arg6
== NULL
) SWIG_fail
;
18464 if (!wxPyCheckForApp()) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18486 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18489 char *kwnames
[] = {
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18495 if (!wxPyCheckForApp()) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (wxPyPanel
*)new wxPyPanel();
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18509 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18510 PyObject
*resultobj
;
18511 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18512 PyObject
*arg2
= (PyObject
*) 0 ;
18513 PyObject
*arg3
= (PyObject
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 PyObject
* obj2
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "self",(char *) "_class", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 Py_INCREF(Py_None
); resultobj
= Py_None
;
18540 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18545 PyObject
* obj0
= 0 ;
18546 PyObject
* obj1
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self",(char *) "size", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18553 if (SWIG_arg_fail(1)) SWIG_fail
;
18556 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 Py_INCREF(Py_None
); resultobj
= Py_None
;
18572 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 PyObject
* obj1
= 0 ;
18581 PyObject
* obj2
= 0 ;
18582 PyObject
* obj3
= 0 ;
18583 PyObject
* obj4
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18590 if (SWIG_arg_fail(1)) SWIG_fail
;
18592 arg2
= (int)(SWIG_As_int(obj1
));
18593 if (SWIG_arg_fail(2)) SWIG_fail
;
18596 arg3
= (int)(SWIG_As_int(obj2
));
18597 if (SWIG_arg_fail(3)) SWIG_fail
;
18600 arg4
= (int)(SWIG_As_int(obj3
));
18601 if (SWIG_arg_fail(4)) SWIG_fail
;
18604 arg5
= (int)(SWIG_As_int(obj4
));
18605 if (SWIG_arg_fail(5)) SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 Py_INCREF(Py_None
); resultobj
= Py_None
;
18621 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18628 int arg6
= (int) wxSIZE_AUTO
;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 PyObject
* obj2
= 0 ;
18632 PyObject
* obj3
= 0 ;
18633 PyObject
* obj4
= 0 ;
18634 PyObject
* obj5
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18641 if (SWIG_arg_fail(1)) SWIG_fail
;
18643 arg2
= (int)(SWIG_As_int(obj1
));
18644 if (SWIG_arg_fail(2)) SWIG_fail
;
18647 arg3
= (int)(SWIG_As_int(obj2
));
18648 if (SWIG_arg_fail(3)) SWIG_fail
;
18651 arg4
= (int)(SWIG_As_int(obj3
));
18652 if (SWIG_arg_fail(4)) SWIG_fail
;
18655 arg5
= (int)(SWIG_As_int(obj4
));
18656 if (SWIG_arg_fail(5)) SWIG_fail
;
18660 arg6
= (int)(SWIG_As_int(obj5
));
18661 if (SWIG_arg_fail(6)) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 Py_INCREF(Py_None
); resultobj
= Py_None
;
18678 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 PyObject
* obj2
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self",(char *) "width",(char *) "height", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18694 arg2
= (int)(SWIG_As_int(obj1
));
18695 if (SWIG_arg_fail(2)) SWIG_fail
;
18698 arg3
= (int)(SWIG_As_int(obj2
));
18699 if (SWIG_arg_fail(3)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 Py_INCREF(Py_None
); resultobj
= Py_None
;
18715 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 PyObject
* obj2
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self",(char *) "x",(char *) "y", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18729 if (SWIG_arg_fail(1)) SWIG_fail
;
18731 arg2
= (int)(SWIG_As_int(obj1
));
18732 if (SWIG_arg_fail(2)) SWIG_fail
;
18735 arg3
= (int)(SWIG_As_int(obj2
));
18736 if (SWIG_arg_fail(3)) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 Py_INCREF(Py_None
); resultobj
= Py_None
;
18752 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18755 int *arg2
= (int *) 0 ;
18756 int *arg3
= (int *) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18767 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18770 if (SWIG_arg_fail(1)) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 Py_INCREF(Py_None
); resultobj
= Py_None
;
18779 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18780 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18781 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18782 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18789 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18792 int *arg2
= (int *) 0 ;
18793 int *arg3
= (int *) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self", NULL
18803 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18804 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18807 if (SWIG_arg_fail(1)) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 Py_INCREF(Py_None
); resultobj
= Py_None
;
18816 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18817 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18818 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18819 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18826 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18829 int *arg2
= (int *) 0 ;
18830 int *arg3
= (int *) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18841 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18844 if (SWIG_arg_fail(1)) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 Py_INCREF(Py_None
); resultobj
= Py_None
;
18853 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18854 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18855 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18856 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18863 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18874 if (SWIG_arg_fail(1)) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18883 wxSize
* resultptr
;
18884 resultptr
= new wxSize((wxSize
&)(result
));
18885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18893 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(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_DoGetBestSize",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
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18913 wxSize
* resultptr
;
18914 resultptr
= new wxSize((wxSize
&)(result
));
18915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18923 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18933 if (SWIG_arg_fail(1)) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->base_InitDialog();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (bool)(arg1
)->base_TransferDataToWindow();
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18976 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18987 if (SWIG_arg_fail(1)) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19004 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19015 if (SWIG_arg_fail(1)) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (bool)(arg1
)->base_Validate();
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19032 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
;
19034 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19043 if (SWIG_arg_fail(1)) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19060 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19071 if (SWIG_arg_fail(1)) SWIG_fail
;
19073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19074 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19076 wxPyEndAllowThreads(__tstate
);
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19088 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19099 if (SWIG_arg_fail(1)) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19108 wxSize
* resultptr
;
19109 resultptr
= new wxSize((wxSize
&)(result
));
19110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19118 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19120 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19121 wxWindow
*arg2
= (wxWindow
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 PyObject
* obj1
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self",(char *) "child", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19130 if (SWIG_arg_fail(1)) SWIG_fail
;
19131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19132 if (SWIG_arg_fail(2)) SWIG_fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 (arg1
)->base_AddChild(arg2
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 Py_INCREF(Py_None
); resultobj
= Py_None
;
19147 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19150 wxWindow
*arg2
= (wxWindow
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self",(char *) "child", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19159 if (SWIG_arg_fail(1)) SWIG_fail
;
19160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19161 if (SWIG_arg_fail(2)) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 (arg1
)->base_RemoveChild(arg2
);
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19169 Py_INCREF(Py_None
); resultobj
= Py_None
;
19176 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19180 PyObject
* obj0
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "self", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19187 if (SWIG_arg_fail(1)) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19204 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19207 wxVisualAttributes result
;
19208 PyObject
* obj0
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19215 if (SWIG_arg_fail(1)) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (arg1
)->base_GetDefaultAttributes();
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19224 wxVisualAttributes
* resultptr
;
19225 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19234 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19237 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19239 return Py_BuildValue((char *)"");
19241 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxWindow
*arg1
= (wxWindow
*) 0 ;
19244 int arg2
= (int) (int)-1 ;
19245 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19246 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19247 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19248 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19249 long arg5
= (long) 0 ;
19250 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19251 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19252 wxPyScrolledWindow
*result
;
19255 bool temp6
= false ;
19256 PyObject
* obj0
= 0 ;
19257 PyObject
* obj1
= 0 ;
19258 PyObject
* obj2
= 0 ;
19259 PyObject
* obj3
= 0 ;
19260 PyObject
* obj4
= 0 ;
19261 PyObject
* obj5
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19268 if (SWIG_arg_fail(1)) SWIG_fail
;
19271 arg2
= (int const)(SWIG_As_int(obj1
));
19272 if (SWIG_arg_fail(2)) SWIG_fail
;
19278 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19284 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19289 arg5
= (long)(SWIG_As_long(obj4
));
19290 if (SWIG_arg_fail(5)) SWIG_fail
;
19295 arg6
= wxString_in_helper(obj5
);
19296 if (arg6
== NULL
) SWIG_fail
;
19301 if (!wxPyCheckForApp()) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19323 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxPyScrolledWindow
*result
;
19326 char *kwnames
[] = {
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19332 if (!wxPyCheckForApp()) SWIG_fail
;
19333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19334 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19336 wxPyEndAllowThreads(__tstate
);
19337 if (PyErr_Occurred()) SWIG_fail
;
19339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19346 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
;
19348 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19349 PyObject
*arg2
= (PyObject
*) 0 ;
19350 PyObject
*arg3
= (PyObject
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 PyObject
* obj2
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "self",(char *) "_class", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19360 if (SWIG_arg_fail(1)) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 Py_INCREF(Py_None
); resultobj
= Py_None
;
19377 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 PyObject
* obj1
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "size", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19390 if (SWIG_arg_fail(1)) SWIG_fail
;
19393 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19409 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 PyObject
* obj2
= 0 ;
19419 PyObject
* obj3
= 0 ;
19420 PyObject
* obj4
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19427 if (SWIG_arg_fail(1)) SWIG_fail
;
19429 arg2
= (int)(SWIG_As_int(obj1
));
19430 if (SWIG_arg_fail(2)) SWIG_fail
;
19433 arg3
= (int)(SWIG_As_int(obj2
));
19434 if (SWIG_arg_fail(3)) SWIG_fail
;
19437 arg4
= (int)(SWIG_As_int(obj3
));
19438 if (SWIG_arg_fail(4)) SWIG_fail
;
19441 arg5
= (int)(SWIG_As_int(obj4
));
19442 if (SWIG_arg_fail(5)) SWIG_fail
;
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19448 wxPyEndAllowThreads(__tstate
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 Py_INCREF(Py_None
); resultobj
= Py_None
;
19458 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19459 PyObject
*resultobj
;
19460 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19465 int arg6
= (int) wxSIZE_AUTO
;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 PyObject
* obj2
= 0 ;
19469 PyObject
* obj3
= 0 ;
19470 PyObject
* obj4
= 0 ;
19471 PyObject
* obj5
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(1)) SWIG_fail
;
19480 arg2
= (int)(SWIG_As_int(obj1
));
19481 if (SWIG_arg_fail(2)) SWIG_fail
;
19484 arg3
= (int)(SWIG_As_int(obj2
));
19485 if (SWIG_arg_fail(3)) SWIG_fail
;
19488 arg4
= (int)(SWIG_As_int(obj3
));
19489 if (SWIG_arg_fail(4)) SWIG_fail
;
19492 arg5
= (int)(SWIG_As_int(obj4
));
19493 if (SWIG_arg_fail(5)) SWIG_fail
;
19497 arg6
= (int)(SWIG_As_int(obj5
));
19498 if (SWIG_arg_fail(6)) SWIG_fail
;
19502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19505 wxPyEndAllowThreads(__tstate
);
19506 if (PyErr_Occurred()) SWIG_fail
;
19508 Py_INCREF(Py_None
); resultobj
= Py_None
;
19515 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19516 PyObject
*resultobj
;
19517 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19520 PyObject
* obj0
= 0 ;
19521 PyObject
* obj1
= 0 ;
19522 PyObject
* obj2
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self",(char *) "width",(char *) "height", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19529 if (SWIG_arg_fail(1)) SWIG_fail
;
19531 arg2
= (int)(SWIG_As_int(obj1
));
19532 if (SWIG_arg_fail(2)) SWIG_fail
;
19535 arg3
= (int)(SWIG_As_int(obj2
));
19536 if (SWIG_arg_fail(3)) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 Py_INCREF(Py_None
); resultobj
= Py_None
;
19552 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
;
19554 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 PyObject
* obj1
= 0 ;
19559 PyObject
* obj2
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self",(char *) "x",(char *) "y", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19566 if (SWIG_arg_fail(1)) SWIG_fail
;
19568 arg2
= (int)(SWIG_As_int(obj1
));
19569 if (SWIG_arg_fail(2)) SWIG_fail
;
19572 arg3
= (int)(SWIG_As_int(obj2
));
19573 if (SWIG_arg_fail(3)) SWIG_fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 Py_INCREF(Py_None
); resultobj
= Py_None
;
19589 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19592 int *arg2
= (int *) 0 ;
19593 int *arg3
= (int *) 0 ;
19598 PyObject
* obj0
= 0 ;
19599 char *kwnames
[] = {
19600 (char *) "self", NULL
19603 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19604 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19607 if (SWIG_arg_fail(1)) SWIG_fail
;
19609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19610 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 Py_INCREF(Py_None
); resultobj
= Py_None
;
19616 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19617 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19618 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19619 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19626 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19629 int *arg2
= (int *) 0 ;
19630 int *arg3
= (int *) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self", NULL
19640 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19641 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19644 if (SWIG_arg_fail(1)) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19652 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19654 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19655 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19656 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19663 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19666 int *arg2
= (int *) 0 ;
19667 int *arg3
= (int *) 0 ;
19672 PyObject
* obj0
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self", NULL
19677 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19678 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19681 if (SWIG_arg_fail(1)) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 Py_INCREF(Py_None
); resultobj
= Py_None
;
19690 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19691 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19692 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19693 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19700 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19711 if (SWIG_arg_fail(1)) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19720 wxSize
* resultptr
;
19721 resultptr
= new wxSize((wxSize
&)(result
));
19722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19730 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19734 PyObject
* obj0
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19741 if (SWIG_arg_fail(1)) SWIG_fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19750 wxSize
* resultptr
;
19751 resultptr
= new wxSize((wxSize
&)(result
));
19752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19760 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19770 if (SWIG_arg_fail(1)) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 (arg1
)->base_InitDialog();
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 Py_INCREF(Py_None
); resultobj
= Py_None
;
19785 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19796 if (SWIG_arg_fail(1)) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->base_TransferDataToWindow();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19824 if (SWIG_arg_fail(1)) SWIG_fail
;
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19829 wxPyEndAllowThreads(__tstate
);
19830 if (PyErr_Occurred()) SWIG_fail
;
19833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19841 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 char *kwnames
[] = {
19847 (char *) "self", NULL
19850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19852 if (SWIG_arg_fail(1)) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (bool)(arg1
)->base_Validate();
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19869 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19880 if (SWIG_arg_fail(1)) SWIG_fail
;
19882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19883 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19897 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19901 PyObject
* obj0
= 0 ;
19902 char *kwnames
[] = {
19903 (char *) "self", NULL
19906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19908 if (SWIG_arg_fail(1)) SWIG_fail
;
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19913 wxPyEndAllowThreads(__tstate
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19925 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19929 PyObject
* obj0
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19936 if (SWIG_arg_fail(1)) SWIG_fail
;
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19945 wxSize
* resultptr
;
19946 resultptr
= new wxSize((wxSize
&)(result
));
19947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19955 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19958 wxWindow
*arg2
= (wxWindow
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 PyObject
* obj1
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self",(char *) "child", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail
;
19968 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19969 if (SWIG_arg_fail(2)) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 (arg1
)->base_AddChild(arg2
);
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 Py_INCREF(Py_None
); resultobj
= Py_None
;
19984 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19987 wxWindow
*arg2
= (wxWindow
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 PyObject
* obj1
= 0 ;
19990 char *kwnames
[] = {
19991 (char *) "self",(char *) "child", NULL
19994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19996 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19998 if (SWIG_arg_fail(2)) SWIG_fail
;
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 (arg1
)->base_RemoveChild(arg2
);
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 Py_INCREF(Py_None
); resultobj
= Py_None
;
20013 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 char *kwnames
[] = {
20019 (char *) "self", NULL
20022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20024 if (SWIG_arg_fail(1)) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20041 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
;
20043 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20044 wxVisualAttributes result
;
20045 PyObject
* obj0
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20052 if (SWIG_arg_fail(1)) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= (arg1
)->base_GetDefaultAttributes();
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20061 wxVisualAttributes
* resultptr
;
20062 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20071 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20074 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20076 return Py_BuildValue((char *)"");
20078 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20079 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20084 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20089 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20091 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20098 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20099 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20104 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20109 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20111 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20118 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20119 PyObject
*resultobj
;
20120 wxPrintData
*result
;
20122 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 result
= (wxPrintData
*)new wxPrintData();
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20137 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20138 PyObject
*resultobj
;
20139 wxPrintData
*arg1
= 0 ;
20140 wxPrintData
*result
;
20141 PyObject
* obj0
= 0 ;
20143 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20146 if (SWIG_arg_fail(1)) SWIG_fail
;
20147 if (arg1
== NULL
) {
20148 SWIG_null_ref("wxPrintData");
20150 if (SWIG_arg_fail(1)) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20166 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20171 argc
= PyObject_Length(args
);
20172 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20173 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20176 return _wrap_new_PrintData__SWIG_0(self
,args
);
20182 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20190 return _wrap_new_PrintData__SWIG_1(self
,args
);
20194 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20199 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20209 if (SWIG_arg_fail(1)) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20217 Py_INCREF(Py_None
); resultobj
= Py_None
;
20224 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20228 PyObject
* obj0
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20235 if (SWIG_arg_fail(1)) SWIG_fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (int)(arg1
)->GetNoCopies();
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_From_int((int)(result
));
20252 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20263 if (SWIG_arg_fail(1)) SWIG_fail
;
20265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 result
= (bool)(arg1
)->GetCollate();
20268 wxPyEndAllowThreads(__tstate
);
20269 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20280 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20291 if (SWIG_arg_fail(1)) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (int)(arg1
)->GetOrientation();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_From_int((int)(result
));
20308 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20319 if (SWIG_arg_fail(1)) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (bool)(arg1
)->Ok();
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20336 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20347 if (SWIG_arg_fail(1)) SWIG_fail
;
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20352 result
= (wxString
*) &_result_ref
;
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20371 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20375 PyObject
* obj0
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20382 if (SWIG_arg_fail(1)) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (bool)(arg1
)->GetColour();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20399 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20402 wxDuplexMode result
;
20403 PyObject
* obj0
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20410 if (SWIG_arg_fail(1)) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= SWIG_From_int((result
));
20425 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20428 wxPaperSize result
;
20429 PyObject
* obj0
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail
;
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20444 resultobj
= SWIG_From_int((result
));
20451 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
;
20453 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20462 if (SWIG_arg_fail(1)) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20467 result
= (wxSize
*) &_result_ref
;
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20480 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20481 PyObject
*resultobj
;
20482 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20484 PyObject
* obj0
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20491 if (SWIG_arg_fail(1)) SWIG_fail
;
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 result
= (int)(arg1
)->GetQuality();
20496 wxPyEndAllowThreads(__tstate
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_From_int((int)(result
));
20508 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20519 if (SWIG_arg_fail(1)) SWIG_fail
;
20521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20522 result
= (wxPrintBin
)(arg1
)->GetBin();
20524 wxPyEndAllowThreads(__tstate
);
20525 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= SWIG_From_int((result
));
20534 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20535 PyObject
*resultobj
;
20536 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20537 wxPrintMode result
;
20538 PyObject
* obj0
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20545 if (SWIG_arg_fail(1)) SWIG_fail
;
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_From_int((result
));
20560 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 PyObject
* obj1
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self",(char *) "v", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20572 if (SWIG_arg_fail(1)) SWIG_fail
;
20574 arg2
= (int)(SWIG_As_int(obj1
));
20575 if (SWIG_arg_fail(2)) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 (arg1
)->SetNoCopies(arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20584 Py_INCREF(Py_None
); resultobj
= Py_None
;
20591 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20595 PyObject
* obj0
= 0 ;
20596 PyObject
* obj1
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self",(char *) "flag", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20603 if (SWIG_arg_fail(1)) SWIG_fail
;
20605 arg2
= (bool)(SWIG_As_bool(obj1
));
20606 if (SWIG_arg_fail(2)) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 (arg1
)->SetCollate(arg2
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 Py_INCREF(Py_None
); resultobj
= Py_None
;
20622 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
;
20624 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self",(char *) "orient", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20634 if (SWIG_arg_fail(1)) SWIG_fail
;
20636 arg2
= (int)(SWIG_As_int(obj1
));
20637 if (SWIG_arg_fail(2)) SWIG_fail
;
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 (arg1
)->SetOrientation(arg2
);
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 Py_INCREF(Py_None
); resultobj
= Py_None
;
20653 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20656 wxString
*arg2
= 0 ;
20657 bool temp2
= false ;
20658 PyObject
* obj0
= 0 ;
20659 PyObject
* obj1
= 0 ;
20660 char *kwnames
[] = {
20661 (char *) "self",(char *) "name", NULL
20664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20666 if (SWIG_arg_fail(1)) SWIG_fail
;
20668 arg2
= wxString_in_helper(obj1
);
20669 if (arg2
== NULL
) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 Py_INCREF(Py_None
); resultobj
= Py_None
;
20694 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self",(char *) "colour", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20706 if (SWIG_arg_fail(1)) SWIG_fail
;
20708 arg2
= (bool)(SWIG_As_bool(obj1
));
20709 if (SWIG_arg_fail(2)) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 (arg1
)->SetColour(arg2
);
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 Py_INCREF(Py_None
); resultobj
= Py_None
;
20725 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20728 wxDuplexMode arg2
;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "self",(char *) "duplex", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20737 if (SWIG_arg_fail(1)) SWIG_fail
;
20739 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20740 if (SWIG_arg_fail(2)) SWIG_fail
;
20743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20744 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 Py_INCREF(Py_None
); resultobj
= Py_None
;
20756 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
;
20758 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self",(char *) "sizeId", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20768 if (SWIG_arg_fail(1)) SWIG_fail
;
20770 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20771 if (SWIG_arg_fail(2)) SWIG_fail
;
20774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20775 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 Py_INCREF(Py_None
); resultobj
= Py_None
;
20787 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
;
20789 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self",(char *) "sz", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20800 if (SWIG_arg_fail(1)) SWIG_fail
;
20803 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 Py_INCREF(Py_None
); resultobj
= Py_None
;
20819 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20823 PyObject
* obj0
= 0 ;
20824 PyObject
* obj1
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self",(char *) "quality", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20831 if (SWIG_arg_fail(1)) SWIG_fail
;
20833 arg2
= (int)(SWIG_As_int(obj1
));
20834 if (SWIG_arg_fail(2)) SWIG_fail
;
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 (arg1
)->SetQuality(arg2
);
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 Py_INCREF(Py_None
); resultobj
= Py_None
;
20850 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "self",(char *) "bin", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20862 if (SWIG_arg_fail(1)) SWIG_fail
;
20864 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20865 if (SWIG_arg_fail(2)) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 (arg1
)->SetBin((wxPrintBin
)arg2
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 Py_INCREF(Py_None
); resultobj
= Py_None
;
20881 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self",(char *) "printMode", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20893 if (SWIG_arg_fail(1)) SWIG_fail
;
20895 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
20896 if (SWIG_arg_fail(2)) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20905 Py_INCREF(Py_None
); resultobj
= Py_None
;
20912 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20913 PyObject
*resultobj
;
20914 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20916 PyObject
* obj0
= 0 ;
20917 char *kwnames
[] = {
20918 (char *) "self", NULL
20921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
20922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20923 if (SWIG_arg_fail(1)) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= ((wxPrintData
const *)arg1
)->GetFilename();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20944 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20947 wxString
*arg2
= 0 ;
20948 bool temp2
= false ;
20949 PyObject
* obj0
= 0 ;
20950 PyObject
* obj1
= 0 ;
20951 char *kwnames
[] = {
20952 (char *) "self",(char *) "filename", NULL
20955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
20956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20957 if (SWIG_arg_fail(1)) SWIG_fail
;
20959 arg2
= wxString_in_helper(obj1
);
20960 if (arg2
== NULL
) SWIG_fail
;
20964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 (arg1
)->SetFilename((wxString
const &)*arg2
);
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 Py_INCREF(Py_None
); resultobj
= Py_None
;
20985 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "self", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
20995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20996 if (SWIG_arg_fail(1)) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= result
;
21011 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21014 PyObject
*arg2
= (PyObject
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "data", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21023 if (SWIG_arg_fail(1)) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 wxPrintData_SetPrivData(arg1
,arg2
);
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 Py_INCREF(Py_None
); resultobj
= Py_None
;
21039 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21050 if (SWIG_arg_fail(1)) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21055 result
= (wxString
*) &_result_ref
;
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21065 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21074 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21090 result
= (wxString
*) &_result_ref
;
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21100 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21109 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21120 if (SWIG_arg_fail(1)) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21125 result
= (wxString
*) &_result_ref
;
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21144 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21155 if (SWIG_arg_fail(1)) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21160 result
= (wxString
*) &_result_ref
;
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21170 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21179 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
;
21181 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 char *kwnames
[] = {
21185 (char *) "self", NULL
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21190 if (SWIG_arg_fail(1)) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (double)(arg1
)->GetPrinterScaleX();
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= SWIG_From_double((double)(result
));
21207 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21218 if (SWIG_arg_fail(1)) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (double)(arg1
)->GetPrinterScaleY();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_From_double((double)(result
));
21235 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21237 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21239 PyObject
* obj0
= 0 ;
21240 char *kwnames
[] = {
21241 (char *) "self", NULL
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21246 if (SWIG_arg_fail(1)) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (long)(arg1
)->GetPrinterTranslateX();
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= SWIG_From_long((long)(result
));
21263 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21267 PyObject
* obj0
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21274 if (SWIG_arg_fail(1)) SWIG_fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= (long)(arg1
)->GetPrinterTranslateY();
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_From_long((long)(result
));
21291 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21294 wxString
*arg2
= 0 ;
21295 bool temp2
= false ;
21296 PyObject
* obj0
= 0 ;
21297 PyObject
* obj1
= 0 ;
21298 char *kwnames
[] = {
21299 (char *) "self",(char *) "command", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21304 if (SWIG_arg_fail(1)) SWIG_fail
;
21306 arg2
= wxString_in_helper(obj1
);
21307 if (arg2
== NULL
) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 Py_INCREF(Py_None
); resultobj
= Py_None
;
21332 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21335 wxString
*arg2
= 0 ;
21336 bool temp2
= false ;
21337 PyObject
* obj0
= 0 ;
21338 PyObject
* obj1
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "self",(char *) "options", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21345 if (SWIG_arg_fail(1)) SWIG_fail
;
21347 arg2
= wxString_in_helper(obj1
);
21348 if (arg2
== NULL
) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 Py_INCREF(Py_None
); resultobj
= Py_None
;
21373 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21376 wxString
*arg2
= 0 ;
21377 bool temp2
= false ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self",(char *) "command", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21386 if (SWIG_arg_fail(1)) SWIG_fail
;
21388 arg2
= wxString_in_helper(obj1
);
21389 if (arg2
== NULL
) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 Py_INCREF(Py_None
); resultobj
= Py_None
;
21414 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21417 wxString
*arg2
= 0 ;
21418 bool temp2
= false ;
21419 PyObject
* obj0
= 0 ;
21420 PyObject
* obj1
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self",(char *) "path", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21427 if (SWIG_arg_fail(1)) SWIG_fail
;
21429 arg2
= wxString_in_helper(obj1
);
21430 if (arg2
== NULL
) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21459 PyObject
* obj0
= 0 ;
21460 PyObject
* obj1
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self",(char *) "x", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21467 if (SWIG_arg_fail(1)) SWIG_fail
;
21469 arg2
= (double)(SWIG_As_double(obj1
));
21470 if (SWIG_arg_fail(2)) SWIG_fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 (arg1
)->SetPrinterScaleX(arg2
);
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 Py_INCREF(Py_None
); resultobj
= Py_None
;
21486 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "y", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21498 if (SWIG_arg_fail(1)) SWIG_fail
;
21500 arg2
= (double)(SWIG_As_double(obj1
));
21501 if (SWIG_arg_fail(2)) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 (arg1
)->SetPrinterScaleY(arg2
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 Py_INCREF(Py_None
); resultobj
= Py_None
;
21517 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 PyObject
* obj2
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "x",(char *) "y", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail
;
21533 arg2
= (double)(SWIG_As_double(obj1
));
21534 if (SWIG_arg_fail(2)) SWIG_fail
;
21537 arg3
= (double)(SWIG_As_double(obj2
));
21538 if (SWIG_arg_fail(3)) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 Py_INCREF(Py_None
); resultobj
= Py_None
;
21554 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21558 PyObject
* obj0
= 0 ;
21559 PyObject
* obj1
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self",(char *) "x", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21566 if (SWIG_arg_fail(1)) SWIG_fail
;
21568 arg2
= (long)(SWIG_As_long(obj1
));
21569 if (SWIG_arg_fail(2)) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 (arg1
)->SetPrinterTranslateX(arg2
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 Py_INCREF(Py_None
); resultobj
= Py_None
;
21585 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self",(char *) "y", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21597 if (SWIG_arg_fail(1)) SWIG_fail
;
21599 arg2
= (long)(SWIG_As_long(obj1
));
21600 if (SWIG_arg_fail(2)) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 (arg1
)->SetPrinterTranslateY(arg2
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 Py_INCREF(Py_None
); resultobj
= Py_None
;
21616 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 PyObject
* obj2
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "x",(char *) "y", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21630 if (SWIG_arg_fail(1)) SWIG_fail
;
21632 arg2
= (long)(SWIG_As_long(obj1
));
21633 if (SWIG_arg_fail(2)) SWIG_fail
;
21636 arg3
= (long)(SWIG_As_long(obj2
));
21637 if (SWIG_arg_fail(3)) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21656 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21658 return Py_BuildValue((char *)"");
21660 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21661 PyObject
*resultobj
;
21662 wxPageSetupDialogData
*result
;
21664 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21679 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21680 PyObject
*resultobj
;
21681 wxPageSetupDialogData
*arg1
= 0 ;
21682 wxPageSetupDialogData
*result
;
21683 PyObject
* obj0
= 0 ;
21685 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21688 if (SWIG_arg_fail(1)) SWIG_fail
;
21689 if (arg1
== NULL
) {
21690 SWIG_null_ref("wxPageSetupDialogData");
21692 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21708 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21709 PyObject
*resultobj
;
21710 wxPrintData
*arg1
= 0 ;
21711 wxPageSetupDialogData
*result
;
21712 PyObject
* obj0
= 0 ;
21714 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21717 if (SWIG_arg_fail(1)) SWIG_fail
;
21718 if (arg1
== NULL
) {
21719 SWIG_null_ref("wxPrintData");
21721 if (SWIG_arg_fail(1)) SWIG_fail
;
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21737 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21742 argc
= PyObject_Length(args
);
21743 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21744 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21747 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21753 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21761 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21768 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21776 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21780 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21785 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 Py_INCREF(Py_None
); resultobj
= Py_None
;
21810 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self",(char *) "flag", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21822 if (SWIG_arg_fail(1)) SWIG_fail
;
21824 arg2
= (bool)(SWIG_As_bool(obj1
));
21825 if (SWIG_arg_fail(2)) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 (arg1
)->EnableHelp(arg2
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 Py_INCREF(Py_None
); resultobj
= Py_None
;
21841 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21845 PyObject
* obj0
= 0 ;
21846 PyObject
* obj1
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "flag", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21853 if (SWIG_arg_fail(1)) SWIG_fail
;
21855 arg2
= (bool)(SWIG_As_bool(obj1
));
21856 if (SWIG_arg_fail(2)) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 (arg1
)->EnableMargins(arg2
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 Py_INCREF(Py_None
); resultobj
= Py_None
;
21872 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21876 PyObject
* obj0
= 0 ;
21877 PyObject
* obj1
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self",(char *) "flag", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21884 if (SWIG_arg_fail(1)) SWIG_fail
;
21886 arg2
= (bool)(SWIG_As_bool(obj1
));
21887 if (SWIG_arg_fail(2)) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->EnableOrientation(arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self",(char *) "flag", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) 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 arg2
= (bool)(SWIG_As_bool(obj1
));
21918 if (SWIG_arg_fail(2)) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 (arg1
)->EnablePaper(arg2
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 Py_INCREF(Py_None
); resultobj
= Py_None
;
21934 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21938 PyObject
* obj0
= 0 ;
21939 PyObject
* obj1
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self",(char *) "flag", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
21945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21946 if (SWIG_arg_fail(1)) SWIG_fail
;
21948 arg2
= (bool)(SWIG_As_bool(obj1
));
21949 if (SWIG_arg_fail(2)) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 (arg1
)->EnablePrinter(arg2
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 Py_INCREF(Py_None
); resultobj
= Py_None
;
21965 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
;
21967 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21969 PyObject
* obj0
= 0 ;
21970 char *kwnames
[] = {
21971 (char *) "self", NULL
21974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
21975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21976 if (SWIG_arg_fail(1)) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 result
= (bool)(arg1
)->GetDefaultMinMargins();
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21993 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21997 PyObject
* obj0
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22004 if (SWIG_arg_fail(1)) SWIG_fail
;
22006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 result
= (bool)(arg1
)->GetEnableMargins();
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 char *kwnames
[] = {
22027 (char *) "self", NULL
22030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22032 if (SWIG_arg_fail(1)) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (bool)(arg1
)->GetEnableOrientation();
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22049 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22060 if (SWIG_arg_fail(1)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= (bool)(arg1
)->GetEnablePaper();
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22077 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22088 if (SWIG_arg_fail(1)) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (bool)(arg1
)->GetEnablePrinter();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22105 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22116 if (SWIG_arg_fail(1)) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (bool)(arg1
)->GetEnableHelp();
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22133 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22137 PyObject
* obj0
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22144 if (SWIG_arg_fail(1)) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22147 result
= (bool)(arg1
)->GetDefaultInfo();
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22161 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
;
22163 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 char *kwnames
[] = {
22167 (char *) "self", NULL
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22172 if (SWIG_arg_fail(1)) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 result
= (arg1
)->GetMarginTopLeft();
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22181 wxPoint
* resultptr
;
22182 resultptr
= new wxPoint((wxPoint
&)(result
));
22183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22191 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 char *kwnames
[] = {
22197 (char *) "self", NULL
22200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22202 if (SWIG_arg_fail(1)) SWIG_fail
;
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (arg1
)->GetMarginBottomRight();
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22211 wxPoint
* resultptr
;
22212 resultptr
= new wxPoint((wxPoint
&)(result
));
22213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22221 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
;
22223 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22225 PyObject
* obj0
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22232 if (SWIG_arg_fail(1)) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= (arg1
)->GetMinMarginTopLeft();
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22241 wxPoint
* resultptr
;
22242 resultptr
= new wxPoint((wxPoint
&)(result
));
22243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22251 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22255 PyObject
* obj0
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22262 if (SWIG_arg_fail(1)) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 result
= (arg1
)->GetMinMarginBottomRight();
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22271 wxPoint
* resultptr
;
22272 resultptr
= new wxPoint((wxPoint
&)(result
));
22273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22281 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22284 wxPaperSize result
;
22285 PyObject
* obj0
= 0 ;
22286 char *kwnames
[] = {
22287 (char *) "self", NULL
22290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22292 if (SWIG_arg_fail(1)) SWIG_fail
;
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22300 resultobj
= SWIG_From_int((result
));
22307 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22311 PyObject
* obj0
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22318 if (SWIG_arg_fail(1)) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (arg1
)->GetPaperSize();
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 wxSize
* resultptr
;
22328 resultptr
= new wxSize((wxSize
&)(result
));
22329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22337 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22340 wxPrintData
*result
;
22341 PyObject
* obj0
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22353 result
= (wxPrintData
*) &_result_ref
;
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22366 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22370 PyObject
* obj0
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22377 if (SWIG_arg_fail(1)) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (bool)(arg1
)->Ok();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22394 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self",(char *) "flag", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22406 if (SWIG_arg_fail(1)) SWIG_fail
;
22408 arg2
= (bool)(SWIG_As_bool(obj1
));
22409 if (SWIG_arg_fail(2)) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 (arg1
)->SetDefaultInfo(arg2
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 Py_INCREF(Py_None
); resultobj
= Py_None
;
22425 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22429 PyObject
* obj0
= 0 ;
22430 PyObject
* obj1
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self",(char *) "flag", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22437 if (SWIG_arg_fail(1)) SWIG_fail
;
22439 arg2
= (bool)(SWIG_As_bool(obj1
));
22440 if (SWIG_arg_fail(2)) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 (arg1
)->SetDefaultMinMargins(arg2
);
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22459 wxPoint
*arg2
= 0 ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "pt", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22469 if (SWIG_arg_fail(1)) SWIG_fail
;
22472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22491 wxPoint
*arg2
= 0 ;
22493 PyObject
* obj0
= 0 ;
22494 PyObject
* obj1
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self",(char *) "pt", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22501 if (SWIG_arg_fail(1)) SWIG_fail
;
22504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 Py_INCREF(Py_None
); resultobj
= Py_None
;
22520 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22523 wxPoint
*arg2
= 0 ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "pt", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22533 if (SWIG_arg_fail(1)) SWIG_fail
;
22536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 Py_INCREF(Py_None
); resultobj
= Py_None
;
22552 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22555 wxPoint
*arg2
= 0 ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "pt", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22565 if (SWIG_arg_fail(1)) SWIG_fail
;
22568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 Py_INCREF(Py_None
); resultobj
= Py_None
;
22584 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "id", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22596 if (SWIG_arg_fail(1)) SWIG_fail
;
22598 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22599 if (SWIG_arg_fail(2)) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 Py_INCREF(Py_None
); resultobj
= Py_None
;
22615 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 PyObject
* obj1
= 0 ;
22622 char *kwnames
[] = {
22623 (char *) "self",(char *) "size", NULL
22626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22628 if (SWIG_arg_fail(1)) SWIG_fail
;
22631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 Py_INCREF(Py_None
); resultobj
= Py_None
;
22647 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
;
22649 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22650 wxPrintData
*arg2
= 0 ;
22651 PyObject
* obj0
= 0 ;
22652 PyObject
* obj1
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self",(char *) "printData", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22659 if (SWIG_arg_fail(1)) SWIG_fail
;
22661 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22662 if (SWIG_arg_fail(2)) SWIG_fail
;
22663 if (arg2
== NULL
) {
22664 SWIG_null_ref("wxPrintData");
22666 if (SWIG_arg_fail(2)) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22682 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22692 if (SWIG_arg_fail(1)) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 (arg1
)->CalculateIdFromPaperSize();
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 Py_INCREF(Py_None
); resultobj
= Py_None
;
22707 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22708 PyObject
*resultobj
;
22709 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22717 if (SWIG_arg_fail(1)) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 (arg1
)->CalculatePaperSizeFromId();
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 Py_INCREF(Py_None
); resultobj
= Py_None
;
22732 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22735 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22737 return Py_BuildValue((char *)"");
22739 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxWindow
*arg1
= (wxWindow
*) 0 ;
22742 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22743 wxPageSetupDialog
*result
;
22744 PyObject
* obj0
= 0 ;
22745 PyObject
* obj1
= 0 ;
22746 char *kwnames
[] = {
22747 (char *) "parent",(char *) "data", NULL
22750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22752 if (SWIG_arg_fail(1)) SWIG_fail
;
22754 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22755 if (SWIG_arg_fail(2)) SWIG_fail
;
22758 if (!wxPyCheckForApp()) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22772 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22775 wxPageSetupDialogData
*result
;
22776 PyObject
* obj0
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22783 if (SWIG_arg_fail(1)) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22788 result
= (wxPageSetupDialogData
*) &_result_ref
;
22791 wxPyEndAllowThreads(__tstate
);
22792 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22801 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
;
22803 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22804 wxPageSetupDialogData
*result
;
22805 PyObject
* obj0
= 0 ;
22806 char *kwnames
[] = {
22807 (char *) "self", NULL
22810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22812 if (SWIG_arg_fail(1)) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22816 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22817 result
= (wxPageSetupDialogData
*) &_result_ref
;
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22830 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22841 if (SWIG_arg_fail(1)) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22844 result
= (int)(arg1
)->ShowModal();
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_From_int((int)(result
));
22858 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22861 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22863 return Py_BuildValue((char *)"");
22865 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22866 PyObject
*resultobj
;
22867 wxPrintDialogData
*result
;
22869 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22872 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22874 wxPyEndAllowThreads(__tstate
);
22875 if (PyErr_Occurred()) SWIG_fail
;
22877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22884 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22885 PyObject
*resultobj
;
22886 wxPrintData
*arg1
= 0 ;
22887 wxPrintDialogData
*result
;
22888 PyObject
* obj0
= 0 ;
22890 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22893 if (SWIG_arg_fail(1)) SWIG_fail
;
22894 if (arg1
== NULL
) {
22895 SWIG_null_ref("wxPrintData");
22897 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22913 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
22914 PyObject
*resultobj
;
22915 wxPrintDialogData
*arg1
= 0 ;
22916 wxPrintDialogData
*result
;
22917 PyObject
* obj0
= 0 ;
22919 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22922 if (SWIG_arg_fail(1)) SWIG_fail
;
22923 if (arg1
== NULL
) {
22924 SWIG_null_ref("wxPrintDialogData");
22926 if (SWIG_arg_fail(1)) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22942 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
22947 argc
= PyObject_Length(args
);
22948 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
22949 argv
[ii
] = PyTuple_GetItem(args
,ii
);
22952 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
22958 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
22966 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
22973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
22981 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
22985 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
22990 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
;
22992 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
22993 PyObject
* obj0
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
22999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23000 if (SWIG_arg_fail(1)) SWIG_fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23008 Py_INCREF(Py_None
); resultobj
= Py_None
;
23015 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23016 PyObject
*resultobj
;
23017 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23019 PyObject
* obj0
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23026 if (SWIG_arg_fail(1)) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23031 wxPyEndAllowThreads(__tstate
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23035 resultobj
= SWIG_From_int((int)(result
));
23043 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23054 if (SWIG_arg_fail(1)) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_From_int((int)(result
));
23071 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23075 PyObject
* obj0
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23082 if (SWIG_arg_fail(1)) SWIG_fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23091 resultobj
= SWIG_From_int((int)(result
));
23099 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23103 PyObject
* obj0
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23110 if (SWIG_arg_fail(1)) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_From_int((int)(result
));
23127 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23138 if (SWIG_arg_fail(1)) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_From_int((int)(result
));
23155 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23166 if (SWIG_arg_fail(1)) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23183 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23187 PyObject
* obj0
= 0 ;
23188 char *kwnames
[] = {
23189 (char *) "self", NULL
23192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23194 if (SWIG_arg_fail(1)) SWIG_fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23211 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23215 PyObject
* obj0
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23222 if (SWIG_arg_fail(1)) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23239 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23243 PyObject
* obj0
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23250 if (SWIG_arg_fail(1)) SWIG_fail
;
23252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23253 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23255 wxPyEndAllowThreads(__tstate
);
23256 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23267 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23271 PyObject
* obj0
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "self", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23278 if (SWIG_arg_fail(1)) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23295 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "flag", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23307 if (SWIG_arg_fail(1)) SWIG_fail
;
23309 arg2
= (bool)(SWIG_As_bool(obj1
));
23310 if (SWIG_arg_fail(2)) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 (arg1
)->SetSetupDialog(arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 Py_INCREF(Py_None
); resultobj
= Py_None
;
23326 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self",(char *) "v", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23338 if (SWIG_arg_fail(1)) SWIG_fail
;
23340 arg2
= (int)(SWIG_As_int(obj1
));
23341 if (SWIG_arg_fail(2)) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 (arg1
)->SetFromPage(arg2
);
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 Py_INCREF(Py_None
); resultobj
= Py_None
;
23357 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self",(char *) "v", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23369 if (SWIG_arg_fail(1)) SWIG_fail
;
23371 arg2
= (int)(SWIG_As_int(obj1
));
23372 if (SWIG_arg_fail(2)) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 (arg1
)->SetToPage(arg2
);
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 Py_INCREF(Py_None
); resultobj
= Py_None
;
23388 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23392 PyObject
* obj0
= 0 ;
23393 PyObject
* obj1
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self",(char *) "v", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23400 if (SWIG_arg_fail(1)) SWIG_fail
;
23402 arg2
= (int)(SWIG_As_int(obj1
));
23403 if (SWIG_arg_fail(2)) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 (arg1
)->SetMinPage(arg2
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 Py_INCREF(Py_None
); resultobj
= Py_None
;
23419 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 PyObject
* obj1
= 0 ;
23425 char *kwnames
[] = {
23426 (char *) "self",(char *) "v", NULL
23429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23431 if (SWIG_arg_fail(1)) SWIG_fail
;
23433 arg2
= (int)(SWIG_As_int(obj1
));
23434 if (SWIG_arg_fail(2)) SWIG_fail
;
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 (arg1
)->SetMaxPage(arg2
);
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 Py_INCREF(Py_None
); resultobj
= Py_None
;
23450 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self",(char *) "v", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23462 if (SWIG_arg_fail(1)) SWIG_fail
;
23464 arg2
= (int)(SWIG_As_int(obj1
));
23465 if (SWIG_arg_fail(2)) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23469 (arg1
)->SetNoCopies(arg2
);
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 Py_INCREF(Py_None
); resultobj
= Py_None
;
23481 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self",(char *) "flag", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23493 if (SWIG_arg_fail(1)) SWIG_fail
;
23495 arg2
= (bool)(SWIG_As_bool(obj1
));
23496 if (SWIG_arg_fail(2)) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 (arg1
)->SetAllPages(arg2
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 Py_INCREF(Py_None
); resultobj
= Py_None
;
23512 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23516 PyObject
* obj0
= 0 ;
23517 PyObject
* obj1
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self",(char *) "flag", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail
;
23526 arg2
= (bool)(SWIG_As_bool(obj1
));
23527 if (SWIG_arg_fail(2)) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 (arg1
)->SetSelection(arg2
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 Py_INCREF(Py_None
); resultobj
= Py_None
;
23543 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char *kwnames
[] = {
23550 (char *) "self",(char *) "flag", NULL
23553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23555 if (SWIG_arg_fail(1)) SWIG_fail
;
23557 arg2
= (bool)(SWIG_As_bool(obj1
));
23558 if (SWIG_arg_fail(2)) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 (arg1
)->SetCollate(arg2
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 Py_INCREF(Py_None
); resultobj
= Py_None
;
23574 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
;
23576 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self",(char *) "flag", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23586 if (SWIG_arg_fail(1)) SWIG_fail
;
23588 arg2
= (bool)(SWIG_As_bool(obj1
));
23589 if (SWIG_arg_fail(2)) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 (arg1
)->SetPrintToFile(arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 Py_INCREF(Py_None
); resultobj
= Py_None
;
23605 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23609 PyObject
* obj0
= 0 ;
23610 PyObject
* obj1
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "self",(char *) "flag", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23617 if (SWIG_arg_fail(1)) SWIG_fail
;
23619 arg2
= (bool)(SWIG_As_bool(obj1
));
23620 if (SWIG_arg_fail(2)) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 (arg1
)->EnablePrintToFile(arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 Py_INCREF(Py_None
); resultobj
= Py_None
;
23636 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23638 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self",(char *) "flag", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23648 if (SWIG_arg_fail(1)) SWIG_fail
;
23650 arg2
= (bool)(SWIG_As_bool(obj1
));
23651 if (SWIG_arg_fail(2)) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 (arg1
)->EnableSelection(arg2
);
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 Py_INCREF(Py_None
); resultobj
= Py_None
;
23667 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23671 PyObject
* obj0
= 0 ;
23672 PyObject
* obj1
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self",(char *) "flag", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23679 if (SWIG_arg_fail(1)) SWIG_fail
;
23681 arg2
= (bool)(SWIG_As_bool(obj1
));
23682 if (SWIG_arg_fail(2)) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 (arg1
)->EnablePageNumbers(arg2
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23691 Py_INCREF(Py_None
); resultobj
= Py_None
;
23698 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
;
23700 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self",(char *) "flag", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23710 if (SWIG_arg_fail(1)) SWIG_fail
;
23712 arg2
= (bool)(SWIG_As_bool(obj1
));
23713 if (SWIG_arg_fail(2)) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 (arg1
)->EnableHelp(arg2
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 Py_INCREF(Py_None
); resultobj
= Py_None
;
23729 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "self", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23740 if (SWIG_arg_fail(1)) SWIG_fail
;
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23757 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23761 PyObject
* obj0
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23768 if (SWIG_arg_fail(1)) SWIG_fail
;
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23785 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23789 PyObject
* obj0
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23796 if (SWIG_arg_fail(1)) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23813 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 char *kwnames
[] = {
23819 (char *) "self", NULL
23822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23824 if (SWIG_arg_fail(1)) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23841 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
;
23843 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23845 PyObject
* obj0
= 0 ;
23846 char *kwnames
[] = {
23847 (char *) "self", NULL
23850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23852 if (SWIG_arg_fail(1)) SWIG_fail
;
23854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23855 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23869 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23872 wxPrintData
*result
;
23873 PyObject
* obj0
= 0 ;
23874 char *kwnames
[] = {
23875 (char *) "self", NULL
23878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23880 if (SWIG_arg_fail(1)) SWIG_fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23885 result
= (wxPrintData
*) &_result_ref
;
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23898 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23901 wxPrintData
*arg2
= 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self",(char *) "printData", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23910 if (SWIG_arg_fail(1)) SWIG_fail
;
23912 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23913 if (SWIG_arg_fail(2)) SWIG_fail
;
23914 if (arg2
== NULL
) {
23915 SWIG_null_ref("wxPrintData");
23917 if (SWIG_arg_fail(2)) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 Py_INCREF(Py_None
); resultobj
= Py_None
;
23933 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23936 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23938 return Py_BuildValue((char *)"");
23940 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxWindow
*arg1
= (wxWindow
*) 0 ;
23943 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23944 wxPrintDialog
*result
;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 char *kwnames
[] = {
23948 (char *) "parent",(char *) "data", NULL
23951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23953 if (SWIG_arg_fail(1)) SWIG_fail
;
23955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23956 if (SWIG_arg_fail(2)) SWIG_fail
;
23959 if (!wxPyCheckForApp()) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
23973 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23974 PyObject
*resultobj
;
23975 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "self", NULL
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
23984 if (SWIG_arg_fail(1)) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (int)(arg1
)->ShowModal();
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= SWIG_From_int((int)(result
));
24001 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24004 wxPrintDialogData
*result
;
24005 PyObject
* obj0
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24012 if (SWIG_arg_fail(1)) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24017 result
= (wxPrintDialogData
*) &_result_ref
;
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24030 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
;
24032 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24033 wxPrintData
*result
;
24034 PyObject
* obj0
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "self", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24041 if (SWIG_arg_fail(1)) SWIG_fail
;
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24046 result
= (wxPrintData
*) &_result_ref
;
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24059 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24060 PyObject
*resultobj
;
24061 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24070 if (SWIG_arg_fail(1)) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= (wxDC
*)(arg1
)->GetPrintDC();
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24079 resultobj
= wxPyMake_wxObject(result
, 1);
24087 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24090 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24092 return Py_BuildValue((char *)"");
24094 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24096 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24098 PyObject
* obj0
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "data", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24106 if (SWIG_arg_fail(1)) SWIG_fail
;
24109 if (!wxPyCheckForApp()) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (wxPrinter
*)new wxPrinter(arg1
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24123 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24133 if (SWIG_arg_fail(1)) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 Py_INCREF(Py_None
); resultobj
= Py_None
;
24148 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24151 wxWindow
*arg2
= (wxWindow
*) 0 ;
24152 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 PyObject
* obj1
= 0 ;
24156 PyObject
* obj2
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self",(char *) "parent",(char *) "printout", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24163 if (SWIG_arg_fail(1)) SWIG_fail
;
24164 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24165 if (SWIG_arg_fail(2)) SWIG_fail
;
24166 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24167 if (SWIG_arg_fail(3)) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= wxPyMake_wxObject(result
, 0);
24184 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24187 wxWindow
*arg2
= (wxWindow
*) 0 ;
24188 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24189 wxString
*arg4
= 0 ;
24190 bool temp4
= false ;
24191 PyObject
* obj0
= 0 ;
24192 PyObject
* obj1
= 0 ;
24193 PyObject
* obj2
= 0 ;
24194 PyObject
* obj3
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24201 if (SWIG_arg_fail(1)) SWIG_fail
;
24202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24203 if (SWIG_arg_fail(2)) SWIG_fail
;
24204 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24205 if (SWIG_arg_fail(3)) SWIG_fail
;
24207 arg4
= wxString_in_helper(obj3
);
24208 if (arg4
== NULL
) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24218 Py_INCREF(Py_None
); resultobj
= Py_None
;
24233 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24236 wxWindow
*arg2
= (wxWindow
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "parent", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24246 if (SWIG_arg_fail(1)) SWIG_fail
;
24247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(2)) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (bool)(arg1
)->Setup(arg2
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24265 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
;
24267 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24268 wxWindow
*arg2
= (wxWindow
*) 0 ;
24269 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24270 bool arg4
= (bool) true ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 PyObject
* obj2
= 0 ;
24275 PyObject
* obj3
= 0 ;
24276 char *kwnames
[] = {
24277 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24282 if (SWIG_arg_fail(1)) SWIG_fail
;
24283 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24284 if (SWIG_arg_fail(2)) SWIG_fail
;
24285 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24286 if (SWIG_arg_fail(3)) SWIG_fail
;
24289 arg4
= (bool)(SWIG_As_bool(obj3
));
24290 if (SWIG_arg_fail(4)) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24309 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24312 wxWindow
*arg2
= (wxWindow
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self",(char *) "parent", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24322 if (SWIG_arg_fail(1)) SWIG_fail
;
24323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24324 if (SWIG_arg_fail(2)) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= wxPyMake_wxObject(result
, 0);
24341 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24344 wxPrintDialogData
*result
;
24345 PyObject
* obj0
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24352 if (SWIG_arg_fail(1)) SWIG_fail
;
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24357 result
= (wxPrintDialogData
*) &_result_ref
;
24360 wxPyEndAllowThreads(__tstate
);
24361 if (PyErr_Occurred()) SWIG_fail
;
24363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24370 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 char *kwnames
[] = {
24376 (char *) "self", NULL
24379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24381 if (SWIG_arg_fail(1)) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (bool)(arg1
)->GetAbort();
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24398 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxPrinterError result
;
24401 char *kwnames
[] = {
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (wxPrinterError
)wxPrinter::GetLastError();
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24413 resultobj
= SWIG_From_int((result
));
24420 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24423 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24425 return Py_BuildValue((char *)"");
24427 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24430 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24431 wxPyPrintout
*result
;
24432 bool temp1
= false ;
24433 PyObject
* obj0
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "title", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24441 arg1
= wxString_in_helper(obj0
);
24442 if (arg1
== NULL
) SWIG_fail
;
24447 if (!wxPyCheckForApp()) SWIG_fail
;
24448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24449 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24451 wxPyEndAllowThreads(__tstate
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= wxPyMake_wxObject(result
, 1);
24471 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24474 PyObject
*arg2
= (PyObject
*) 0 ;
24475 PyObject
*arg3
= (PyObject
*) 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 PyObject
* obj2
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self",(char *) "self",(char *) "_class", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24485 if (SWIG_arg_fail(1)) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24513 if (SWIG_arg_fail(1)) SWIG_fail
;
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24534 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24535 PyObject
*resultobj
;
24536 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 char *kwnames
[] = {
24540 (char *) "self", NULL
24543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24545 if (SWIG_arg_fail(1)) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (wxDC
*)(arg1
)->GetDC();
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= wxPyMake_wxObject(result
, 0);
24562 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24565 wxDC
*arg2
= (wxDC
*) 0 ;
24566 PyObject
* obj0
= 0 ;
24567 PyObject
* obj1
= 0 ;
24568 char *kwnames
[] = {
24569 (char *) "self",(char *) "dc", NULL
24572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24574 if (SWIG_arg_fail(1)) SWIG_fail
;
24575 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24576 if (SWIG_arg_fail(2)) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 (arg1
)->SetDC(arg2
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 Py_INCREF(Py_None
); resultobj
= Py_None
;
24591 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24592 PyObject
*resultobj
;
24593 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24596 PyObject
* obj0
= 0 ;
24597 PyObject
* obj1
= 0 ;
24598 PyObject
* obj2
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self",(char *) "w",(char *) "h", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24605 if (SWIG_arg_fail(1)) SWIG_fail
;
24607 arg2
= (int)(SWIG_As_int(obj1
));
24608 if (SWIG_arg_fail(2)) SWIG_fail
;
24611 arg3
= (int)(SWIG_As_int(obj2
));
24612 if (SWIG_arg_fail(3)) SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 Py_INCREF(Py_None
); resultobj
= Py_None
;
24628 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24631 int *arg2
= (int *) 0 ;
24632 int *arg3
= (int *) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self", NULL
24642 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24643 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24646 if (SWIG_arg_fail(1)) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24655 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24656 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24657 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24658 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24665 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
;
24667 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24670 PyObject
* obj0
= 0 ;
24671 PyObject
* obj1
= 0 ;
24672 PyObject
* obj2
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self",(char *) "w",(char *) "h", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24679 if (SWIG_arg_fail(1)) SWIG_fail
;
24681 arg2
= (int)(SWIG_As_int(obj1
));
24682 if (SWIG_arg_fail(2)) SWIG_fail
;
24685 arg3
= (int)(SWIG_As_int(obj2
));
24686 if (SWIG_arg_fail(3)) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24705 int *arg2
= (int *) 0 ;
24706 int *arg3
= (int *) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "self", NULL
24716 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24717 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24720 if (SWIG_arg_fail(1)) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24728 Py_INCREF(Py_None
); resultobj
= Py_None
;
24729 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24730 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24731 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24732 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24739 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 PyObject
* obj2
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self",(char *) "x",(char *) "y", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24753 if (SWIG_arg_fail(1)) SWIG_fail
;
24755 arg2
= (int)(SWIG_As_int(obj1
));
24756 if (SWIG_arg_fail(2)) SWIG_fail
;
24759 arg3
= (int)(SWIG_As_int(obj2
));
24760 if (SWIG_arg_fail(3)) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->SetPPIScreen(arg2
,arg3
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24779 int *arg2
= (int *) 0 ;
24780 int *arg3
= (int *) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 char *kwnames
[] = {
24787 (char *) "self", NULL
24790 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24791 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24794 if (SWIG_arg_fail(1)) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 (arg1
)->GetPPIScreen(arg2
,arg3
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 Py_INCREF(Py_None
); resultobj
= Py_None
;
24803 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24804 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24805 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24806 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24813 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24818 PyObject
* obj0
= 0 ;
24819 PyObject
* obj1
= 0 ;
24820 PyObject
* obj2
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "self",(char *) "x",(char *) "y", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24827 if (SWIG_arg_fail(1)) SWIG_fail
;
24829 arg2
= (int)(SWIG_As_int(obj1
));
24830 if (SWIG_arg_fail(2)) SWIG_fail
;
24833 arg3
= (int)(SWIG_As_int(obj2
));
24834 if (SWIG_arg_fail(3)) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24853 int *arg2
= (int *) 0 ;
24854 int *arg3
= (int *) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 char *kwnames
[] = {
24861 (char *) "self", NULL
24864 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24865 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24868 if (SWIG_arg_fail(1)) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 Py_INCREF(Py_None
); resultobj
= Py_None
;
24877 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24878 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24879 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24880 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24887 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24888 PyObject
*resultobj
;
24889 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24891 PyObject
* obj0
= 0 ;
24892 char *kwnames
[] = {
24893 (char *) "self", NULL
24896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24898 if (SWIG_arg_fail(1)) SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 result
= (bool)(arg1
)->IsPreview();
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24915 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24916 PyObject
*resultobj
;
24917 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24919 PyObject
* obj0
= 0 ;
24920 PyObject
* obj1
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self",(char *) "p", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24927 if (SWIG_arg_fail(1)) SWIG_fail
;
24929 arg2
= (bool)(SWIG_As_bool(obj1
));
24930 if (SWIG_arg_fail(2)) SWIG_fail
;
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 (arg1
)->SetIsPreview(arg2
);
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 Py_INCREF(Py_None
); resultobj
= Py_None
;
24946 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 PyObject
* obj2
= 0 ;
24955 char *kwnames
[] = {
24956 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
24959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24961 if (SWIG_arg_fail(1)) SWIG_fail
;
24963 arg2
= (int)(SWIG_As_int(obj1
));
24964 if (SWIG_arg_fail(2)) SWIG_fail
;
24967 arg3
= (int)(SWIG_As_int(obj2
));
24968 if (SWIG_arg_fail(3)) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24986 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
24995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24996 if (SWIG_arg_fail(1)) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 (arg1
)->base_OnEndDocument();
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 Py_INCREF(Py_None
); resultobj
= Py_None
;
25011 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25014 PyObject
* obj0
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25021 if (SWIG_arg_fail(1)) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 (arg1
)->base_OnBeginPrinting();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 Py_INCREF(Py_None
); resultobj
= Py_None
;
25036 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
;
25038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25046 if (SWIG_arg_fail(1)) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->base_OnEndPrinting();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 Py_INCREF(Py_None
); resultobj
= Py_None
;
25061 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25064 PyObject
* obj0
= 0 ;
25065 char *kwnames
[] = {
25066 (char *) "self", NULL
25069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25071 if (SWIG_arg_fail(1)) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25074 (arg1
)->base_OnPreparePrinting();
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 Py_INCREF(Py_None
); resultobj
= Py_None
;
25086 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
;
25088 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "page", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25099 if (SWIG_arg_fail(1)) SWIG_fail
;
25101 arg2
= (int)(SWIG_As_int(obj1
));
25102 if (SWIG_arg_fail(2)) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (bool)(arg1
)->base_HasPage(arg2
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25120 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
;
25122 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25123 int *arg2
= (int *) 0 ;
25124 int *arg3
= (int *) 0 ;
25125 int *arg4
= (int *) 0 ;
25126 int *arg5
= (int *) 0 ;
25135 PyObject
* obj0
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self", NULL
25140 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25141 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25142 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25143 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25146 if (SWIG_arg_fail(1)) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 Py_INCREF(Py_None
); resultobj
= Py_None
;
25155 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25156 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25157 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25158 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25159 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25160 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25161 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25162 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25169 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25172 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25174 return Py_BuildValue((char *)"");
25176 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25179 wxWindow
*arg2
= (wxWindow
*) 0 ;
25180 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25181 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25182 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25183 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25184 long arg5
= (long) 0 ;
25185 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25186 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25187 wxPreviewCanvas
*result
;
25190 bool temp6
= false ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 PyObject
* obj2
= 0 ;
25194 PyObject
* obj3
= 0 ;
25195 PyObject
* obj4
= 0 ;
25196 PyObject
* obj5
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25205 if (SWIG_arg_fail(2)) SWIG_fail
;
25209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25220 arg5
= (long)(SWIG_As_long(obj4
));
25221 if (SWIG_arg_fail(5)) SWIG_fail
;
25226 arg6
= wxString_in_helper(obj5
);
25227 if (arg6
== NULL
) SWIG_fail
;
25232 if (!wxPyCheckForApp()) SWIG_fail
;
25233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25234 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25236 wxPyEndAllowThreads(__tstate
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25254 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25257 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25259 return Py_BuildValue((char *)"");
25261 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25264 wxFrame
*arg2
= (wxFrame
*) 0 ;
25265 wxString
*arg3
= 0 ;
25266 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25267 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25268 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25269 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25270 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25271 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25272 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25273 wxPreviewFrame
*result
;
25274 bool temp3
= false ;
25277 bool temp7
= false ;
25278 PyObject
* obj0
= 0 ;
25279 PyObject
* obj1
= 0 ;
25280 PyObject
* obj2
= 0 ;
25281 PyObject
* obj3
= 0 ;
25282 PyObject
* obj4
= 0 ;
25283 PyObject
* obj5
= 0 ;
25284 PyObject
* obj6
= 0 ;
25285 char *kwnames
[] = {
25286 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25291 if (SWIG_arg_fail(1)) SWIG_fail
;
25292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25293 if (SWIG_arg_fail(2)) SWIG_fail
;
25295 arg3
= wxString_in_helper(obj2
);
25296 if (arg3
== NULL
) SWIG_fail
;
25302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25313 arg6
= (long)(SWIG_As_long(obj5
));
25314 if (SWIG_arg_fail(6)) SWIG_fail
;
25319 arg7
= wxString_in_helper(obj6
);
25320 if (arg7
== NULL
) SWIG_fail
;
25325 if (!wxPyCheckForApp()) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25355 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25357 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25358 PyObject
* obj0
= 0 ;
25359 char *kwnames
[] = {
25360 (char *) "self", NULL
25363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25365 if (SWIG_arg_fail(1)) SWIG_fail
;
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 (arg1
)->Initialize();
25370 wxPyEndAllowThreads(__tstate
);
25371 if (PyErr_Occurred()) SWIG_fail
;
25373 Py_INCREF(Py_None
); resultobj
= Py_None
;
25380 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25383 PyObject
* obj0
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25390 if (SWIG_arg_fail(1)) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 (arg1
)->CreateControlBar();
25395 wxPyEndAllowThreads(__tstate
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25398 Py_INCREF(Py_None
); resultobj
= Py_None
;
25405 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
;
25407 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25408 PyObject
* obj0
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 (arg1
)->CreateCanvas();
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 Py_INCREF(Py_None
); resultobj
= Py_None
;
25430 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25433 wxPreviewControlBar
*result
;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25441 if (SWIG_arg_fail(1)) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25456 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25459 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25461 return Py_BuildValue((char *)"");
25463 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25467 wxWindow
*arg3
= (wxWindow
*) 0 ;
25468 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25469 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25470 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25471 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25472 long arg6
= (long) wxTAB_TRAVERSAL
;
25473 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25474 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25475 wxPreviewControlBar
*result
;
25478 bool temp7
= false ;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 PyObject
* obj2
= 0 ;
25482 PyObject
* obj3
= 0 ;
25483 PyObject
* obj4
= 0 ;
25484 PyObject
* obj5
= 0 ;
25485 PyObject
* obj6
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25492 if (SWIG_arg_fail(1)) SWIG_fail
;
25494 arg2
= (long)(SWIG_As_long(obj1
));
25495 if (SWIG_arg_fail(2)) SWIG_fail
;
25497 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25498 if (SWIG_arg_fail(3)) SWIG_fail
;
25502 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25508 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25513 arg6
= (long)(SWIG_As_long(obj5
));
25514 if (SWIG_arg_fail(6)) SWIG_fail
;
25519 arg7
= wxString_in_helper(obj6
);
25520 if (arg7
== NULL
) SWIG_fail
;
25525 if (!wxPyCheckForApp()) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25547 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25551 PyObject
* obj0
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25558 if (SWIG_arg_fail(1)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (int)(arg1
)->GetZoomControl();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= SWIG_From_int((int)(result
));
25575 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25579 PyObject
* obj0
= 0 ;
25580 PyObject
* obj1
= 0 ;
25581 char *kwnames
[] = {
25582 (char *) "self",(char *) "zoom", NULL
25585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25587 if (SWIG_arg_fail(1)) SWIG_fail
;
25589 arg2
= (int)(SWIG_As_int(obj1
));
25590 if (SWIG_arg_fail(2)) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 (arg1
)->SetZoomControl(arg2
);
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 Py_INCREF(Py_None
); resultobj
= Py_None
;
25606 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25609 wxPrintPreview
*result
;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25617 if (SWIG_arg_fail(1)) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25632 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
;
25634 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25635 PyObject
* obj0
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "self", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25642 if (SWIG_arg_fail(1)) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 Py_INCREF(Py_None
); resultobj
= Py_None
;
25657 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
;
25659 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25660 PyObject
* obj0
= 0 ;
25661 char *kwnames
[] = {
25662 (char *) "self", NULL
25665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25667 if (SWIG_arg_fail(1)) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 (arg1
)->OnPrevious();
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 Py_INCREF(Py_None
); resultobj
= Py_None
;
25682 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25685 PyObject
* obj0
= 0 ;
25686 char *kwnames
[] = {
25687 (char *) "self", NULL
25690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25692 if (SWIG_arg_fail(1)) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 Py_INCREF(Py_None
); resultobj
= Py_None
;
25707 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25710 PyObject
* obj0
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25717 if (SWIG_arg_fail(1)) SWIG_fail
;
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25722 wxPyEndAllowThreads(__tstate
);
25723 if (PyErr_Occurred()) SWIG_fail
;
25725 Py_INCREF(Py_None
); resultobj
= Py_None
;
25732 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
;
25734 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25735 PyObject
* obj0
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25742 if (SWIG_arg_fail(1)) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 Py_INCREF(Py_None
); resultobj
= Py_None
;
25757 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25760 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25762 return Py_BuildValue((char *)"");
25764 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25765 PyObject
*resultobj
;
25766 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25767 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25768 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25769 wxPrintPreview
*result
;
25770 PyObject
* obj0
= 0 ;
25771 PyObject
* obj1
= 0 ;
25772 PyObject
* obj2
= 0 ;
25774 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25776 if (SWIG_arg_fail(1)) SWIG_fail
;
25777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25778 if (SWIG_arg_fail(2)) SWIG_fail
;
25780 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25781 if (SWIG_arg_fail(3)) SWIG_fail
;
25784 if (!wxPyCheckForApp()) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25798 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25799 PyObject
*resultobj
;
25800 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25801 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25802 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25803 wxPrintPreview
*result
;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 PyObject
* obj2
= 0 ;
25808 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25810 if (SWIG_arg_fail(1)) SWIG_fail
;
25811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25812 if (SWIG_arg_fail(2)) SWIG_fail
;
25813 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25814 if (SWIG_arg_fail(3)) SWIG_fail
;
25816 if (!wxPyCheckForApp()) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25830 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25835 argc
= PyObject_Length(args
);
25836 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25837 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25839 if ((argc
>= 2) && (argc
<= 3)) {
25843 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25853 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25862 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25866 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25874 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25883 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25893 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25903 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25911 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25917 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25922 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
;
25924 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 char *kwnames
[] = {
25930 (char *) "self",(char *) "pageNum", NULL
25933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25935 if (SWIG_arg_fail(1)) SWIG_fail
;
25937 arg2
= (int)(SWIG_As_int(obj1
));
25938 if (SWIG_arg_fail(2)) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25956 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self", NULL
25965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
25966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25967 if (SWIG_arg_fail(1)) SWIG_fail
;
25969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25970 result
= (int)(arg1
)->GetCurrentPage();
25972 wxPyEndAllowThreads(__tstate
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25976 resultobj
= SWIG_From_int((int)(result
));
25984 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25987 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25988 PyObject
* obj0
= 0 ;
25989 PyObject
* obj1
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self",(char *) "printout", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
25995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25996 if (SWIG_arg_fail(1)) SWIG_fail
;
25997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25998 if (SWIG_arg_fail(2)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 (arg1
)->SetPrintout(arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 Py_INCREF(Py_None
); resultobj
= Py_None
;
26013 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
;
26015 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26016 wxPyPrintout
*result
;
26017 PyObject
* obj0
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26024 if (SWIG_arg_fail(1)) SWIG_fail
;
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= wxPyMake_wxObject(result
, 0);
26041 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26044 wxPyPrintout
*result
;
26045 PyObject
* obj0
= 0 ;
26046 char *kwnames
[] = {
26047 (char *) "self", NULL
26050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26052 if (SWIG_arg_fail(1)) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= wxPyMake_wxObject(result
, 0);
26069 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26072 wxFrame
*arg2
= (wxFrame
*) 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "frame", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26081 if (SWIG_arg_fail(1)) SWIG_fail
;
26082 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26083 if (SWIG_arg_fail(2)) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 (arg1
)->SetFrame(arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 Py_INCREF(Py_None
); resultobj
= Py_None
;
26098 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26100 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26101 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26102 PyObject
* obj0
= 0 ;
26103 PyObject
* obj1
= 0 ;
26104 char *kwnames
[] = {
26105 (char *) "self",(char *) "canvas", NULL
26108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26110 if (SWIG_arg_fail(1)) SWIG_fail
;
26111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26112 if (SWIG_arg_fail(2)) SWIG_fail
;
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 (arg1
)->SetCanvas(arg2
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 Py_INCREF(Py_None
); resultobj
= Py_None
;
26127 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 char *kwnames
[] = {
26133 (char *) "self", NULL
26136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26138 if (SWIG_arg_fail(1)) SWIG_fail
;
26140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26141 result
= (wxFrame
*)(arg1
)->GetFrame();
26143 wxPyEndAllowThreads(__tstate
);
26144 if (PyErr_Occurred()) SWIG_fail
;
26147 resultobj
= wxPyMake_wxObject(result
, 0);
26155 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
;
26157 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26158 wxPreviewCanvas
*result
;
26159 PyObject
* obj0
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26166 if (SWIG_arg_fail(1)) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26181 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26184 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 PyObject
* obj2
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26196 if (SWIG_arg_fail(1)) SWIG_fail
;
26197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26198 if (SWIG_arg_fail(2)) SWIG_fail
;
26200 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26201 if (SWIG_arg_fail(3)) SWIG_fail
;
26202 if (arg3
== NULL
) {
26203 SWIG_null_ref("wxDC");
26205 if (SWIG_arg_fail(3)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26223 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26226 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 PyObject
* obj2
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26238 if (SWIG_arg_fail(1)) SWIG_fail
;
26239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26240 if (SWIG_arg_fail(2)) SWIG_fail
;
26242 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26243 if (SWIG_arg_fail(3)) SWIG_fail
;
26244 if (arg3
== NULL
) {
26245 SWIG_null_ref("wxDC");
26247 if (SWIG_arg_fail(3)) SWIG_fail
;
26250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26251 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26265 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 char *kwnames
[] = {
26273 (char *) "self",(char *) "pageNum", NULL
26276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26278 if (SWIG_arg_fail(1)) SWIG_fail
;
26280 arg2
= (int)(SWIG_As_int(obj1
));
26281 if (SWIG_arg_fail(2)) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= (bool)(arg1
)->RenderPage(arg2
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26299 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26302 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26303 PyObject
* obj0
= 0 ;
26304 PyObject
* obj1
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "self",(char *) "canvas", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26311 if (SWIG_arg_fail(1)) SWIG_fail
;
26312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26313 if (SWIG_arg_fail(2)) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 (arg1
)->AdjustScrollbars(arg2
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 Py_INCREF(Py_None
); resultobj
= Py_None
;
26328 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26329 PyObject
*resultobj
;
26330 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26331 wxPrintDialogData
*result
;
26332 PyObject
* obj0
= 0 ;
26333 char *kwnames
[] = {
26334 (char *) "self", NULL
26337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26339 if (SWIG_arg_fail(1)) SWIG_fail
;
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26344 result
= (wxPrintDialogData
*) &_result_ref
;
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26357 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26361 PyObject
* obj0
= 0 ;
26362 PyObject
* obj1
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self",(char *) "percent", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26369 if (SWIG_arg_fail(1)) SWIG_fail
;
26371 arg2
= (int)(SWIG_As_int(obj1
));
26372 if (SWIG_arg_fail(2)) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 (arg1
)->SetZoom(arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 Py_INCREF(Py_None
); resultobj
= Py_None
;
26388 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
;
26390 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26392 PyObject
* obj0
= 0 ;
26393 char *kwnames
[] = {
26394 (char *) "self", NULL
26397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26399 if (SWIG_arg_fail(1)) SWIG_fail
;
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 result
= (int)(arg1
)->GetZoom();
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= SWIG_From_int((int)(result
));
26416 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "self", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26427 if (SWIG_arg_fail(1)) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (int)(arg1
)->GetMaxPage();
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= SWIG_From_int((int)(result
));
26444 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26445 PyObject
*resultobj
;
26446 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26448 PyObject
* obj0
= 0 ;
26449 char *kwnames
[] = {
26450 (char *) "self", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26455 if (SWIG_arg_fail(1)) SWIG_fail
;
26457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26458 result
= (int)(arg1
)->GetMinPage();
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26464 resultobj
= SWIG_From_int((int)(result
));
26472 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26476 PyObject
* obj0
= 0 ;
26477 char *kwnames
[] = {
26478 (char *) "self", NULL
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26483 if (SWIG_arg_fail(1)) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= (bool)(arg1
)->Ok();
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26500 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 char *kwnames
[] = {
26507 (char *) "self",(char *) "ok", NULL
26510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26512 if (SWIG_arg_fail(1)) SWIG_fail
;
26514 arg2
= (bool)(SWIG_As_bool(obj1
));
26515 if (SWIG_arg_fail(2)) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 (arg1
)->SetOk(arg2
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26524 Py_INCREF(Py_None
); resultobj
= Py_None
;
26531 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26536 PyObject
* obj0
= 0 ;
26537 PyObject
* obj1
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self",(char *) "interactive", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26544 if (SWIG_arg_fail(1)) SWIG_fail
;
26546 arg2
= (bool)(SWIG_As_bool(obj1
));
26547 if (SWIG_arg_fail(2)) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= (bool)(arg1
)->Print(arg2
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26565 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 char *kwnames
[] = {
26570 (char *) "self", NULL
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26575 if (SWIG_arg_fail(1)) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 (arg1
)->DetermineScaling();
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 Py_INCREF(Py_None
); resultobj
= Py_None
;
26590 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26593 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26595 return Py_BuildValue((char *)"");
26597 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26598 PyObject
*resultobj
;
26599 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26600 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26601 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26602 wxPyPrintPreview
*result
;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 PyObject
* obj2
= 0 ;
26607 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26609 if (SWIG_arg_fail(1)) SWIG_fail
;
26610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26611 if (SWIG_arg_fail(2)) SWIG_fail
;
26613 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26614 if (SWIG_arg_fail(3)) SWIG_fail
;
26617 if (!wxPyCheckForApp()) SWIG_fail
;
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26631 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26632 PyObject
*resultobj
;
26633 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26634 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26635 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26636 wxPyPrintPreview
*result
;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26639 PyObject
* obj2
= 0 ;
26641 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26643 if (SWIG_arg_fail(1)) SWIG_fail
;
26644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26645 if (SWIG_arg_fail(2)) SWIG_fail
;
26646 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26647 if (SWIG_arg_fail(3)) SWIG_fail
;
26649 if (!wxPyCheckForApp()) SWIG_fail
;
26650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26651 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26653 wxPyEndAllowThreads(__tstate
);
26654 if (PyErr_Occurred()) SWIG_fail
;
26656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26663 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26668 argc
= PyObject_Length(args
);
26669 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26670 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26672 if ((argc
>= 2) && (argc
<= 3)) {
26676 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26686 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26695 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26699 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26707 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26716 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26726 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26736 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26744 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26750 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26755 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26758 PyObject
*arg2
= (PyObject
*) 0 ;
26759 PyObject
*arg3
= (PyObject
*) 0 ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 PyObject
* obj2
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "self",(char *) "_class", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26769 if (SWIG_arg_fail(1)) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 Py_INCREF(Py_None
); resultobj
= Py_None
;
26786 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(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 *) "pageNum", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",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
= (int)(SWIG_As_int(obj1
));
26802 if (SWIG_arg_fail(2)) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (bool)(arg1
)->base_SetCurrentPage(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_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26823 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 PyObject
* obj2
= 0 ;
26829 char *kwnames
[] = {
26830 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26835 if (SWIG_arg_fail(1)) SWIG_fail
;
26836 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26837 if (SWIG_arg_fail(2)) SWIG_fail
;
26839 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26840 if (SWIG_arg_fail(3)) SWIG_fail
;
26841 if (arg3
== NULL
) {
26842 SWIG_null_ref("wxDC");
26844 if (SWIG_arg_fail(3)) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26862 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26865 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 PyObject
* obj2
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26877 if (SWIG_arg_fail(1)) SWIG_fail
;
26878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26879 if (SWIG_arg_fail(2)) SWIG_fail
;
26881 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(3)) SWIG_fail
;
26883 if (arg3
== NULL
) {
26884 SWIG_null_ref("wxDC");
26886 if (SWIG_arg_fail(3)) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26904 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
;
26906 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self",(char *) "pageNum", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26917 if (SWIG_arg_fail(1)) SWIG_fail
;
26919 arg2
= (int)(SWIG_As_int(obj1
));
26920 if (SWIG_arg_fail(2)) SWIG_fail
;
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26938 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
;
26940 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "percent", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26950 if (SWIG_arg_fail(1)) SWIG_fail
;
26952 arg2
= (int)(SWIG_As_int(obj1
));
26953 if (SWIG_arg_fail(2)) SWIG_fail
;
26956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26957 (arg1
)->base_SetZoom(arg2
);
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 Py_INCREF(Py_None
); resultobj
= Py_None
;
26969 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
;
26971 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "interactive", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26982 if (SWIG_arg_fail(1)) SWIG_fail
;
26984 arg2
= (bool)(SWIG_As_bool(obj1
));
26985 if (SWIG_arg_fail(2)) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 result
= (bool)(arg1
)->base_Print(arg2
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27003 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
;
27005 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27006 PyObject
* obj0
= 0 ;
27007 char *kwnames
[] = {
27008 (char *) "self", NULL
27011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27013 if (SWIG_arg_fail(1)) SWIG_fail
;
27015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27016 (arg1
)->base_DetermineScaling();
27018 wxPyEndAllowThreads(__tstate
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27021 Py_INCREF(Py_None
); resultobj
= Py_None
;
27028 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27031 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27033 return Py_BuildValue((char *)"");
27035 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
;
27037 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27038 wxFrame
*arg2
= (wxFrame
*) 0 ;
27039 wxString
*arg3
= 0 ;
27040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27044 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27045 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27046 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27047 wxPyPreviewFrame
*result
;
27048 bool temp3
= false ;
27051 bool temp7
= false ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 PyObject
* obj2
= 0 ;
27055 PyObject
* obj3
= 0 ;
27056 PyObject
* obj4
= 0 ;
27057 PyObject
* obj5
= 0 ;
27058 PyObject
* obj6
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27065 if (SWIG_arg_fail(1)) SWIG_fail
;
27066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27067 if (SWIG_arg_fail(2)) SWIG_fail
;
27069 arg3
= wxString_in_helper(obj2
);
27070 if (arg3
== NULL
) SWIG_fail
;
27076 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27082 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27087 arg6
= (long)(SWIG_As_long(obj5
));
27088 if (SWIG_arg_fail(6)) SWIG_fail
;
27093 arg7
= wxString_in_helper(obj6
);
27094 if (arg7
== NULL
) SWIG_fail
;
27099 if (!wxPyCheckForApp()) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27129 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27130 PyObject
*resultobj
;
27131 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27132 PyObject
*arg2
= (PyObject
*) 0 ;
27133 PyObject
*arg3
= (PyObject
*) 0 ;
27134 PyObject
* obj0
= 0 ;
27135 PyObject
* obj1
= 0 ;
27136 PyObject
* obj2
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self",(char *) "self",(char *) "_class", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 Py_INCREF(Py_None
); resultobj
= Py_None
;
27160 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27163 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27164 PyObject
* obj0
= 0 ;
27165 PyObject
* obj1
= 0 ;
27166 char *kwnames
[] = {
27167 (char *) "self",(char *) "canvas", NULL
27170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27172 if (SWIG_arg_fail(1)) SWIG_fail
;
27173 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27174 if (SWIG_arg_fail(2)) SWIG_fail
;
27176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27177 (arg1
)->SetPreviewCanvas(arg2
);
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27182 Py_INCREF(Py_None
); resultobj
= Py_None
;
27189 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
;
27191 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27192 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27193 PyObject
* obj0
= 0 ;
27194 PyObject
* obj1
= 0 ;
27195 char *kwnames
[] = {
27196 (char *) "self",(char *) "bar", NULL
27199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27201 if (SWIG_arg_fail(1)) SWIG_fail
;
27202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27203 if (SWIG_arg_fail(2)) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 (arg1
)->SetControlBar(arg2
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 Py_INCREF(Py_None
); resultobj
= Py_None
;
27218 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27221 PyObject
* obj0
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27228 if (SWIG_arg_fail(1)) SWIG_fail
;
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 (arg1
)->base_Initialize();
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 Py_INCREF(Py_None
); resultobj
= Py_None
;
27243 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
;
27245 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27246 PyObject
* obj0
= 0 ;
27247 char *kwnames
[] = {
27248 (char *) "self", NULL
27251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27253 if (SWIG_arg_fail(1)) SWIG_fail
;
27255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27256 (arg1
)->base_CreateCanvas();
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 Py_INCREF(Py_None
); resultobj
= Py_None
;
27268 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27271 PyObject
* obj0
= 0 ;
27272 char *kwnames
[] = {
27273 (char *) "self", NULL
27276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27278 if (SWIG_arg_fail(1)) SWIG_fail
;
27280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27281 (arg1
)->base_CreateControlBar();
27283 wxPyEndAllowThreads(__tstate
);
27284 if (PyErr_Occurred()) SWIG_fail
;
27286 Py_INCREF(Py_None
); resultobj
= Py_None
;
27293 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27296 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27298 return Py_BuildValue((char *)"");
27300 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27301 PyObject
*resultobj
;
27302 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27304 wxWindow
*arg3
= (wxWindow
*) 0 ;
27305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27309 long arg6
= (long) 0 ;
27310 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27311 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27312 wxPyPreviewControlBar
*result
;
27315 bool temp7
= false ;
27316 PyObject
* obj0
= 0 ;
27317 PyObject
* obj1
= 0 ;
27318 PyObject
* obj2
= 0 ;
27319 PyObject
* obj3
= 0 ;
27320 PyObject
* obj4
= 0 ;
27321 PyObject
* obj5
= 0 ;
27322 PyObject
* obj6
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27329 if (SWIG_arg_fail(1)) SWIG_fail
;
27331 arg2
= (long)(SWIG_As_long(obj1
));
27332 if (SWIG_arg_fail(2)) SWIG_fail
;
27334 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27335 if (SWIG_arg_fail(3)) SWIG_fail
;
27339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27350 arg6
= (long)(SWIG_As_long(obj5
));
27351 if (SWIG_arg_fail(6)) SWIG_fail
;
27356 arg7
= wxString_in_helper(obj6
);
27357 if (arg7
== NULL
) SWIG_fail
;
27362 if (!wxPyCheckForApp()) SWIG_fail
;
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27384 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27385 PyObject
*resultobj
;
27386 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27387 PyObject
*arg2
= (PyObject
*) 0 ;
27388 PyObject
*arg3
= (PyObject
*) 0 ;
27389 PyObject
* obj0
= 0 ;
27390 PyObject
* obj1
= 0 ;
27391 PyObject
* obj2
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self",(char *) "self",(char *) "_class", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27398 if (SWIG_arg_fail(1)) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27418 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 char *kwnames
[] = {
27422 (char *) "self",(char *) "preview", NULL
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27427 if (SWIG_arg_fail(1)) SWIG_fail
;
27428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27429 if (SWIG_arg_fail(2)) SWIG_fail
;
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 (arg1
)->SetPrintPreview(arg2
);
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27437 Py_INCREF(Py_None
); resultobj
= Py_None
;
27444 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27454 if (SWIG_arg_fail(1)) SWIG_fail
;
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 (arg1
)->base_CreateButtons();
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27462 Py_INCREF(Py_None
); resultobj
= Py_None
;
27469 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
;
27471 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 char *kwnames
[] = {
27476 (char *) "self",(char *) "zoom", NULL
27479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27481 if (SWIG_arg_fail(1)) SWIG_fail
;
27483 arg2
= (int)(SWIG_As_int(obj1
));
27484 if (SWIG_arg_fail(2)) SWIG_fail
;
27487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 (arg1
)->base_SetZoomControl(arg2
);
27490 wxPyEndAllowThreads(__tstate
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 Py_INCREF(Py_None
); resultobj
= Py_None
;
27500 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27503 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27505 return Py_BuildValue((char *)"");
27507 static PyMethodDef SwigMethods
[] = {
27508 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27509 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27510 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27511 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27512 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27513 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27514 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27515 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27516 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27517 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27518 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27519 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27520 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27521 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27522 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27523 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27524 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27525 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27526 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27527 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27528 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27529 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27530 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27531 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27532 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27533 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27534 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27535 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27536 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27537 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27538 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27539 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27540 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27541 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27542 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27543 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27544 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27545 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27546 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27547 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27548 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27549 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27550 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27551 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27552 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27553 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27554 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27555 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27559 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27563 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27578 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27579 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27583 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27588 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27596 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27600 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27604 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27606 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27609 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27626 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27656 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27663 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27686 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27694 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27706 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27712 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27721 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27727 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27730 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27733 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27737 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27757 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27783 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27791 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27800 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27802 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27811 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27814 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27821 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27839 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27843 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27848 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27852 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27854 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27870 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27873 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27875 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27879 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27888 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27897 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27903 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27915 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27922 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27926 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
27951 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
27976 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28001 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28002 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28049 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28050 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28083 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28088 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28089 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28122 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28128 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28139 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28162 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28164 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28170 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28180 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28181 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28204 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28205 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28214 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28222 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28228 { NULL
, NULL
, 0, NULL
}
28232 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28234 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28235 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28237 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28238 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28240 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28241 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28243 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28244 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28246 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28247 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28249 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28250 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28252 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28253 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28255 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28256 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28258 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28259 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28261 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28264 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28265 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28267 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28268 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28270 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28271 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28273 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28274 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28276 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28277 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28279 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28280 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28282 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28283 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28285 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28286 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28288 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28289 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28291 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28292 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28294 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28295 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28297 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28298 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28300 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28303 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28304 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28306 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28307 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28309 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28310 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28312 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28313 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28315 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28316 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28318 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28319 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28321 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28322 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28324 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28325 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28327 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28328 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28330 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28331 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28333 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28336 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28337 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28339 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28340 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28342 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28343 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28345 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28346 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28348 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28349 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28351 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28352 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28354 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28355 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28357 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28358 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28360 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28361 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28363 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28364 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28366 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28367 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28369 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28372 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28375 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28378 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28379 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28381 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28382 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28384 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28385 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28387 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28388 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28390 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28393 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28396 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28399 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28400 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28402 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28405 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28406 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28408 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28411 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28414 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28415 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28417 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28418 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28420 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28423 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28426 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28429 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28430 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28432 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28435 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28436 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28438 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28439 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28441 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28442 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28444 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28445 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28447 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28450 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28451 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28453 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28454 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28456 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28459 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28460 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28462 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28465 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28468 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28471 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28472 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28474 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28477 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28478 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28480 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28483 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28486 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28489 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28492 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28495 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28496 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28498 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28501 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28504 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28507 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28510 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28513 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28516 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28517 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28519 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28520 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28522 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28523 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28525 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
28526 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
28528 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28529 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28531 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28532 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28534 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28535 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28537 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28538 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28540 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28541 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28543 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28544 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28546 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28547 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28549 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28552 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28555 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28556 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28558 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28559 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28561 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28564 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28565 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28567 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28568 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28570 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28571 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28573 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28574 return (void *)((wxObject
*) ((wxSizer
*) x
));
28576 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28577 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28579 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28582 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28585 static void *_p_wxEventTo_p_wxObject(void *x
) {
28586 return (void *)((wxObject
*) ((wxEvent
*) x
));
28588 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28589 return (void *)((wxObject
*) ((wxFontData
*) x
));
28591 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28592 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28594 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28595 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28597 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28598 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28600 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28601 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28603 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28604 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28606 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28607 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28609 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28612 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28613 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28615 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28616 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28618 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28619 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28621 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28622 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28624 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28625 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28627 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28628 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28630 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28633 static void *_p_wxControlTo_p_wxObject(void *x
) {
28634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28636 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28637 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28639 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28642 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28643 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28645 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28646 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28648 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28649 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28651 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28654 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28655 return (void *)((wxObject
*) ((wxColourData
*) x
));
28657 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28658 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28660 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28661 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28663 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28666 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28669 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28672 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28675 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28678 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28681 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28684 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28687 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28690 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28693 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28694 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28696 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28699 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28702 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28705 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28708 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28711 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28714 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28717 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28720 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28723 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28726 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28729 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28732 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28735 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28738 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28741 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28744 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28747 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28750 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28753 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28756 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28759 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28760 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28762 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28765 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28766 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28768 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28769 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28771 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28774 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28777 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28778 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28780 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28781 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28783 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28786 static void *_p_wxImageTo_p_wxObject(void *x
) {
28787 return (void *)((wxObject
*) ((wxImage
*) x
));
28789 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28792 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28793 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28795 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28796 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28798 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28799 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28801 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28804 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28807 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28808 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28810 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28811 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28813 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28814 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28816 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28817 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28819 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28820 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28822 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28825 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28828 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28831 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28834 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28837 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28840 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28843 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28846 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28849 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
28852 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28855 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28858 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28861 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28864 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28867 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28870 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28873 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28876 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28879 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28882 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28885 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28888 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28891 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28894 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28897 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28900 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28903 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28906 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28909 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28912 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28915 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28918 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28921 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28924 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28927 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28930 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28933 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28936 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28939 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28942 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28945 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28948 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28949 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28951 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28952 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28954 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28955 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28957 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
28958 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28960 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
28961 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
28963 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
28964 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
28966 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
28967 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
28969 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
28970 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
28972 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
28973 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
28975 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
28976 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
28978 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
28979 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
28981 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
28982 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
28984 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
28985 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
28987 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
28988 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
28990 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
28991 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
28993 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28994 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28996 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
28997 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
28999 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29000 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29002 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29003 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29005 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29006 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29008 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29009 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29011 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29012 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29014 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29015 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29017 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29018 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29020 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29021 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29023 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29024 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29026 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29027 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29029 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29030 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29032 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29033 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29035 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29036 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29038 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29039 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29041 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29042 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29044 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29045 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29047 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29048 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29050 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29051 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29053 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29054 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29056 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29057 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29059 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29060 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29062 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29063 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29065 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29066 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
29068 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29069 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29071 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29072 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29074 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29075 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29077 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29078 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29080 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29081 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29083 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29084 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29086 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29087 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29089 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29090 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29092 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29093 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29095 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29096 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29098 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29099 return (void *)((wxWindow
*) ((wxControl
*) x
));
29101 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29102 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29104 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29105 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29107 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29108 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29110 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29111 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29113 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29114 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29116 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29117 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29119 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29120 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29122 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29123 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29125 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29126 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29128 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29129 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29131 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29132 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29134 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29135 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29137 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29138 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29140 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29141 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29143 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29144 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29146 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29149 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29150 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29152 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29153 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29155 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29156 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29158 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29159 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29161 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29162 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29164 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29165 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29167 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29168 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29170 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29171 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29173 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29174 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29176 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29177 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29179 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29180 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29182 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29183 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29185 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29186 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29188 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29189 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29191 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29192 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29194 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29195 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29197 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29198 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29200 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29201 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29203 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29204 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29206 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29207 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29209 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29210 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29212 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29213 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29215 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29216 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29218 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29219 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29221 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29222 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29224 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29225 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29227 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29228 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29230 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29231 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29233 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29234 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29236 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29237 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29239 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29240 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29242 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29243 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29245 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29246 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29248 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29249 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29251 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29252 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29254 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}};
29255 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}};
29256 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}};
29257 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}};
29258 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}};
29259 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}};
29260 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29261 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}};
29262 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}};
29263 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}};
29264 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}};
29265 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}};
29266 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}};
29267 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}};
29268 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}};
29269 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}};
29270 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}};
29271 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}};
29272 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}};
29273 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}};
29274 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}};
29275 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}};
29276 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}};
29277 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}};
29278 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}};
29279 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}};
29280 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}};
29281 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}};
29282 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}};
29283 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}};
29284 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}};
29285 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}};
29286 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}};
29287 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}};
29288 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}};
29289 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}};
29290 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}};
29291 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}};
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29352 static swig_type_info
*swig_types_initial
[] = {
29353 _swigt__p_wxQueryLayoutInfoEvent
,
29354 _swigt__p_wxPreviewFrame
,
29355 _swigt__p_wxPyPreviewFrame
,
29356 _swigt__p_wxPyPanel
,
29358 _swigt__p_wxFontData
,
29360 _swigt__p_wxPrintData
,
29361 _swigt__p_wxTaskBarIcon
,
29362 _swigt__p_wxPyTaskBarIcon
,
29363 _swigt__p_wxIconBundle
,
29364 _swigt__p_wxLayoutAlgorithm
,
29365 _swigt__p_wxFindDialogEvent
,
29366 _swigt__p_wxPreviewCanvas
,
29368 _swigt__p_wxSplitterEvent
,
29369 _swigt__p_wxRegion
,
29371 _swigt__std__ptrdiff_t
,
29372 _swigt__p_wxFindReplaceData
,
29377 _swigt__p_wxVisualAttributes
,
29378 _swigt__p_wxMDIChildFrame
,
29379 _swigt__p_wxColourData
,
29380 _swigt__p_wxNotifyEvent
,
29381 _swigt__p_wxPyWindow
,
29382 _swigt__p_form_ops_t
,
29383 _swigt__p_wxSplashScreen
,
29384 _swigt__p_wxPasswordEntryDialog
,
29385 _swigt__p_wxSingleChoiceDialog
,
29386 _swigt__p_wxMultiChoiceDialog
,
29387 _swigt__p_wxFileDialog
,
29388 _swigt__p_wxTextEntryDialog
,
29389 _swigt__p_wxMessageDialog
,
29390 _swigt__p_wxProgressDialog
,
29391 _swigt__p_wxFindReplaceDialog
,
29392 _swigt__p_wxPrinter
,
29393 _swigt__p_wxArrayInt
,
29394 _swigt__p_wxDuplexMode
,
29395 _swigt__p_wxEvtHandler
,
29396 _swigt__p_wxCalculateLayoutEvent
,
29397 _swigt__p_wxPyHtmlListBox
,
29398 _swigt__p_wxPyVListBox
,
29400 _swigt__p_wxStdDialogButtonSizer
,
29402 _swigt__p_wxMiniFrame
,
29404 _swigt__p_wxPyPrintout
,
29405 _swigt__p_wxTaskBarIconEvent
,
29406 _swigt__p_wxScrollWinEvent
,
29407 _swigt__p_wxPaperSize
,
29408 _swigt__p_wxStatusBar
,
29409 _swigt__p_wxMDIParentFrame
,
29411 _swigt__p_wxObject
,
29412 _swigt__p_unsigned_long
,
29413 _swigt__p_wxTipWindow
,
29414 _swigt__p_wxPyPopupTransientWindow
,
29415 _swigt__p_wxSashLayoutWindow
,
29416 _swigt__p_wxSplitterWindow
,
29417 _swigt__p_wxSplashScreenWindow
,
29418 _swigt__p_wxPyVScrolledWindow
,
29419 _swigt__p_wxPopupWindow
,
29420 _swigt__p_wxSashWindow
,
29421 _swigt__p_wxTopLevelWindow
,
29422 _swigt__p_wxWindow
,
29423 _swigt__p_wxScrolledWindow
,
29424 _swigt__p_wxMenuBar
,
29425 _swigt__p_wxMDIClientWindow
,
29426 _swigt__p_wxPyScrolledWindow
,
29427 _swigt__p_wxPrintPreview
,
29428 _swigt__p_wxSashEvent
,
29429 _swigt__p_wxString
,
29430 _swigt__p_wxPyPrintPreview
,
29431 _swigt__p_wxDirDialog
,
29432 _swigt__p_wxColourDialog
,
29433 _swigt__p_wxDialog
,
29435 _swigt__p_wxFontDialog
,
29436 _swigt__p_wxPageSetupDialog
,
29437 _swigt__p_wxPrintDialog
,
29438 _swigt__p_wxFileSystem
,
29439 _swigt__p_wxBitmap
,
29440 _swigt__unsigned_int
,
29441 _swigt__p_unsigned_int
,
29442 _swigt__p_unsigned_char
,
29443 _swigt__p_wxCommandEvent
,
29444 _swigt__p_wxPreviewControlBar
,
29445 _swigt__p_wxPyPreviewControlBar
,
29446 _swigt__p_wxColour
,
29447 _swigt__p_wxToolBar
,
29448 _swigt__p_wxPageSetupDialogData
,
29449 _swigt__p_wxPrintDialogData
,
29454 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29456 static swig_const_info swig_const_table
[] = {
29457 {0, 0, 0, 0.0, 0, 0}};
29468 /* Python-specific SWIG API */
29469 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29470 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29471 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29473 /* -----------------------------------------------------------------------------
29474 * global variable support code.
29475 * ----------------------------------------------------------------------------- */
29477 typedef struct swig_globalvar
{
29478 char *name
; /* Name of global variable */
29479 PyObject
*(*get_attr
)(); /* Return the current value */
29480 int (*set_attr
)(PyObject
*); /* Set the value */
29481 struct swig_globalvar
*next
;
29484 typedef struct swig_varlinkobject
{
29486 swig_globalvar
*vars
;
29487 } swig_varlinkobject
;
29490 swig_varlink_repr(swig_varlinkobject
*v
) {
29492 return PyString_FromString("<Swig global variables>");
29496 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29497 swig_globalvar
*var
;
29499 fprintf(fp
,"Swig global variables { ");
29500 for (var
= v
->vars
; var
; var
=var
->next
) {
29501 fprintf(fp
,"%s", var
->name
);
29502 if (var
->next
) fprintf(fp
,", ");
29504 fprintf(fp
," }\n");
29509 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29510 swig_globalvar
*var
= v
->vars
;
29512 if (strcmp(var
->name
,n
) == 0) {
29513 return (*var
->get_attr
)();
29517 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29522 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29523 swig_globalvar
*var
= v
->vars
;
29525 if (strcmp(var
->name
,n
) == 0) {
29526 return (*var
->set_attr
)(p
);
29530 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29534 static PyTypeObject varlinktype
= {
29535 PyObject_HEAD_INIT(0)
29536 0, /* Number of items in variable part (ob_size) */
29537 (char *)"swigvarlink", /* Type name (tp_name) */
29538 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29539 0, /* Itemsize (tp_itemsize) */
29540 0, /* Deallocator (tp_dealloc) */
29541 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29542 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29543 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29544 0, /* tp_compare */
29545 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29546 0, /* tp_as_number */
29547 0, /* tp_as_sequence */
29548 0, /* tp_as_mapping */
29552 0, /* tp_getattro */
29553 0, /* tp_setattro */
29554 0, /* tp_as_buffer */
29557 #if PY_VERSION_HEX >= 0x02000000
29558 0, /* tp_traverse */
29561 #if PY_VERSION_HEX >= 0x02010000
29562 0, /* tp_richcompare */
29563 0, /* tp_weaklistoffset */
29565 #if PY_VERSION_HEX >= 0x02020000
29566 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29568 #if PY_VERSION_HEX >= 0x02030000
29571 #ifdef COUNT_ALLOCS
29572 0,0,0,0 /* tp_alloc -> tp_next */
29576 /* Create a variable linking object for use later */
29578 SWIG_Python_newvarlink(void) {
29579 swig_varlinkobject
*result
= 0;
29580 result
= PyMem_NEW(swig_varlinkobject
,1);
29581 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29582 result
->ob_type
= &varlinktype
;
29584 result
->ob_refcnt
= 0;
29585 Py_XINCREF((PyObject
*) result
);
29586 return ((PyObject
*) result
);
29590 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29591 swig_varlinkobject
*v
;
29592 swig_globalvar
*gv
;
29593 v
= (swig_varlinkobject
*) p
;
29594 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29595 gv
->name
= (char *) malloc(strlen(name
)+1);
29596 strcpy(gv
->name
,name
);
29597 gv
->get_attr
= get_attr
;
29598 gv
->set_attr
= set_attr
;
29599 gv
->next
= v
->vars
;
29603 /* -----------------------------------------------------------------------------
29604 * constants/methods manipulation
29605 * ----------------------------------------------------------------------------- */
29607 /* Install Constants */
29609 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29612 for (i
= 0; constants
[i
].type
; i
++) {
29613 switch(constants
[i
].type
) {
29615 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29617 case SWIG_PY_FLOAT
:
29618 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29620 case SWIG_PY_STRING
:
29621 if (constants
[i
].pvalue
) {
29622 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29624 Py_INCREF(Py_None
);
29628 case SWIG_PY_POINTER
:
29629 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29631 case SWIG_PY_BINARY
:
29632 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29639 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29645 /* -----------------------------------------------------------------------------*/
29646 /* Fix SwigMethods to carry the callback ptrs when needed */
29647 /* -----------------------------------------------------------------------------*/
29650 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29651 swig_const_info
*const_table
,
29652 swig_type_info
**types
,
29653 swig_type_info
**types_initial
) {
29655 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29656 char *c
= methods
[i
].ml_doc
;
29657 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29659 swig_const_info
*ci
= 0;
29660 char *name
= c
+ 10;
29661 for (j
= 0; const_table
[j
].type
; j
++) {
29662 if (strncmp(const_table
[j
].name
, name
,
29663 strlen(const_table
[j
].name
)) == 0) {
29664 ci
= &(const_table
[j
]);
29669 size_t shift
= (ci
->ptype
) - types
;
29670 swig_type_info
*ty
= types_initial
[shift
];
29671 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29672 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29673 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29675 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29676 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29678 strncpy(buff
, "swig_ptr: ", 10);
29680 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29681 methods
[i
].ml_doc
= ndoc
;
29687 /* -----------------------------------------------------------------------------*
29688 * Initialize type list
29689 * -----------------------------------------------------------------------------*/
29691 #if PY_MAJOR_VERSION < 2
29692 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29693 is copied out of Python/modsupport.c in python version 2.3.4 */
29695 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29698 if (!PyModule_Check(m
)) {
29699 PyErr_SetString(PyExc_TypeError
,
29700 "PyModule_AddObject() needs module as first arg");
29704 PyErr_SetString(PyExc_TypeError
,
29705 "PyModule_AddObject() needs non-NULL value");
29709 dict
= PyModule_GetDict(m
);
29710 if (dict
== NULL
) {
29711 /* Internal error -- modules must have a dict! */
29712 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29713 PyModule_GetName(m
));
29716 if (PyDict_SetItemString(dict
, name
, o
))
29723 static swig_type_info
**
29724 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29725 static PyMethodDef swig_empty_runtime_method_table
[] = {
29727 NULL
, NULL
, 0, NULL
29731 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29732 swig_empty_runtime_method_table
);
29733 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29734 if (pointer
&& module) {
29735 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29737 return type_list_handle
;
29740 static swig_type_info
**
29741 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29742 swig_type_info
**type_pointer
;
29744 /* first check if module already created */
29745 type_pointer
= SWIG_Python_GetTypeListHandle();
29746 if (type_pointer
) {
29747 return type_pointer
;
29749 /* create a new module and variable */
29750 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29758 /* -----------------------------------------------------------------------------*
29759 * Partial Init method
29760 * -----------------------------------------------------------------------------*/
29762 #ifdef SWIG_LINK_RUNTIME
29766 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29772 SWIGEXPORT(void) SWIG_init(void) {
29773 static PyObject
*SWIG_globals
= 0;
29774 static int typeinit
= 0;
29777 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29779 /* Fix SwigMethods to carry the callback ptrs when needed */
29780 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29782 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29783 d
= PyModule_GetDict(m
);
29786 #ifdef SWIG_LINK_RUNTIME
29787 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29789 # ifndef SWIG_STATIC_RUNTIME
29790 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29793 for (i
= 0; swig_types_initial
[i
]; i
++) {
29794 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29798 SWIG_InstallConstants(d
,swig_const_table
);
29800 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29801 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29802 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29803 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29804 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29806 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29809 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29812 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29815 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29818 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29821 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29824 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29827 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29830 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29833 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29836 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29839 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29842 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29845 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29848 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29851 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29854 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29857 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29860 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29863 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29866 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29869 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29872 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
29875 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
29878 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29881 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29884 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29887 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29890 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29893 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29896 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29899 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29902 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29905 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29908 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29911 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29914 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29917 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29920 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29923 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29926 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29929 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29932 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29935 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29938 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29940 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29942 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29945 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29948 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29951 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29954 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29957 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29960 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29963 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29966 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
29969 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
29972 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
29975 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
29978 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
29981 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
29983 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
29984 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
29985 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
29986 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
29987 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
29988 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
29990 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
29993 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
29996 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
29999 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30002 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30005 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30008 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30011 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30014 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30017 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30020 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30023 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30026 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30029 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30032 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30034 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30036 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30039 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30042 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30045 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30048 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30051 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30054 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30057 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30060 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30063 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30066 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30068 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30069 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30070 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30072 // Map renamed classes back to their common name for OOR
30073 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30074 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30075 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30077 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30078 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30079 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30080 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30081 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30082 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30083 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30084 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30085 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30086 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30087 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30088 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30089 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30091 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30094 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30096 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30098 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30101 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30104 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30107 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30110 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30113 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30116 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30118 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30119 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30120 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30121 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30122 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30124 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30127 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30130 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30133 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30136 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30139 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30142 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30145 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30148 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30150 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30151 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30153 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30156 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30159 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30162 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30165 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30168 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30171 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30174 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30177 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30180 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30183 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30186 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30189 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30192 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30195 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30198 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30201 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30204 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30207 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30210 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30213 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30216 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30219 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30222 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30225 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30228 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30231 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30234 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30237 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30240 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30243 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30246 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30249 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30252 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30255 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30258 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30261 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30264 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30267 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30270 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");