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_wxSashLayoutWindow swig_types[61]
1404 #define SWIGTYPE_p_wxSplitterWindow swig_types[62]
1405 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
1406 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[64]
1407 #define SWIGTYPE_p_wxPyPopupTransientWindow 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
);
1694 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1695 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1697 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1698 #define SWIG_From_long PyInt_FromLong
1703 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1705 self
->GetFieldRect(i
, r
);
1708 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1709 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1710 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1712 #include <wx/popupwin.h>
1715 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1718 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1719 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1720 : wxPopupTransientWindow(parent
, style
) {}
1722 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1723 DEC_PYCALLBACK__(OnDismiss
);
1724 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1729 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1730 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1731 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1734 #include <wx/tipwin.h>
1736 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1737 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1740 #include <wx/tipwin.h>
1743 #include <wx/vscroll.h>
1746 class wxPyVScrolledWindow
: public wxVScrolledWindow
1748 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1750 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1752 wxPyVScrolledWindow(wxWindow
*parent
,
1753 wxWindowID id
= wxID_ANY
,
1754 const wxPoint
& pos
= wxDefaultPosition
,
1755 const wxSize
& size
= wxDefaultSize
,
1757 const wxString
& name
= wxPyPanelNameStr
)
1758 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1761 // Overridable virtuals
1763 // this function must be overridden in the derived class and it should
1764 // return the height of the given line in pixels
1765 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1768 // this function doesn't have to be overridden but it may be useful to do
1769 // it if calculating the lines heights is a relatively expensive operation
1770 // as it gives the user code a possibility to calculate several of them at
1773 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1774 // shouldn't rely on the latter being called for all lines in the interval
1775 // specified here. It is also possible that OnGetLineHeight() will be
1776 // called for the lines outside of this interval, so this is really just a
1777 // hint, not a promise.
1779 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1781 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1784 // when the number of lines changes, we try to estimate the total height
1785 // of all lines which is a rather expensive operation in terms of lines
1786 // access, so if the user code may estimate the average height
1787 // better/faster than we do, it should override this function to implement
1790 // this function should return the best guess for the total height it may
1792 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1795 // Also expose some other interesting protected methods
1798 // find the index of the line we need to show at the top of the window such
1799 // that the last (fully or partially) visible line is the given one
1800 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1801 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1803 // get the total height of the lines between lineMin (inclusive) and
1804 // lineMax (exclusive)
1805 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1806 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1812 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1814 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1815 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1816 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1820 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1823 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1824 SWIG_type_error("unsigned number", obj
);
1827 *val
= (unsigned long)v
;
1832 SWIGINTERNSHORT
unsigned long
1833 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1836 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1838 this is needed to make valgrind/purify happier.
1840 memset((void*)&v
, 0, sizeof(unsigned long));
1847 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1849 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1853 SWIGINTERNSHORT PyObject
*
1854 SWIG_From_unsigned_SS_long(unsigned long value
)
1856 return (value
> LONG_MAX
) ?
1857 PyLong_FromUnsignedLong(value
)
1858 : PyInt_FromLong((long)(value
));
1862 #include <wx/vlbox.h>
1864 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1866 class wxPyVListBox
: public wxVListBox
1868 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1870 wxPyVListBox() : wxVListBox() {}
1872 wxPyVListBox(wxWindow
*parent
,
1873 wxWindowID id
= wxID_ANY
,
1874 const wxPoint
& pos
= wxDefaultPosition
,
1875 const wxSize
& size
= wxDefaultSize
,
1877 const wxString
& name
= wxPyVListBoxNameStr
)
1878 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1881 // Overridable virtuals
1883 // the derived class must implement this function to actually draw the item
1884 // with the given index on the provided DC
1885 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1886 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1889 // the derived class must implement this method to return the height of the
1891 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1892 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1895 // this method may be used to draw separators between the lines; note that
1896 // the rectangle may be modified, typically to deflate it a bit before
1897 // passing to OnDrawItem()
1899 // the base class version doesn't do anything
1900 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1901 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1904 // this method is used to draw the items background and, maybe, a border
1907 // the base class version implements a reasonable default behaviour which
1908 // consists in drawing the selected item with the standard background
1909 // colour and drawing a border around the item if it is either selected or
1911 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1912 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1918 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1920 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1921 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1922 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1923 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1926 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1927 unsigned long cookie
= 0;
1928 int selected
= self
->GetFirstSelected(cookie
);
1929 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1930 PyObject
* tup
= PyTuple_New(2);
1931 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1932 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1933 wxPyEndBlockThreads(blocked
);
1936 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1937 int selected
= self
->GetNextSelected(cookie
);
1938 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1939 PyObject
* tup
= PyTuple_New(2);
1940 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1941 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1942 wxPyEndBlockThreads(blocked
);
1946 #include <wx/htmllbox.h>
1949 class wxPyHtmlListBox
: public wxHtmlListBox
1951 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1953 wxPyHtmlListBox() : wxHtmlListBox() {}
1955 wxPyHtmlListBox(wxWindow
*parent
,
1956 wxWindowID id
= wxID_ANY
,
1957 const wxPoint
& pos
= wxDefaultPosition
,
1958 const wxSize
& size
= wxDefaultSize
,
1960 const wxString
& name
= wxPyVListBoxNameStr
)
1961 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1964 // Overridable virtuals
1966 // this method must be implemented in the derived class and should return
1967 // the body (i.e. without <html>) of the HTML for the given item
1968 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1970 // this function may be overridden to decorate HTML returned by OnGetItem()
1971 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1974 // // this method allows to customize the selection appearance: it may be used
1975 // // to specify the colour of the text which normally has the given colour
1976 // // colFg when it is inside the selection
1978 // // by default, the original colour is not used at all and all text has the
1979 // // same (default for this system) colour inside selection
1980 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1982 // // this is the same as GetSelectedTextColour() but allows to customize the
1983 // // background colour -- this is even more rarely used as you can change it
1984 // // globally using SetSelectionBackground()
1985 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1992 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1994 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1995 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2001 #ifndef wxHAS_TASK_BAR_ICON
2002 // implement dummy classes for platforms that don't have it
2004 class wxTaskBarIcon
: public wxEvtHandler
2007 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2011 class wxTaskBarIconEvent
: public wxEvent
2014 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2015 { wxPyRaiseNotImplemented(); }
2016 virtual wxEvent
* Clone() const { return NULL
; }
2017 bool IsOk() const { return false; }
2018 bool IsIconInstalled() const { return false; }
2019 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2020 bool RemoveIcon() { return false; }
2021 bool PopupMenu(wxMenu
*menu
) { return false; }
2025 wxEVT_TASKBAR_MOVE
= 0,
2026 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2027 wxEVT_TASKBAR_LEFT_UP
= 0,
2028 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2029 wxEVT_TASKBAR_RIGHT_UP
= 0,
2030 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2031 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2036 // Otherwise make a class that can virtualize CreatePopupMenu
2037 class wxPyTaskBarIcon
: public wxTaskBarIcon
2039 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2041 wxPyTaskBarIcon() : wxTaskBarIcon()
2044 wxMenu
* CreatePopupMenu() {
2045 wxMenu
*rval
= NULL
;
2047 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2048 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2051 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2053 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2058 wxPyEndBlockThreads(blocked
);
2060 rval
= wxTaskBarIcon::CreatePopupMenu();
2067 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2071 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2075 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2076 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2077 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2078 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2079 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2080 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2081 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2083 self
->GetFilenames(arr
);
2084 return wxArrayString2PyList_helper(arr
);
2086 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2088 self
->GetPaths(arr
);
2089 return wxArrayString2PyList_helper(arr
);
2091 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2092 return wxArrayInt2PyList_helper(self
->GetSelections());
2094 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
){
2095 return new wxSingleChoiceDialog(parent
, message
, caption
,
2096 choices
, choices_array
, NULL
, style
, pos
);
2098 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2102 // C++ version of Python aware wxWindow
2103 class wxPyWindow
: public wxWindow
2105 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2107 wxPyWindow() : wxWindow() {}
2108 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2109 const wxPoint
& pos
= wxDefaultPosition
,
2110 const wxSize
& size
= wxDefaultSize
,
2112 const wxString
& name
= wxPyPanelNameStr
)
2113 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2115 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2117 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2118 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2119 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2120 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2126 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2127 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2129 DEC_PYCALLBACK__(InitDialog
);
2130 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2131 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2132 DEC_PYCALLBACK_BOOL_(Validate
);
2134 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2135 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2136 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2138 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2139 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2141 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2142 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2144 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2149 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2151 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2152 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2153 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2154 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2158 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2160 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2161 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2163 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2164 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2165 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2166 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2168 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2169 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2170 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2173 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2175 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2176 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2178 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2180 // C++ version of Python aware wxPanel
2181 class wxPyPanel
: public wxPanel
2183 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2185 wxPyPanel() : wxPanel() {}
2186 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2187 const wxPoint
& pos
= wxDefaultPosition
,
2188 const wxSize
& size
= wxDefaultSize
,
2190 const wxString
& name
= wxPyPanelNameStr
)
2191 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2193 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2196 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2197 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2198 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2199 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2202 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2203 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2205 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2206 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2208 DEC_PYCALLBACK__(InitDialog
);
2209 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2210 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2211 DEC_PYCALLBACK_BOOL_(Validate
);
2213 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2214 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2215 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2217 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2218 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2220 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2221 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2223 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2228 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2230 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2231 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2232 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2233 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2235 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2236 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2237 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2239 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2240 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2242 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2243 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2244 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2245 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2247 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2248 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2249 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2251 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2252 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2254 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2255 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2257 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2259 // C++ version of Python aware wxScrolledWindow
2260 class wxPyScrolledWindow
: public wxScrolledWindow
2262 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2264 wxPyScrolledWindow() : wxScrolledWindow() {}
2265 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2266 const wxPoint
& pos
= wxDefaultPosition
,
2267 const wxSize
& size
= wxDefaultSize
,
2269 const wxString
& name
= wxPyPanelNameStr
)
2270 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2272 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2274 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2275 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2276 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2277 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2279 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2280 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2281 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2283 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2284 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2286 DEC_PYCALLBACK__(InitDialog
);
2287 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2288 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2289 DEC_PYCALLBACK_BOOL_(Validate
);
2291 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2292 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2293 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2295 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2296 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2298 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2299 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2301 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2306 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2308 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2309 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2310 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2311 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2313 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2314 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2315 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2317 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2318 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2320 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2321 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2322 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2323 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2325 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2326 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2327 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2329 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2330 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2332 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2333 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2335 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2338 #include "wx/wxPython/printfw.h"
2341 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2342 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2343 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2345 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2346 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2347 self
->GetPrivDataLen());
2348 wxPyEndBlockThreads(blocked
);
2351 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2352 if (! PyString_Check(data
)) {
2353 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2354 "Expected string object"));
2358 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2359 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2360 wxPyEndBlockThreads(blocked
);
2364 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2366 // Since this one would be tough and ugly to do with the Macros...
2367 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2368 bool hadErr
= false;
2371 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2372 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2373 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2374 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2377 val
= PyTuple_GetItem(result
, 0);
2378 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2381 val
= PyTuple_GetItem(result
, 1);
2382 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2385 val
= PyTuple_GetItem(result
, 2);
2386 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2389 val
= PyTuple_GetItem(result
, 3);
2390 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2397 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2402 wxPyEndBlockThreads(blocked
);
2404 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2407 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2408 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2412 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2413 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2414 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2415 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2416 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2417 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2418 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2424 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2425 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2426 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2429 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2430 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2433 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2434 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2435 PyObject* win = wxPyMake_wxObject(a,false); \
2436 PyObject* dc = wxPyMake_wxObject(&b,false); \
2437 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2441 wxPyEndBlockThreads(blocked); \
2443 rval = PCLASS::CBNAME(a, b); \
2446 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2447 return PCLASS::CBNAME(a, b); \
2453 class wxPyPrintPreview
: public wxPrintPreview
2455 DECLARE_CLASS(wxPyPrintPreview
)
2457 wxPyPrintPreview(wxPyPrintout
* printout
,
2458 wxPyPrintout
* printoutForPrinting
,
2459 wxPrintDialogData
* data
=NULL
)
2460 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2462 wxPyPrintPreview(wxPyPrintout
* printout
,
2463 wxPyPrintout
* printoutForPrinting
,
2464 wxPrintData
* data
=NULL
)
2465 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2468 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2469 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2470 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2471 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2472 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2473 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2474 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2479 // Stupid renamed classes... Fix this in 2.5...
2480 #if defined(__WXMSW__)
2481 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2482 #elif defined(__WXMAC__)
2483 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2485 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2488 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2489 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2490 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2491 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2492 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2493 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2494 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2497 class wxPyPreviewFrame
: public wxPreviewFrame
2499 DECLARE_CLASS(wxPyPreviewFrame
);
2501 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2502 const wxString
& title
,
2503 const wxPoint
& pos
= wxDefaultPosition
,
2504 const wxSize
& size
= wxDefaultSize
,
2505 long style
= wxDEFAULT_FRAME_STYLE
,
2506 const wxString
& name
= wxPyFrameNameStr
)
2507 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2510 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2511 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2513 DEC_PYCALLBACK_VOID_(Initialize
);
2514 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2515 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2520 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2522 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2523 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2524 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2527 class wxPyPreviewControlBar
: public wxPreviewControlBar
2529 DECLARE_CLASS(wxPyPreviewControlBar
);
2531 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2534 const wxPoint
& pos
= wxDefaultPosition
,
2535 const wxSize
& size
= wxDefaultSize
,
2537 const wxString
& name
= wxPyPanelNameStr
)
2538 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2541 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2543 DEC_PYCALLBACK_VOID_(CreateButtons
);
2544 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2549 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2550 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2551 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2556 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2558 wxWindow
*arg1
= (wxWindow
*) 0 ;
2559 int arg2
= (int) (int)-1 ;
2560 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2561 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2562 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2563 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2564 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2565 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2566 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2570 bool temp6
= false ;
2571 PyObject
* obj0
= 0 ;
2572 PyObject
* obj1
= 0 ;
2573 PyObject
* obj2
= 0 ;
2574 PyObject
* obj3
= 0 ;
2575 PyObject
* obj4
= 0 ;
2576 PyObject
* obj5
= 0 ;
2578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2583 if (SWIG_arg_fail(1)) SWIG_fail
;
2586 arg2
= (int const)(SWIG_As_int(obj1
));
2587 if (SWIG_arg_fail(2)) SWIG_fail
;
2593 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2599 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2604 arg5
= (long)(SWIG_As_long(obj4
));
2605 if (SWIG_arg_fail(5)) SWIG_fail
;
2610 arg6
= wxString_in_helper(obj5
);
2611 if (arg6
== NULL
) SWIG_fail
;
2616 if (!wxPyCheckForApp()) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2638 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2647 if (!wxPyCheckForApp()) SWIG_fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 result
= (wxPanel
*)new wxPanel();
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2661 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2663 wxPanel
*arg1
= (wxPanel
*) 0 ;
2664 wxWindow
*arg2
= (wxWindow
*) 0 ;
2665 int arg3
= (int) (int)-1 ;
2666 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2667 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2668 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2669 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2670 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2671 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2672 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2676 bool temp7
= false ;
2677 PyObject
* obj0
= 0 ;
2678 PyObject
* obj1
= 0 ;
2679 PyObject
* obj2
= 0 ;
2680 PyObject
* obj3
= 0 ;
2681 PyObject
* obj4
= 0 ;
2682 PyObject
* obj5
= 0 ;
2683 PyObject
* obj6
= 0 ;
2685 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2690 if (SWIG_arg_fail(1)) SWIG_fail
;
2691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2692 if (SWIG_arg_fail(2)) SWIG_fail
;
2695 arg3
= (int const)(SWIG_As_int(obj2
));
2696 if (SWIG_arg_fail(3)) SWIG_fail
;
2702 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2708 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2713 arg6
= (long)(SWIG_As_long(obj5
));
2714 if (SWIG_arg_fail(6)) SWIG_fail
;
2719 arg7
= wxString_in_helper(obj6
);
2720 if (arg7
== NULL
) SWIG_fail
;
2725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2726 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2728 wxPyEndAllowThreads(__tstate
);
2729 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2748 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxPanel
*arg1
= (wxPanel
*) 0 ;
2751 PyObject
* obj0
= 0 ;
2753 (char *) "self", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2758 if (SWIG_arg_fail(1)) SWIG_fail
;
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 (arg1
)->InitDialog();
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) SWIG_fail
;
2766 Py_INCREF(Py_None
); resultobj
= Py_None
;
2773 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
*resultobj
;
2775 wxPanel
*arg1
= (wxPanel
*) 0 ;
2776 PyObject
* obj0
= 0 ;
2778 (char *) "self", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2783 if (SWIG_arg_fail(1)) SWIG_fail
;
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 Py_INCREF(Py_None
); resultobj
= Py_None
;
2798 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxPanel
*arg1
= (wxPanel
*) 0 ;
2801 PyObject
* obj0
= 0 ;
2803 (char *) "self", NULL
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2808 if (SWIG_arg_fail(1)) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 (arg1
)->SetFocusIgnoringChildren();
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 Py_INCREF(Py_None
); resultobj
= Py_None
;
2823 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2826 wxVisualAttributes result
;
2827 PyObject
* obj0
= 0 ;
2829 (char *) "variant", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2835 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2836 if (SWIG_arg_fail(1)) SWIG_fail
;
2840 if (!wxPyCheckForApp()) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2848 wxVisualAttributes
* resultptr
;
2849 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2858 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2861 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2863 return Py_BuildValue((char *)"");
2865 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
*resultobj
;
2867 wxWindow
*arg1
= (wxWindow
*) 0 ;
2868 int arg2
= (int) (int)-1 ;
2869 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2870 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2871 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2872 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2873 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2874 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2875 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2876 wxScrolledWindow
*result
;
2879 bool temp6
= false ;
2880 PyObject
* obj0
= 0 ;
2881 PyObject
* obj1
= 0 ;
2882 PyObject
* obj2
= 0 ;
2883 PyObject
* obj3
= 0 ;
2884 PyObject
* obj4
= 0 ;
2885 PyObject
* obj5
= 0 ;
2887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2892 if (SWIG_arg_fail(1)) SWIG_fail
;
2895 arg2
= (int const)(SWIG_As_int(obj1
));
2896 if (SWIG_arg_fail(2)) SWIG_fail
;
2902 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2908 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2913 arg5
= (long)(SWIG_As_long(obj4
));
2914 if (SWIG_arg_fail(5)) SWIG_fail
;
2919 arg6
= wxString_in_helper(obj5
);
2920 if (arg6
== NULL
) SWIG_fail
;
2925 if (!wxPyCheckForApp()) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2947 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxScrolledWindow
*result
;
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2956 if (!wxPyCheckForApp()) SWIG_fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2970 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
*resultobj
;
2972 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2973 wxWindow
*arg2
= (wxWindow
*) 0 ;
2974 int arg3
= (int) (int)-1 ;
2975 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2976 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2977 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2978 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2979 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2980 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2981 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2985 bool temp7
= false ;
2986 PyObject
* obj0
= 0 ;
2987 PyObject
* obj1
= 0 ;
2988 PyObject
* obj2
= 0 ;
2989 PyObject
* obj3
= 0 ;
2990 PyObject
* obj4
= 0 ;
2991 PyObject
* obj5
= 0 ;
2992 PyObject
* obj6
= 0 ;
2994 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2999 if (SWIG_arg_fail(1)) SWIG_fail
;
3000 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3001 if (SWIG_arg_fail(2)) SWIG_fail
;
3004 arg3
= (int const)(SWIG_As_int(obj2
));
3005 if (SWIG_arg_fail(3)) SWIG_fail
;
3011 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3017 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3022 arg6
= (long)(SWIG_As_long(obj5
));
3023 if (SWIG_arg_fail(6)) SWIG_fail
;
3028 arg7
= wxString_in_helper(obj6
);
3029 if (arg7
== NULL
) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3057 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3058 PyObject
*resultobj
;
3059 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3064 int arg6
= (int) 0 ;
3065 int arg7
= (int) 0 ;
3066 bool arg8
= (bool) false ;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3069 PyObject
* obj2
= 0 ;
3070 PyObject
* obj3
= 0 ;
3071 PyObject
* obj4
= 0 ;
3072 PyObject
* obj5
= 0 ;
3073 PyObject
* obj6
= 0 ;
3074 PyObject
* obj7
= 0 ;
3076 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3081 if (SWIG_arg_fail(1)) SWIG_fail
;
3083 arg2
= (int)(SWIG_As_int(obj1
));
3084 if (SWIG_arg_fail(2)) SWIG_fail
;
3087 arg3
= (int)(SWIG_As_int(obj2
));
3088 if (SWIG_arg_fail(3)) SWIG_fail
;
3091 arg4
= (int)(SWIG_As_int(obj3
));
3092 if (SWIG_arg_fail(4)) SWIG_fail
;
3095 arg5
= (int)(SWIG_As_int(obj4
));
3096 if (SWIG_arg_fail(5)) SWIG_fail
;
3100 arg6
= (int)(SWIG_As_int(obj5
));
3101 if (SWIG_arg_fail(6)) SWIG_fail
;
3106 arg7
= (int)(SWIG_As_int(obj6
));
3107 if (SWIG_arg_fail(7)) SWIG_fail
;
3112 arg8
= (bool)(SWIG_As_bool(obj7
));
3113 if (SWIG_arg_fail(8)) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3130 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3137 PyObject
* obj2
= 0 ;
3139 (char *) "self",(char *) "x",(char *) "y", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3144 if (SWIG_arg_fail(1)) SWIG_fail
;
3146 arg2
= (int)(SWIG_As_int(obj1
));
3147 if (SWIG_arg_fail(2)) SWIG_fail
;
3150 arg3
= (int)(SWIG_As_int(obj2
));
3151 if (SWIG_arg_fail(3)) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 (arg1
)->Scroll(arg2
,arg3
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3160 Py_INCREF(Py_None
); resultobj
= Py_None
;
3167 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3175 (char *) "self",(char *) "orient", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3180 if (SWIG_arg_fail(1)) SWIG_fail
;
3182 arg2
= (int)(SWIG_As_int(obj1
));
3183 if (SWIG_arg_fail(2)) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3193 resultobj
= SWIG_From_int((int)(result
));
3201 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3207 PyObject
* obj1
= 0 ;
3208 PyObject
* obj2
= 0 ;
3210 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3215 if (SWIG_arg_fail(1)) SWIG_fail
;
3217 arg2
= (int)(SWIG_As_int(obj1
));
3218 if (SWIG_arg_fail(2)) SWIG_fail
;
3221 arg3
= (int)(SWIG_As_int(obj2
));
3222 if (SWIG_arg_fail(3)) SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3231 Py_INCREF(Py_None
); resultobj
= Py_None
;
3238 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3243 PyObject
* obj0
= 0 ;
3244 PyObject
* obj1
= 0 ;
3245 PyObject
* obj2
= 0 ;
3247 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3252 if (SWIG_arg_fail(1)) SWIG_fail
;
3254 arg2
= (int)(SWIG_As_int(obj1
));
3255 if (SWIG_arg_fail(2)) SWIG_fail
;
3258 arg3
= (int)(SWIG_As_int(obj2
));
3259 if (SWIG_arg_fail(3)) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 (arg1
)->SetScrollRate(arg2
,arg3
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 Py_INCREF(Py_None
); resultobj
= Py_None
;
3275 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3278 int *arg2
= (int *) 0 ;
3279 int *arg3
= (int *) 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "self", NULL
3289 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3290 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3293 if (SWIG_arg_fail(1)) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3302 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3303 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3304 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3305 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3312 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3319 PyObject
* obj2
= 0 ;
3321 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3326 if (SWIG_arg_fail(1)) SWIG_fail
;
3328 arg2
= (bool)(SWIG_As_bool(obj1
));
3329 if (SWIG_arg_fail(2)) SWIG_fail
;
3332 arg3
= (bool)(SWIG_As_bool(obj2
));
3333 if (SWIG_arg_fail(3)) SWIG_fail
;
3336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3337 (arg1
)->EnableScrolling(arg2
,arg3
);
3339 wxPyEndAllowThreads(__tstate
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 Py_INCREF(Py_None
); resultobj
= Py_None
;
3349 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
*resultobj
;
3351 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3352 int *arg2
= (int *) 0 ;
3353 int *arg3
= (int *) 0 ;
3358 PyObject
* obj0
= 0 ;
3360 (char *) "self", NULL
3363 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3364 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3367 if (SWIG_arg_fail(1)) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3377 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3378 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3379 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3386 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3393 PyObject
* obj2
= 0 ;
3395 (char *) "self",(char *) "xs",(char *) "ys", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3400 if (SWIG_arg_fail(1)) SWIG_fail
;
3402 arg2
= (double)(SWIG_As_double(obj1
));
3403 if (SWIG_arg_fail(2)) SWIG_fail
;
3406 arg3
= (double)(SWIG_As_double(obj2
));
3407 if (SWIG_arg_fail(3)) SWIG_fail
;
3410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3411 (arg1
)->SetScale(arg2
,arg3
);
3413 wxPyEndAllowThreads(__tstate
);
3414 if (PyErr_Occurred()) SWIG_fail
;
3416 Py_INCREF(Py_None
); resultobj
= Py_None
;
3423 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3427 PyObject
* obj0
= 0 ;
3429 (char *) "self", NULL
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3434 if (SWIG_arg_fail(1)) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3443 resultobj
= SWIG_From_double((double)(result
));
3451 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3462 if (SWIG_arg_fail(1)) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3471 resultobj
= SWIG_From_double((double)(result
));
3479 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3480 PyObject
*resultobj
;
3481 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3490 if (SWIG_arg_fail(1)) SWIG_fail
;
3493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3503 wxPoint
* resultptr
;
3504 resultptr
= new wxPoint((wxPoint
&)(result
));
3505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3513 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3514 PyObject
*resultobj
;
3515 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3518 int *arg4
= (int *) 0 ;
3519 int *arg5
= (int *) 0 ;
3524 PyObject
* obj0
= 0 ;
3525 PyObject
* obj1
= 0 ;
3526 PyObject
* obj2
= 0 ;
3528 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3529 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3530 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3532 if (SWIG_arg_fail(1)) SWIG_fail
;
3534 arg2
= (int)(SWIG_As_int(obj1
));
3535 if (SWIG_arg_fail(2)) SWIG_fail
;
3538 arg3
= (int)(SWIG_As_int(obj2
));
3539 if (SWIG_arg_fail(3)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3550 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3551 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3552 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3559 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3564 argc
= PyObject_Length(args
);
3565 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3566 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3581 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3584 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3592 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3600 _v
= SWIG_Check_int(argv
[1]);
3602 _v
= SWIG_Check_int(argv
[2]);
3604 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3610 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3615 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3616 PyObject
*resultobj
;
3617 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3624 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail
;
3629 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3633 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3635 wxPyEndAllowThreads(__tstate
);
3636 if (PyErr_Occurred()) SWIG_fail
;
3639 wxPoint
* resultptr
;
3640 resultptr
= new wxPoint((wxPoint
&)(result
));
3641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3649 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3650 PyObject
*resultobj
;
3651 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3654 int *arg4
= (int *) 0 ;
3655 int *arg5
= (int *) 0 ;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3662 PyObject
* obj2
= 0 ;
3664 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3665 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3666 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3668 if (SWIG_arg_fail(1)) SWIG_fail
;
3670 arg2
= (int)(SWIG_As_int(obj1
));
3671 if (SWIG_arg_fail(2)) SWIG_fail
;
3674 arg3
= (int)(SWIG_As_int(obj2
));
3675 if (SWIG_arg_fail(3)) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3685 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3686 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3687 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3688 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3695 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3700 argc
= PyObject_Length(args
);
3701 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3702 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3708 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3717 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3720 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3728 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3736 _v
= SWIG_Check_int(argv
[1]);
3738 _v
= SWIG_Check_int(argv
[2]);
3740 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3746 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3751 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3754 PyObject
* obj0
= 0 ;
3756 (char *) "self", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3761 if (SWIG_arg_fail(1)) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 (arg1
)->AdjustScrollbars();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 Py_INCREF(Py_None
); resultobj
= Py_None
;
3776 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3779 wxScrollWinEvent
*arg2
= 0 ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3784 (char *) "self",(char *) "event", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3789 if (SWIG_arg_fail(1)) SWIG_fail
;
3791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3792 if (SWIG_arg_fail(2)) SWIG_fail
;
3794 SWIG_null_ref("wxScrollWinEvent");
3796 if (SWIG_arg_fail(2)) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_From_int((int)(result
));
3814 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3817 wxWindow
*arg2
= (wxWindow
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3819 PyObject
* obj1
= 0 ;
3821 (char *) "self",(char *) "target", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3826 if (SWIG_arg_fail(1)) SWIG_fail
;
3827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3828 if (SWIG_arg_fail(2)) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 (arg1
)->SetTargetWindow(arg2
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 Py_INCREF(Py_None
); resultobj
= Py_None
;
3843 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3849 (char *) "self", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= wxPyMake_wxObject(result
, 0);
3871 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "dc", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3883 if (SWIG_arg_fail(1)) SWIG_fail
;
3885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3886 if (SWIG_arg_fail(2)) SWIG_fail
;
3888 SWIG_null_ref("wxDC");
3890 if (SWIG_arg_fail(2)) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 (arg1
)->DoPrepareDC(*arg2
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 Py_INCREF(Py_None
); resultobj
= Py_None
;
3906 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
;
3908 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3909 wxVisualAttributes result
;
3910 PyObject
* obj0
= 0 ;
3912 (char *) "variant", NULL
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3918 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3919 if (SWIG_arg_fail(1)) SWIG_fail
;
3923 if (!wxPyCheckForApp()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3931 wxVisualAttributes
* resultptr
;
3932 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3941 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3944 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
3946 return Py_BuildValue((char *)"");
3948 static int _wrap_FrameNameStr_set(PyObject
*) {
3949 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
3954 static PyObject
*_wrap_FrameNameStr_get(void) {
3959 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3961 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3968 static int _wrap_DialogNameStr_set(PyObject
*) {
3969 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
3974 static PyObject
*_wrap_DialogNameStr_get(void) {
3979 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
3981 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
3988 static int _wrap_StatusLineNameStr_set(PyObject
*) {
3989 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
3994 static PyObject
*_wrap_StatusLineNameStr_get(void) {
3999 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4001 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4008 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4009 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4014 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4019 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4021 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4028 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4031 bool arg2
= (bool) true ;
4032 PyObject
* obj0
= 0 ;
4033 PyObject
* obj1
= 0 ;
4035 (char *) "self",(char *) "maximize", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4040 if (SWIG_arg_fail(1)) SWIG_fail
;
4043 arg2
= (bool)(SWIG_As_bool(obj1
));
4044 if (SWIG_arg_fail(2)) SWIG_fail
;
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4049 (arg1
)->Maximize(arg2
);
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 Py_INCREF(Py_None
); resultobj
= Py_None
;
4061 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4064 PyObject
* obj0
= 0 ;
4066 (char *) "self", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4071 if (SWIG_arg_fail(1)) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 Py_INCREF(Py_None
); resultobj
= Py_None
;
4086 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4089 bool arg2
= (bool) true ;
4090 PyObject
* obj0
= 0 ;
4091 PyObject
* obj1
= 0 ;
4093 (char *) "self",(char *) "iconize", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4098 if (SWIG_arg_fail(1)) SWIG_fail
;
4101 arg2
= (bool)(SWIG_As_bool(obj1
));
4102 if (SWIG_arg_fail(2)) SWIG_fail
;
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 (arg1
)->Iconize(arg2
);
4109 wxPyEndAllowThreads(__tstate
);
4110 if (PyErr_Occurred()) SWIG_fail
;
4112 Py_INCREF(Py_None
); resultobj
= Py_None
;
4119 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4121 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4123 PyObject
* obj0
= 0 ;
4125 (char *) "self", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4130 if (SWIG_arg_fail(1)) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4147 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4153 (char *) "self", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4158 if (SWIG_arg_fail(1)) SWIG_fail
;
4160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4161 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4163 wxPyEndAllowThreads(__tstate
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4175 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4181 (char *) "self", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4186 if (SWIG_arg_fail(1)) SWIG_fail
;
4188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4189 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4191 wxPyEndAllowThreads(__tstate
);
4192 if (PyErr_Occurred()) SWIG_fail
;
4196 resultptr
= new wxIcon((wxIcon
&)(result
));
4197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4205 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4212 (char *) "self",(char *) "icon", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4217 if (SWIG_arg_fail(1)) SWIG_fail
;
4219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4220 if (SWIG_arg_fail(2)) SWIG_fail
;
4222 SWIG_null_ref("wxIcon");
4224 if (SWIG_arg_fail(2)) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 Py_INCREF(Py_None
); resultobj
= Py_None
;
4240 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4243 wxIconBundle
*arg2
= 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4247 (char *) "self",(char *) "icons", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4252 if (SWIG_arg_fail(1)) SWIG_fail
;
4254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4255 if (SWIG_arg_fail(2)) SWIG_fail
;
4257 SWIG_null_ref("wxIconBundle");
4259 if (SWIG_arg_fail(2)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 Py_INCREF(Py_None
); resultobj
= Py_None
;
4275 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4279 long arg3
= (long) wxFULLSCREEN_ALL
;
4281 PyObject
* obj0
= 0 ;
4282 PyObject
* obj1
= 0 ;
4283 PyObject
* obj2
= 0 ;
4285 (char *) "self",(char *) "show",(char *) "style", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4290 if (SWIG_arg_fail(1)) SWIG_fail
;
4292 arg2
= (bool)(SWIG_As_bool(obj1
));
4293 if (SWIG_arg_fail(2)) SWIG_fail
;
4297 arg3
= (long)(SWIG_As_long(obj2
));
4298 if (SWIG_arg_fail(3)) SWIG_fail
;
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4317 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
;
4319 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4321 PyObject
* obj0
= 0 ;
4323 (char *) "self", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4328 if (SWIG_arg_fail(1)) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4345 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4348 wxString
*arg2
= 0 ;
4349 bool temp2
= false ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4353 (char *) "self",(char *) "title", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4358 if (SWIG_arg_fail(1)) SWIG_fail
;
4360 arg2
= wxString_in_helper(obj1
);
4361 if (arg2
== NULL
) SWIG_fail
;
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 (arg1
)->SetTitle((wxString
const &)*arg2
);
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 Py_INCREF(Py_None
); resultobj
= Py_None
;
4386 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4392 (char *) "self", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4397 if (SWIG_arg_fail(1)) SWIG_fail
;
4399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4402 wxPyEndAllowThreads(__tstate
);
4403 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4418 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4421 wxRegion
*arg2
= 0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "self",(char *) "region", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4431 if (SWIG_arg_fail(1)) SWIG_fail
;
4433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4434 if (SWIG_arg_fail(2)) SWIG_fail
;
4436 SWIG_null_ref("wxRegion");
4438 if (SWIG_arg_fail(2)) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4456 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4459 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4463 (char *) "self",(char *) "flags", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4468 if (SWIG_arg_fail(1)) SWIG_fail
;
4471 arg2
= (int)(SWIG_As_int(obj1
));
4472 if (SWIG_arg_fail(2)) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->RequestUserAttention(arg2
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4482 Py_INCREF(Py_None
); resultobj
= Py_None
;
4489 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4495 (char *) "self", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4500 if (SWIG_arg_fail(1)) SWIG_fail
;
4502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4503 result
= (bool)(arg1
)->IsActive();
4505 wxPyEndAllowThreads(__tstate
);
4506 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4517 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4524 (char *) "self",(char *) "on", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4529 if (SWIG_arg_fail(1)) SWIG_fail
;
4531 arg2
= (bool)(SWIG_As_bool(obj1
));
4532 if (SWIG_arg_fail(2)) SWIG_fail
;
4535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4536 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4538 wxPyEndAllowThreads(__tstate
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4548 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4554 (char *) "self", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4559 if (SWIG_arg_fail(1)) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4576 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4579 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4581 return Py_BuildValue((char *)"");
4583 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxWindow
*arg1
= (wxWindow
*) 0 ;
4586 int arg2
= (int) (int)-1 ;
4587 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4588 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4589 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4590 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4591 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4592 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4593 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4594 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4595 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4597 bool temp3
= false ;
4600 bool temp7
= false ;
4601 PyObject
* obj0
= 0 ;
4602 PyObject
* obj1
= 0 ;
4603 PyObject
* obj2
= 0 ;
4604 PyObject
* obj3
= 0 ;
4605 PyObject
* obj4
= 0 ;
4606 PyObject
* obj5
= 0 ;
4607 PyObject
* obj6
= 0 ;
4609 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4617 arg2
= (int const)(SWIG_As_int(obj1
));
4618 if (SWIG_arg_fail(2)) SWIG_fail
;
4623 arg3
= wxString_in_helper(obj2
);
4624 if (arg3
== NULL
) SWIG_fail
;
4631 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4637 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4642 arg6
= (long)(SWIG_As_long(obj5
));
4643 if (SWIG_arg_fail(6)) SWIG_fail
;
4648 arg7
= wxString_in_helper(obj6
);
4649 if (arg7
== NULL
) SWIG_fail
;
4654 if (!wxPyCheckForApp()) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4684 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4693 if (!wxPyCheckForApp()) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 result
= (wxFrame
*)new wxFrame();
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4707 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxFrame
*arg1
= (wxFrame
*) 0 ;
4710 wxWindow
*arg2
= (wxWindow
*) 0 ;
4711 int arg3
= (int) (int)-1 ;
4712 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4713 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4714 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4715 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4716 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4717 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4718 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4719 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4720 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4722 bool temp4
= false ;
4725 bool temp8
= false ;
4726 PyObject
* obj0
= 0 ;
4727 PyObject
* obj1
= 0 ;
4728 PyObject
* obj2
= 0 ;
4729 PyObject
* obj3
= 0 ;
4730 PyObject
* obj4
= 0 ;
4731 PyObject
* obj5
= 0 ;
4732 PyObject
* obj6
= 0 ;
4733 PyObject
* obj7
= 0 ;
4735 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4740 if (SWIG_arg_fail(1)) SWIG_fail
;
4741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4742 if (SWIG_arg_fail(2)) SWIG_fail
;
4745 arg3
= (int const)(SWIG_As_int(obj2
));
4746 if (SWIG_arg_fail(3)) SWIG_fail
;
4751 arg4
= wxString_in_helper(obj3
);
4752 if (arg4
== NULL
) SWIG_fail
;
4759 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4765 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4770 arg7
= (long)(SWIG_As_long(obj6
));
4771 if (SWIG_arg_fail(7)) SWIG_fail
;
4776 arg8
= wxString_in_helper(obj7
);
4777 if (arg8
== NULL
) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4813 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxFrame
*arg1
= (wxFrame
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4819 (char *) "self", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4824 if (SWIG_arg_fail(1)) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4833 wxPoint
* resultptr
;
4834 resultptr
= new wxPoint((wxPoint
&)(result
));
4835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4843 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxFrame
*arg1
= (wxFrame
*) 0 ;
4846 PyObject
* obj0
= 0 ;
4848 (char *) "self", NULL
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4853 if (SWIG_arg_fail(1)) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 (arg1
)->SendSizeEvent();
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 Py_INCREF(Py_None
); resultobj
= Py_None
;
4868 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxFrame
*arg1
= (wxFrame
*) 0 ;
4871 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4875 (char *) "self",(char *) "menubar", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4880 if (SWIG_arg_fail(1)) SWIG_fail
;
4881 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4882 if (SWIG_arg_fail(2)) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 (arg1
)->SetMenuBar(arg2
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 Py_INCREF(Py_None
); resultobj
= Py_None
;
4897 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4898 PyObject
*resultobj
;
4899 wxFrame
*arg1
= (wxFrame
*) 0 ;
4901 PyObject
* obj0
= 0 ;
4903 (char *) "self", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",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 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= wxPyMake_wxObject(result
, 0);
4925 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxFrame
*arg1
= (wxFrame
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4933 (char *) "self",(char *) "winid", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4938 if (SWIG_arg_fail(1)) SWIG_fail
;
4940 arg2
= (int)(SWIG_As_int(obj1
));
4941 if (SWIG_arg_fail(2)) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (bool)(arg1
)->ProcessCommand(arg2
);
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4959 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxFrame
*arg1
= (wxFrame
*) 0 ;
4962 int arg2
= (int) 1 ;
4963 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
4964 int arg4
= (int) 0 ;
4965 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
4966 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
4967 wxStatusBar
*result
;
4968 bool temp5
= false ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4971 PyObject
* obj2
= 0 ;
4972 PyObject
* obj3
= 0 ;
4973 PyObject
* obj4
= 0 ;
4975 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4980 if (SWIG_arg_fail(1)) SWIG_fail
;
4983 arg2
= (int)(SWIG_As_int(obj1
));
4984 if (SWIG_arg_fail(2)) SWIG_fail
;
4989 arg3
= (long)(SWIG_As_long(obj2
));
4990 if (SWIG_arg_fail(3)) SWIG_fail
;
4995 arg4
= (int)(SWIG_As_int(obj3
));
4996 if (SWIG_arg_fail(4)) SWIG_fail
;
5001 arg5
= wxString_in_helper(obj4
);
5002 if (arg5
== NULL
) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= wxPyMake_wxObject(result
, 0);
5030 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
;
5032 wxFrame
*arg1
= (wxFrame
*) 0 ;
5033 wxStatusBar
*result
;
5034 PyObject
* obj0
= 0 ;
5036 (char *) "self", NULL
5039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5041 if (SWIG_arg_fail(1)) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= wxPyMake_wxObject(result
, 0);
5058 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxFrame
*arg1
= (wxFrame
*) 0 ;
5061 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5065 (char *) "self",(char *) "statBar", NULL
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5070 if (SWIG_arg_fail(1)) SWIG_fail
;
5071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5072 if (SWIG_arg_fail(2)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 (arg1
)->SetStatusBar(arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 Py_INCREF(Py_None
); resultobj
= Py_None
;
5087 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxFrame
*arg1
= (wxFrame
*) 0 ;
5090 wxString
*arg2
= 0 ;
5091 int arg3
= (int) 0 ;
5092 bool temp2
= false ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5095 PyObject
* obj2
= 0 ;
5097 (char *) "self",(char *) "text",(char *) "number", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail
;
5104 arg2
= wxString_in_helper(obj1
);
5105 if (arg2
== NULL
) SWIG_fail
;
5110 arg3
= (int)(SWIG_As_int(obj2
));
5111 if (SWIG_arg_fail(3)) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 Py_INCREF(Py_None
); resultobj
= Py_None
;
5136 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxFrame
*arg1
= (wxFrame
*) 0 ;
5140 int *arg3
= (int *) 0 ;
5141 PyObject
* obj0
= 0 ;
5142 PyObject
* obj1
= 0 ;
5144 (char *) "self",(char *) "widths", NULL
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5149 if (SWIG_arg_fail(1)) SWIG_fail
;
5151 arg2
= PyList_Size(obj1
);
5152 arg3
= int_LIST_helper(obj1
);
5153 if (arg3
== NULL
) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 Py_INCREF(Py_None
); resultobj
= Py_None
;
5164 if (arg3
) delete [] arg3
;
5169 if (arg3
) delete [] arg3
;
5175 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxFrame
*arg1
= (wxFrame
*) 0 ;
5178 wxString
*arg2
= 0 ;
5179 int arg3
= (int) 0 ;
5180 bool temp2
= false ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5183 PyObject
* obj2
= 0 ;
5185 (char *) "self",(char *) "text",(char *) "number", NULL
5188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail
;
5192 arg2
= wxString_in_helper(obj1
);
5193 if (arg2
== NULL
) SWIG_fail
;
5198 arg3
= (int)(SWIG_As_int(obj2
));
5199 if (SWIG_arg_fail(3)) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 Py_INCREF(Py_None
); resultobj
= Py_None
;
5224 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxFrame
*arg1
= (wxFrame
*) 0 ;
5227 int arg2
= (int) 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5231 (char *) "self",(char *) "number", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5236 if (SWIG_arg_fail(1)) SWIG_fail
;
5239 arg2
= (int)(SWIG_As_int(obj1
));
5240 if (SWIG_arg_fail(2)) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 (arg1
)->PopStatusText(arg2
);
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5257 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxFrame
*arg1
= (wxFrame
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5262 PyObject
* obj1
= 0 ;
5264 (char *) "self",(char *) "n", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5269 if (SWIG_arg_fail(1)) SWIG_fail
;
5271 arg2
= (int)(SWIG_As_int(obj1
));
5272 if (SWIG_arg_fail(2)) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 (arg1
)->SetStatusBarPane(arg2
);
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxFrame
*arg1
= (wxFrame
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5294 (char *) "self", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5299 if (SWIG_arg_fail(1)) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5308 resultobj
= SWIG_From_int((int)(result
));
5316 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxFrame
*arg1
= (wxFrame
*) 0 ;
5319 long arg2
= (long) -1 ;
5320 int arg3
= (int) -1 ;
5321 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5322 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5324 bool temp4
= false ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5327 PyObject
* obj2
= 0 ;
5328 PyObject
* obj3
= 0 ;
5330 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5335 if (SWIG_arg_fail(1)) SWIG_fail
;
5338 arg2
= (long)(SWIG_As_long(obj1
));
5339 if (SWIG_arg_fail(2)) SWIG_fail
;
5344 arg3
= (int)(SWIG_As_int(obj2
));
5345 if (SWIG_arg_fail(3)) SWIG_fail
;
5350 arg4
= wxString_in_helper(obj3
);
5351 if (arg4
== NULL
) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5363 resultobj
= wxPyMake_wxObject(result
, 0);
5379 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxFrame
*arg1
= (wxFrame
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5385 (char *) "self", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5390 if (SWIG_arg_fail(1)) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 resultobj
= wxPyMake_wxObject(result
, 0);
5407 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxFrame
*arg1
= (wxFrame
*) 0 ;
5410 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5414 (char *) "self",(char *) "toolbar", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5419 if (SWIG_arg_fail(1)) SWIG_fail
;
5420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5421 if (SWIG_arg_fail(2)) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 (arg1
)->SetToolBar(arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 Py_INCREF(Py_None
); resultobj
= Py_None
;
5436 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxFrame
*arg1
= (wxFrame
*) 0 ;
5439 wxString
*arg2
= 0 ;
5441 bool temp2
= false ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 PyObject
* obj2
= 0 ;
5446 (char *) "self",(char *) "text",(char *) "show", NULL
5449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5451 if (SWIG_arg_fail(1)) SWIG_fail
;
5453 arg2
= wxString_in_helper(obj1
);
5454 if (arg2
== NULL
) SWIG_fail
;
5458 arg3
= (bool)(SWIG_As_bool(obj2
));
5459 if (SWIG_arg_fail(3)) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 Py_INCREF(Py_None
); resultobj
= Py_None
;
5483 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxFrame
*arg1
= (wxFrame
*) 0 ;
5486 wxMenu
*arg2
= (wxMenu
*) NULL
;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5490 (char *) "self",(char *) "menu", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5495 if (SWIG_arg_fail(1)) SWIG_fail
;
5497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5498 if (SWIG_arg_fail(2)) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->DoMenuUpdates(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 Py_INCREF(Py_None
); resultobj
= Py_None
;
5514 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5517 wxVisualAttributes result
;
5518 PyObject
* obj0
= 0 ;
5520 (char *) "variant", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5526 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5527 if (SWIG_arg_fail(1)) SWIG_fail
;
5531 if (!wxPyCheckForApp()) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 wxVisualAttributes
* resultptr
;
5540 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5549 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5552 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5554 return Py_BuildValue((char *)"");
5556 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxWindow
*arg1
= (wxWindow
*) 0 ;
5559 int arg2
= (int) (int)-1 ;
5560 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5562 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5563 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5564 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5565 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5566 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5567 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5568 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5570 bool temp3
= false ;
5573 bool temp7
= false ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5576 PyObject
* obj2
= 0 ;
5577 PyObject
* obj3
= 0 ;
5578 PyObject
* obj4
= 0 ;
5579 PyObject
* obj5
= 0 ;
5580 PyObject
* obj6
= 0 ;
5582 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5587 if (SWIG_arg_fail(1)) SWIG_fail
;
5590 arg2
= (int const)(SWIG_As_int(obj1
));
5591 if (SWIG_arg_fail(2)) SWIG_fail
;
5596 arg3
= wxString_in_helper(obj2
);
5597 if (arg3
== NULL
) SWIG_fail
;
5604 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5610 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5615 arg6
= (long)(SWIG_As_long(obj5
));
5616 if (SWIG_arg_fail(6)) SWIG_fail
;
5621 arg7
= wxString_in_helper(obj6
);
5622 if (arg7
== NULL
) SWIG_fail
;
5627 if (!wxPyCheckForApp()) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5657 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5666 if (!wxPyCheckForApp()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= (wxDialog
*)new wxDialog();
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5680 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxDialog
*arg1
= (wxDialog
*) 0 ;
5683 wxWindow
*arg2
= (wxWindow
*) 0 ;
5684 int arg3
= (int) (int)-1 ;
5685 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5687 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5688 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5689 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5690 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5691 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5692 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5693 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5695 bool temp4
= false ;
5698 bool temp8
= false ;
5699 PyObject
* obj0
= 0 ;
5700 PyObject
* obj1
= 0 ;
5701 PyObject
* obj2
= 0 ;
5702 PyObject
* obj3
= 0 ;
5703 PyObject
* obj4
= 0 ;
5704 PyObject
* obj5
= 0 ;
5705 PyObject
* obj6
= 0 ;
5706 PyObject
* obj7
= 0 ;
5708 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5713 if (SWIG_arg_fail(1)) SWIG_fail
;
5714 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5715 if (SWIG_arg_fail(2)) SWIG_fail
;
5718 arg3
= (int const)(SWIG_As_int(obj2
));
5719 if (SWIG_arg_fail(3)) SWIG_fail
;
5724 arg4
= wxString_in_helper(obj3
);
5725 if (arg4
== NULL
) SWIG_fail
;
5732 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5738 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 arg7
= (long)(SWIG_As_long(obj6
));
5744 if (SWIG_arg_fail(7)) SWIG_fail
;
5749 arg8
= wxString_in_helper(obj7
);
5750 if (arg8
== NULL
) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5786 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxDialog
*arg1
= (wxDialog
*) 0 ;
5790 PyObject
* obj0
= 0 ;
5791 PyObject
* obj1
= 0 ;
5793 (char *) "self",(char *) "returnCode", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5798 if (SWIG_arg_fail(1)) SWIG_fail
;
5800 arg2
= (int)(SWIG_As_int(obj1
));
5801 if (SWIG_arg_fail(2)) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5805 (arg1
)->SetReturnCode(arg2
);
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 Py_INCREF(Py_None
); resultobj
= Py_None
;
5817 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxDialog
*arg1
= (wxDialog
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5828 if (SWIG_arg_fail(1)) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= SWIG_From_int((int)(result
));
5845 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxDialog
*arg1
= (wxDialog
*) 0 ;
5848 wxString
*arg2
= 0 ;
5850 bool temp2
= false ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5854 (char *) "self",(char *) "message", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5859 if (SWIG_arg_fail(1)) SWIG_fail
;
5861 arg2
= wxString_in_helper(obj1
);
5862 if (arg2
== NULL
) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= wxPyMake_wxObject(result
, 0);
5889 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxDialog
*arg1
= (wxDialog
*) 0 ;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5897 (char *) "self",(char *) "flags", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5902 if (SWIG_arg_fail(1)) SWIG_fail
;
5904 arg2
= (long)(SWIG_As_long(obj1
));
5905 if (SWIG_arg_fail(2)) SWIG_fail
;
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= wxPyMake_wxObject(result
, 0);
5923 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxDialog
*arg1
= (wxDialog
*) 0 ;
5927 wxStdDialogButtonSizer
*result
;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5931 (char *) "self",(char *) "flags", NULL
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5936 if (SWIG_arg_fail(1)) SWIG_fail
;
5938 arg2
= (long)(SWIG_As_long(obj1
));
5939 if (SWIG_arg_fail(2)) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
5955 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxDialog
*arg1
= (wxDialog
*) 0 ;
5959 PyObject
* obj0
= 0 ;
5961 (char *) "self", NULL
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
5965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5966 if (SWIG_arg_fail(1)) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5983 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxDialog
*arg1
= (wxDialog
*) 0 ;
5987 PyObject
* obj0
= 0 ;
5989 (char *) "self", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
5993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5994 if (SWIG_arg_fail(1)) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (int)(arg1
)->ShowModal();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_From_int((int)(result
));
6011 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxDialog
*arg1
= (wxDialog
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6018 (char *) "self",(char *) "retCode", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6023 if (SWIG_arg_fail(1)) SWIG_fail
;
6025 arg2
= (int)(SWIG_As_int(obj1
));
6026 if (SWIG_arg_fail(2)) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 (arg1
)->EndModal(arg2
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 Py_INCREF(Py_None
); resultobj
= Py_None
;
6042 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6045 wxVisualAttributes result
;
6046 PyObject
* obj0
= 0 ;
6048 (char *) "variant", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6054 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6055 if (SWIG_arg_fail(1)) SWIG_fail
;
6059 if (!wxPyCheckForApp()) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6067 wxVisualAttributes
* resultptr
;
6068 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6069 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6077 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6082 return Py_BuildValue((char *)"");
6084 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxWindow
*arg1
= (wxWindow
*) 0 ;
6087 int arg2
= (int) (int)-1 ;
6088 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6089 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6094 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6095 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6097 wxMiniFrame
*result
;
6098 bool temp3
= false ;
6101 bool temp7
= false ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6104 PyObject
* obj2
= 0 ;
6105 PyObject
* obj3
= 0 ;
6106 PyObject
* obj4
= 0 ;
6107 PyObject
* obj5
= 0 ;
6108 PyObject
* obj6
= 0 ;
6110 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail
;
6118 arg2
= (int const)(SWIG_As_int(obj1
));
6119 if (SWIG_arg_fail(2)) SWIG_fail
;
6124 arg3
= wxString_in_helper(obj2
);
6125 if (arg3
== NULL
) SWIG_fail
;
6132 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6138 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6143 arg6
= (long)(SWIG_As_long(obj5
));
6144 if (SWIG_arg_fail(6)) SWIG_fail
;
6149 arg7
= wxString_in_helper(obj6
);
6150 if (arg7
== NULL
) SWIG_fail
;
6155 if (!wxPyCheckForApp()) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6185 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6187 wxMiniFrame
*result
;
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6194 if (!wxPyCheckForApp()) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (wxMiniFrame
*)new wxMiniFrame();
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6208 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
;
6210 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6211 wxWindow
*arg2
= (wxWindow
*) 0 ;
6212 int arg3
= (int) (int)-1 ;
6213 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6214 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6215 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6216 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6217 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6218 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6219 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6220 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6221 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6223 bool temp4
= false ;
6226 bool temp8
= false ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6229 PyObject
* obj2
= 0 ;
6230 PyObject
* obj3
= 0 ;
6231 PyObject
* obj4
= 0 ;
6232 PyObject
* obj5
= 0 ;
6233 PyObject
* obj6
= 0 ;
6234 PyObject
* obj7
= 0 ;
6236 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail
;
6242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6243 if (SWIG_arg_fail(2)) SWIG_fail
;
6246 arg3
= (int const)(SWIG_As_int(obj2
));
6247 if (SWIG_arg_fail(3)) SWIG_fail
;
6252 arg4
= wxString_in_helper(obj3
);
6253 if (arg4
== NULL
) SWIG_fail
;
6260 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6266 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6271 arg7
= (long)(SWIG_As_long(obj6
));
6272 if (SWIG_arg_fail(7)) SWIG_fail
;
6277 arg8
= wxString_in_helper(obj7
);
6278 if (arg8
== NULL
) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6314 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6317 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6319 return Py_BuildValue((char *)"");
6321 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 wxBitmap
*arg1
= 0 ;
6324 wxWindow
*arg2
= (wxWindow
*) 0 ;
6326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6330 long arg6
= (long) wxNO_BORDER
;
6331 wxSplashScreenWindow
*result
;
6334 PyObject
* obj0
= 0 ;
6335 PyObject
* obj1
= 0 ;
6336 PyObject
* obj2
= 0 ;
6337 PyObject
* obj3
= 0 ;
6338 PyObject
* obj4
= 0 ;
6339 PyObject
* obj5
= 0 ;
6341 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6347 if (SWIG_arg_fail(1)) SWIG_fail
;
6349 SWIG_null_ref("wxBitmap");
6351 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(2)) SWIG_fail
;
6356 arg3
= (int)(SWIG_As_int(obj2
));
6357 if (SWIG_arg_fail(3)) SWIG_fail
;
6362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6373 arg6
= (long)(SWIG_As_long(obj5
));
6374 if (SWIG_arg_fail(6)) SWIG_fail
;
6378 if (!wxPyCheckForApp()) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6392 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6395 wxBitmap
*arg2
= 0 ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6399 (char *) "self",(char *) "bitmap", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6404 if (SWIG_arg_fail(1)) SWIG_fail
;
6406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(2)) SWIG_fail
;
6409 SWIG_null_ref("wxBitmap");
6411 if (SWIG_arg_fail(2)) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 Py_INCREF(Py_None
); resultobj
= Py_None
;
6427 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6433 (char *) "self", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6438 if (SWIG_arg_fail(1)) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6443 result
= (wxBitmap
*) &_result_ref
;
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6450 wxBitmap
* resultptr
= new wxBitmap(*result
);
6451 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6459 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6462 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6464 return Py_BuildValue((char *)"");
6466 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
*resultobj
;
6468 wxBitmap
*arg1
= 0 ;
6471 wxWindow
*arg4
= (wxWindow
*) 0 ;
6472 int arg5
= (int) -1 ;
6473 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6474 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6475 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6476 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6477 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6478 wxSplashScreen
*result
;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6483 PyObject
* obj2
= 0 ;
6484 PyObject
* obj3
= 0 ;
6485 PyObject
* obj4
= 0 ;
6486 PyObject
* obj5
= 0 ;
6487 PyObject
* obj6
= 0 ;
6488 PyObject
* obj7
= 0 ;
6490 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6496 if (SWIG_arg_fail(1)) SWIG_fail
;
6498 SWIG_null_ref("wxBitmap");
6500 if (SWIG_arg_fail(1)) SWIG_fail
;
6503 arg2
= (long)(SWIG_As_long(obj1
));
6504 if (SWIG_arg_fail(2)) SWIG_fail
;
6507 arg3
= (int)(SWIG_As_int(obj2
));
6508 if (SWIG_arg_fail(3)) SWIG_fail
;
6510 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6511 if (SWIG_arg_fail(4)) SWIG_fail
;
6514 arg5
= (int)(SWIG_As_int(obj4
));
6515 if (SWIG_arg_fail(5)) SWIG_fail
;
6521 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6527 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6532 arg8
= (long)(SWIG_As_long(obj7
));
6533 if (SWIG_arg_fail(8)) SWIG_fail
;
6537 if (!wxPyCheckForApp()) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6551 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6562 if (SWIG_arg_fail(1)) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_From_long((long)(result
));
6579 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6582 wxSplashScreenWindow
*result
;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6590 if (SWIG_arg_fail(1)) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6605 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6611 (char *) "self", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6616 if (SWIG_arg_fail(1)) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_From_int((int)(result
));
6633 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6636 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6638 return Py_BuildValue((char *)"");
6640 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 wxWindow
*arg1
= (wxWindow
*) 0 ;
6643 int arg2
= (int) -1 ;
6644 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6645 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6646 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6647 wxStatusBar
*result
;
6648 bool temp4
= false ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 PyObject
* obj2
= 0 ;
6652 PyObject
* obj3
= 0 ;
6654 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6659 if (SWIG_arg_fail(1)) SWIG_fail
;
6662 arg2
= (int)(SWIG_As_int(obj1
));
6663 if (SWIG_arg_fail(2)) SWIG_fail
;
6668 arg3
= (long)(SWIG_As_long(obj2
));
6669 if (SWIG_arg_fail(3)) SWIG_fail
;
6674 arg4
= wxString_in_helper(obj3
);
6675 if (arg4
== NULL
) SWIG_fail
;
6680 if (!wxPyCheckForApp()) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6684 wxPyEndAllowThreads(__tstate
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6702 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
;
6704 wxStatusBar
*result
;
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6711 if (!wxPyCheckForApp()) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 result
= (wxStatusBar
*)new wxStatusBar();
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6725 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6728 wxWindow
*arg2
= (wxWindow
*) 0 ;
6729 int arg3
= (int) -1 ;
6730 long arg4
= (long) wxST_SIZEGRIP
;
6731 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6732 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6734 bool temp5
= false ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6737 PyObject
* obj2
= 0 ;
6738 PyObject
* obj3
= 0 ;
6739 PyObject
* obj4
= 0 ;
6741 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6746 if (SWIG_arg_fail(1)) SWIG_fail
;
6747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6748 if (SWIG_arg_fail(2)) SWIG_fail
;
6751 arg3
= (int)(SWIG_As_int(obj2
));
6752 if (SWIG_arg_fail(3)) SWIG_fail
;
6757 arg4
= (long)(SWIG_As_long(obj3
));
6758 if (SWIG_arg_fail(4)) SWIG_fail
;
6763 arg5
= wxString_in_helper(obj4
);
6764 if (arg5
== NULL
) SWIG_fail
;
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6772 wxPyEndAllowThreads(__tstate
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6792 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
;
6794 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6795 int arg2
= (int) 1 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6799 (char *) "self",(char *) "number", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6804 if (SWIG_arg_fail(1)) SWIG_fail
;
6807 arg2
= (int)(SWIG_As_int(obj1
));
6808 if (SWIG_arg_fail(2)) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 (arg1
)->SetFieldsCount(arg2
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 Py_INCREF(Py_None
); resultobj
= Py_None
;
6825 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6829 PyObject
* obj0
= 0 ;
6831 (char *) "self", NULL
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6836 if (SWIG_arg_fail(1)) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_From_int((int)(result
));
6853 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6856 wxString
*arg2
= 0 ;
6857 int arg3
= (int) 0 ;
6858 bool temp2
= false ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 PyObject
* obj2
= 0 ;
6863 (char *) "self",(char *) "text",(char *) "number", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6868 if (SWIG_arg_fail(1)) SWIG_fail
;
6870 arg2
= wxString_in_helper(obj1
);
6871 if (arg2
== NULL
) SWIG_fail
;
6876 arg3
= (int)(SWIG_As_int(obj2
));
6877 if (SWIG_arg_fail(3)) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 Py_INCREF(Py_None
); resultobj
= Py_None
;
6902 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6905 int arg2
= (int) 0 ;
6907 PyObject
* obj0
= 0 ;
6908 PyObject
* obj1
= 0 ;
6910 (char *) "self",(char *) "number", NULL
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6915 if (SWIG_arg_fail(1)) SWIG_fail
;
6918 arg2
= (int)(SWIG_As_int(obj1
));
6919 if (SWIG_arg_fail(2)) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6942 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6945 wxString
*arg2
= 0 ;
6946 int arg3
= (int) 0 ;
6947 bool temp2
= false ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6950 PyObject
* obj2
= 0 ;
6952 (char *) "self",(char *) "text",(char *) "number", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6957 if (SWIG_arg_fail(1)) SWIG_fail
;
6959 arg2
= wxString_in_helper(obj1
);
6960 if (arg2
== NULL
) SWIG_fail
;
6965 arg3
= (int)(SWIG_As_int(obj2
));
6966 if (SWIG_arg_fail(3)) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6971 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 Py_INCREF(Py_None
); resultobj
= Py_None
;
6991 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6994 int arg2
= (int) 0 ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6998 (char *) "self",(char *) "number", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7003 if (SWIG_arg_fail(1)) SWIG_fail
;
7006 arg2
= (int)(SWIG_As_int(obj1
));
7007 if (SWIG_arg_fail(2)) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 (arg1
)->PopStatusText(arg2
);
7014 wxPyEndAllowThreads(__tstate
);
7015 if (PyErr_Occurred()) SWIG_fail
;
7017 Py_INCREF(Py_None
); resultobj
= Py_None
;
7024 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7025 PyObject
*resultobj
;
7026 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7028 int *arg3
= (int *) 0 ;
7029 PyObject
* obj0
= 0 ;
7030 PyObject
* obj1
= 0 ;
7032 (char *) "self",(char *) "widths", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7037 if (SWIG_arg_fail(1)) SWIG_fail
;
7039 arg2
= PyList_Size(obj1
);
7040 arg3
= int_LIST_helper(obj1
);
7041 if (arg3
== NULL
) SWIG_fail
;
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 Py_INCREF(Py_None
); resultobj
= Py_None
;
7052 if (arg3
) delete [] arg3
;
7057 if (arg3
) delete [] arg3
;
7063 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7064 PyObject
*resultobj
;
7065 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7067 int *arg3
= (int *) 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7071 (char *) "self",(char *) "styles", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail
;
7078 arg2
= PyList_Size(obj1
);
7079 arg3
= int_LIST_helper(obj1
);
7080 if (arg3
== NULL
) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 Py_INCREF(Py_None
); resultobj
= Py_None
;
7091 if (arg3
) delete [] arg3
;
7096 if (arg3
) delete [] arg3
;
7102 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7108 PyObject
* obj1
= 0 ;
7110 (char *) "self",(char *) "i", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail
;
7117 arg2
= (int)(SWIG_As_int(obj1
));
7118 if (SWIG_arg_fail(2)) SWIG_fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7129 resultptr
= new wxRect((wxRect
&)(result
));
7130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7138 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7142 PyObject
* obj0
= 0 ;
7143 PyObject
* obj1
= 0 ;
7145 (char *) "self",(char *) "height", NULL
7148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7150 if (SWIG_arg_fail(1)) SWIG_fail
;
7152 arg2
= (int)(SWIG_As_int(obj1
));
7153 if (SWIG_arg_fail(2)) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 (arg1
)->SetMinHeight(arg2
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 Py_INCREF(Py_None
); resultobj
= Py_None
;
7169 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7175 (char *) "self", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7180 if (SWIG_arg_fail(1)) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_From_int((int)(result
));
7197 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7208 if (SWIG_arg_fail(1)) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= SWIG_From_int((int)(result
));
7225 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7228 wxVisualAttributes result
;
7229 PyObject
* obj0
= 0 ;
7231 (char *) "variant", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7237 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7238 if (SWIG_arg_fail(1)) SWIG_fail
;
7242 if (!wxPyCheckForApp()) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7250 wxVisualAttributes
* resultptr
;
7251 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7260 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7263 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7265 return Py_BuildValue((char *)"");
7267 static int _wrap_SplitterNameStr_set(PyObject
*) {
7268 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7273 static PyObject
*_wrap_SplitterNameStr_get(void) {
7278 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7280 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7287 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 wxWindow
*arg1
= (wxWindow
*) 0 ;
7290 int arg2
= (int) -1 ;
7291 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7292 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7293 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7294 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7295 long arg5
= (long) wxSP_3D
;
7296 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7297 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7298 wxSplitterWindow
*result
;
7301 bool temp6
= false ;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7304 PyObject
* obj2
= 0 ;
7305 PyObject
* obj3
= 0 ;
7306 PyObject
* obj4
= 0 ;
7307 PyObject
* obj5
= 0 ;
7309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7314 if (SWIG_arg_fail(1)) SWIG_fail
;
7317 arg2
= (int)(SWIG_As_int(obj1
));
7318 if (SWIG_arg_fail(2)) SWIG_fail
;
7324 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7330 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7335 arg5
= (long)(SWIG_As_long(obj4
));
7336 if (SWIG_arg_fail(5)) SWIG_fail
;
7341 arg6
= wxString_in_helper(obj5
);
7342 if (arg6
== NULL
) SWIG_fail
;
7347 if (!wxPyCheckForApp()) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7369 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxSplitterWindow
*result
;
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7378 if (!wxPyCheckForApp()) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7392 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7395 wxWindow
*arg2
= (wxWindow
*) 0 ;
7396 int arg3
= (int) -1 ;
7397 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7398 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7399 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7400 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7401 long arg6
= (long) wxSP_3D
;
7402 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7403 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7407 bool temp7
= false ;
7408 PyObject
* obj0
= 0 ;
7409 PyObject
* obj1
= 0 ;
7410 PyObject
* obj2
= 0 ;
7411 PyObject
* obj3
= 0 ;
7412 PyObject
* obj4
= 0 ;
7413 PyObject
* obj5
= 0 ;
7414 PyObject
* obj6
= 0 ;
7416 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7421 if (SWIG_arg_fail(1)) SWIG_fail
;
7422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7423 if (SWIG_arg_fail(2)) SWIG_fail
;
7426 arg3
= (int)(SWIG_As_int(obj2
));
7427 if (SWIG_arg_fail(3)) SWIG_fail
;
7433 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7439 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7444 arg6
= (long)(SWIG_As_long(obj5
));
7445 if (SWIG_arg_fail(6)) SWIG_fail
;
7450 arg7
= wxString_in_helper(obj6
);
7451 if (arg7
== NULL
) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7479 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7483 PyObject
* obj0
= 0 ;
7485 (char *) "self", NULL
7488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7490 if (SWIG_arg_fail(1)) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= wxPyMake_wxObject(result
, 0);
7507 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7509 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7511 PyObject
* obj0
= 0 ;
7513 (char *) "self", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail
;
7520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7521 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= wxPyMake_wxObject(result
, 0);
7535 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7540 PyObject
* obj1
= 0 ;
7542 (char *) "self",(char *) "mode", NULL
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7547 if (SWIG_arg_fail(1)) SWIG_fail
;
7549 arg2
= (int)(SWIG_As_int(obj1
));
7550 if (SWIG_arg_fail(2)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 (arg1
)->SetSplitMode(arg2
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 Py_INCREF(Py_None
); resultobj
= Py_None
;
7566 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "self", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7577 if (SWIG_arg_fail(1)) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 resultobj
= SWIG_From_int((result
));
7592 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7595 wxWindow
*arg2
= (wxWindow
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7599 (char *) "self",(char *) "window", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7605 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7606 if (SWIG_arg_fail(2)) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 (arg1
)->Initialize(arg2
);
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 Py_INCREF(Py_None
); resultobj
= Py_None
;
7621 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7624 wxWindow
*arg2
= (wxWindow
*) 0 ;
7625 wxWindow
*arg3
= (wxWindow
*) 0 ;
7626 int arg4
= (int) 0 ;
7628 PyObject
* obj0
= 0 ;
7629 PyObject
* obj1
= 0 ;
7630 PyObject
* obj2
= 0 ;
7631 PyObject
* obj3
= 0 ;
7633 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7638 if (SWIG_arg_fail(1)) SWIG_fail
;
7639 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7640 if (SWIG_arg_fail(2)) SWIG_fail
;
7641 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7642 if (SWIG_arg_fail(3)) SWIG_fail
;
7645 arg4
= (int)(SWIG_As_int(obj3
));
7646 if (SWIG_arg_fail(4)) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7665 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7668 wxWindow
*arg2
= (wxWindow
*) 0 ;
7669 wxWindow
*arg3
= (wxWindow
*) 0 ;
7670 int arg4
= (int) 0 ;
7672 PyObject
* obj0
= 0 ;
7673 PyObject
* obj1
= 0 ;
7674 PyObject
* obj2
= 0 ;
7675 PyObject
* obj3
= 0 ;
7677 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7682 if (SWIG_arg_fail(1)) SWIG_fail
;
7683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7684 if (SWIG_arg_fail(2)) SWIG_fail
;
7685 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7686 if (SWIG_arg_fail(3)) SWIG_fail
;
7689 arg4
= (int)(SWIG_As_int(obj3
));
7690 if (SWIG_arg_fail(4)) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7709 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7712 wxWindow
*arg2
= (wxWindow
*) NULL
;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "toRemove", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7722 if (SWIG_arg_fail(1)) SWIG_fail
;
7724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7725 if (SWIG_arg_fail(2)) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (bool)(arg1
)->Unsplit(arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7743 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7746 wxWindow
*arg2
= (wxWindow
*) 0 ;
7747 wxWindow
*arg3
= (wxWindow
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7751 PyObject
* obj2
= 0 ;
7753 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7758 if (SWIG_arg_fail(1)) SWIG_fail
;
7759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7760 if (SWIG_arg_fail(2)) SWIG_fail
;
7761 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7762 if (SWIG_arg_fail(3)) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7779 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7782 PyObject
* obj0
= 0 ;
7784 (char *) "self", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7789 if (SWIG_arg_fail(1)) SWIG_fail
;
7791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7792 (arg1
)->UpdateSize();
7794 wxPyEndAllowThreads(__tstate
);
7795 if (PyErr_Occurred()) SWIG_fail
;
7797 Py_INCREF(Py_None
); resultobj
= Py_None
;
7804 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7808 PyObject
* obj0
= 0 ;
7810 (char *) "self", NULL
7813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7815 if (SWIG_arg_fail(1)) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7832 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7837 PyObject
* obj1
= 0 ;
7839 (char *) "self",(char *) "width", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
7847 if (SWIG_arg_fail(2)) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 (arg1
)->SetSashSize(arg2
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 Py_INCREF(Py_None
); resultobj
= Py_None
;
7863 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7868 PyObject
* obj1
= 0 ;
7870 (char *) "self",(char *) "width", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 arg2
= (int)(SWIG_As_int(obj1
));
7878 if (SWIG_arg_fail(2)) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7882 (arg1
)->SetBorderSize(arg2
);
7884 wxPyEndAllowThreads(__tstate
);
7885 if (PyErr_Occurred()) SWIG_fail
;
7887 Py_INCREF(Py_None
); resultobj
= Py_None
;
7894 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= SWIG_From_int((int)(result
));
7922 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
*resultobj
;
7924 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7926 PyObject
* obj0
= 0 ;
7928 (char *) "self", NULL
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7933 if (SWIG_arg_fail(1)) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_From_int((int)(result
));
7950 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7954 bool arg3
= (bool) true ;
7955 PyObject
* obj0
= 0 ;
7956 PyObject
* obj1
= 0 ;
7957 PyObject
* obj2
= 0 ;
7959 (char *) "self",(char *) "position",(char *) "redraw", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7964 if (SWIG_arg_fail(1)) SWIG_fail
;
7966 arg2
= (int)(SWIG_As_int(obj1
));
7967 if (SWIG_arg_fail(2)) SWIG_fail
;
7971 arg3
= (bool)(SWIG_As_bool(obj2
));
7972 if (SWIG_arg_fail(3)) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 (arg1
)->SetSashPosition(arg2
,arg3
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7982 Py_INCREF(Py_None
); resultobj
= Py_None
;
7989 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7990 PyObject
*resultobj
;
7991 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
7999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8000 if (SWIG_arg_fail(1)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_From_int((int)(result
));
8017 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8024 (char *) "self",(char *) "gravity", NULL
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8029 if (SWIG_arg_fail(1)) SWIG_fail
;
8031 arg2
= (double)(SWIG_As_double(obj1
));
8032 if (SWIG_arg_fail(2)) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 (arg1
)->SetSashGravity(arg2
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 Py_INCREF(Py_None
); resultobj
= Py_None
;
8048 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8054 (char *) "self", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= SWIG_From_double((double)(result
));
8076 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8083 (char *) "self",(char *) "min", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8088 if (SWIG_arg_fail(1)) SWIG_fail
;
8090 arg2
= (int)(SWIG_As_int(obj1
));
8091 if (SWIG_arg_fail(2)) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 (arg1
)->SetMinimumPaneSize(arg2
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 Py_INCREF(Py_None
); resultobj
= Py_None
;
8107 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8113 (char *) "self", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8118 if (SWIG_arg_fail(1)) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_From_int((int)(result
));
8135 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8140 int arg4
= (int) 5 ;
8142 PyObject
* obj0
= 0 ;
8143 PyObject
* obj1
= 0 ;
8144 PyObject
* obj2
= 0 ;
8145 PyObject
* obj3
= 0 ;
8147 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8152 if (SWIG_arg_fail(1)) SWIG_fail
;
8154 arg2
= (int)(SWIG_As_int(obj1
));
8155 if (SWIG_arg_fail(2)) SWIG_fail
;
8158 arg3
= (int)(SWIG_As_int(obj2
));
8159 if (SWIG_arg_fail(3)) SWIG_fail
;
8163 arg4
= (int)(SWIG_As_int(obj3
));
8164 if (SWIG_arg_fail(4)) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8183 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8186 PyObject
* obj0
= 0 ;
8188 (char *) "self", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8193 if (SWIG_arg_fail(1)) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 (arg1
)->SizeWindows();
8198 wxPyEndAllowThreads(__tstate
);
8199 if (PyErr_Occurred()) SWIG_fail
;
8201 Py_INCREF(Py_None
); resultobj
= Py_None
;
8208 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8212 PyObject
* obj0
= 0 ;
8213 PyObject
* obj1
= 0 ;
8215 (char *) "self",(char *) "needUpdating", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8220 if (SWIG_arg_fail(1)) SWIG_fail
;
8222 arg2
= (bool)(SWIG_As_bool(obj1
));
8223 if (SWIG_arg_fail(2)) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 (arg1
)->SetNeedUpdating(arg2
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 Py_INCREF(Py_None
); resultobj
= Py_None
;
8239 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8243 PyObject
* obj0
= 0 ;
8245 (char *) "self", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8250 if (SWIG_arg_fail(1)) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8267 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
*resultobj
;
8269 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8270 wxVisualAttributes result
;
8271 PyObject
* obj0
= 0 ;
8273 (char *) "variant", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8279 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8280 if (SWIG_arg_fail(1)) SWIG_fail
;
8284 if (!wxPyCheckForApp()) SWIG_fail
;
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8292 wxVisualAttributes
* resultptr
;
8293 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8302 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8305 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8307 return Py_BuildValue((char *)"");
8309 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8312 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8313 wxSplitterEvent
*result
;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8317 (char *) "type",(char *) "splitter", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8324 if (SWIG_arg_fail(1)) SWIG_fail
;
8328 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8329 if (SWIG_arg_fail(2)) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8345 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8352 (char *) "self",(char *) "pos", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8357 if (SWIG_arg_fail(1)) SWIG_fail
;
8359 arg2
= (int)(SWIG_As_int(obj1
));
8360 if (SWIG_arg_fail(2)) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 (arg1
)->SetSashPosition(arg2
);
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 Py_INCREF(Py_None
); resultobj
= Py_None
;
8376 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8382 (char *) "self", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8387 if (SWIG_arg_fail(1)) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_From_int((int)(result
));
8404 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8410 (char *) "self", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= wxPyMake_wxObject(result
, 0);
8432 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8443 if (SWIG_arg_fail(1)) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= SWIG_From_int((int)(result
));
8460 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8461 PyObject
*resultobj
;
8462 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8464 PyObject
* obj0
= 0 ;
8466 (char *) "self", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8471 if (SWIG_arg_fail(1)) SWIG_fail
;
8473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8474 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_From_int((int)(result
));
8488 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8491 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8493 return Py_BuildValue((char *)"");
8495 static int _wrap_SashNameStr_set(PyObject
*) {
8496 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8501 static PyObject
*_wrap_SashNameStr_get(void) {
8506 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8508 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8515 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8516 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8521 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8526 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8528 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8535 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxWindow
*arg1
= (wxWindow
*) 0 ;
8538 int arg2
= (int) -1 ;
8539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8541 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8542 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8543 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8544 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8545 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8546 wxSashWindow
*result
;
8549 bool temp6
= false ;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8552 PyObject
* obj2
= 0 ;
8553 PyObject
* obj3
= 0 ;
8554 PyObject
* obj4
= 0 ;
8555 PyObject
* obj5
= 0 ;
8557 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8562 if (SWIG_arg_fail(1)) SWIG_fail
;
8565 arg2
= (int)(SWIG_As_int(obj1
));
8566 if (SWIG_arg_fail(2)) SWIG_fail
;
8572 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8578 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8583 arg5
= (long)(SWIG_As_long(obj4
));
8584 if (SWIG_arg_fail(5)) SWIG_fail
;
8589 arg6
= wxString_in_helper(obj5
);
8590 if (arg6
== NULL
) SWIG_fail
;
8595 if (!wxPyCheckForApp()) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8617 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
;
8619 wxSashWindow
*result
;
8624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8626 if (!wxPyCheckForApp()) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (wxSashWindow
*)new wxSashWindow();
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8640 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8643 wxWindow
*arg2
= (wxWindow
*) 0 ;
8644 int arg3
= (int) -1 ;
8645 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8646 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8647 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8648 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8649 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8650 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8651 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8655 bool temp7
= false ;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8658 PyObject
* obj2
= 0 ;
8659 PyObject
* obj3
= 0 ;
8660 PyObject
* obj4
= 0 ;
8661 PyObject
* obj5
= 0 ;
8662 PyObject
* obj6
= 0 ;
8664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8669 if (SWIG_arg_fail(1)) SWIG_fail
;
8670 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8671 if (SWIG_arg_fail(2)) SWIG_fail
;
8674 arg3
= (int)(SWIG_As_int(obj2
));
8675 if (SWIG_arg_fail(3)) SWIG_fail
;
8681 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8687 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8692 arg6
= (long)(SWIG_As_long(obj5
));
8693 if (SWIG_arg_fail(6)) SWIG_fail
;
8698 arg7
= wxString_in_helper(obj6
);
8699 if (arg7
== NULL
) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8727 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8729 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8730 wxSashEdgePosition arg2
;
8732 PyObject
* obj0
= 0 ;
8733 PyObject
* obj1
= 0 ;
8734 PyObject
* obj2
= 0 ;
8736 (char *) "self",(char *) "edge",(char *) "sash", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8741 if (SWIG_arg_fail(1)) SWIG_fail
;
8743 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8744 if (SWIG_arg_fail(2)) SWIG_fail
;
8747 arg3
= (bool)(SWIG_As_bool(obj2
));
8748 if (SWIG_arg_fail(3)) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 Py_INCREF(Py_None
); resultobj
= Py_None
;
8764 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8767 wxSashEdgePosition arg2
;
8769 PyObject
* obj0
= 0 ;
8770 PyObject
* obj1
= 0 ;
8772 (char *) "self",(char *) "edge", NULL
8775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8777 if (SWIG_arg_fail(1)) SWIG_fail
;
8779 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8780 if (SWIG_arg_fail(2)) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8784 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8798 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8801 wxSashEdgePosition arg2
;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 PyObject
* obj2
= 0 ;
8807 (char *) "self",(char *) "edge",(char *) "border", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8812 if (SWIG_arg_fail(1)) SWIG_fail
;
8814 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8815 if (SWIG_arg_fail(2)) SWIG_fail
;
8818 arg3
= (bool)(SWIG_As_bool(obj2
));
8819 if (SWIG_arg_fail(3)) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 Py_INCREF(Py_None
); resultobj
= Py_None
;
8835 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8838 wxSashEdgePosition arg2
;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8843 (char *) "self",(char *) "edge", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8848 if (SWIG_arg_fail(1)) SWIG_fail
;
8850 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8851 if (SWIG_arg_fail(2)) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8857 wxPyEndAllowThreads(__tstate
);
8858 if (PyErr_Occurred()) SWIG_fail
;
8861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8869 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8872 wxSashEdgePosition arg2
;
8874 PyObject
* obj0
= 0 ;
8875 PyObject
* obj1
= 0 ;
8877 (char *) "self",(char *) "edge", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8882 if (SWIG_arg_fail(1)) SWIG_fail
;
8884 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8885 if (SWIG_arg_fail(2)) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 resultobj
= SWIG_From_int((int)(result
));
8903 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8910 (char *) "self",(char *) "width", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8915 if (SWIG_arg_fail(1)) SWIG_fail
;
8917 arg2
= (int)(SWIG_As_int(obj1
));
8918 if (SWIG_arg_fail(2)) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 (arg1
)->SetDefaultBorderSize(arg2
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 Py_INCREF(Py_None
); resultobj
= Py_None
;
8934 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
;
8936 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8938 PyObject
* obj0
= 0 ;
8940 (char *) "self", NULL
8943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8945 if (SWIG_arg_fail(1)) SWIG_fail
;
8947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8948 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
8950 wxPyEndAllowThreads(__tstate
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_From_int((int)(result
));
8962 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
;
8964 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8966 PyObject
* obj0
= 0 ;
8967 PyObject
* obj1
= 0 ;
8969 (char *) "self",(char *) "width", NULL
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8974 if (SWIG_arg_fail(1)) SWIG_fail
;
8976 arg2
= (int)(SWIG_As_int(obj1
));
8977 if (SWIG_arg_fail(2)) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 (arg1
)->SetExtraBorderSize(arg2
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 Py_INCREF(Py_None
); resultobj
= Py_None
;
8993 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "self", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9004 if (SWIG_arg_fail(1)) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_From_int((int)(result
));
9021 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9026 PyObject
* obj1
= 0 ;
9028 (char *) "self",(char *) "min", NULL
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9033 if (SWIG_arg_fail(1)) SWIG_fail
;
9035 arg2
= (int)(SWIG_As_int(obj1
));
9036 if (SWIG_arg_fail(2)) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 (arg1
)->SetMinimumSizeX(arg2
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9052 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9059 (char *) "self",(char *) "min", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9064 if (SWIG_arg_fail(1)) SWIG_fail
;
9066 arg2
= (int)(SWIG_As_int(obj1
));
9067 if (SWIG_arg_fail(2)) SWIG_fail
;
9070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9071 (arg1
)->SetMinimumSizeY(arg2
);
9073 wxPyEndAllowThreads(__tstate
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 Py_INCREF(Py_None
); resultobj
= Py_None
;
9083 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9089 (char *) "self", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9094 if (SWIG_arg_fail(1)) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= SWIG_From_int((int)(result
));
9111 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9115 PyObject
* obj0
= 0 ;
9117 (char *) "self", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_From_int((int)(result
));
9139 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9146 (char *) "self",(char *) "max", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9151 if (SWIG_arg_fail(1)) SWIG_fail
;
9153 arg2
= (int)(SWIG_As_int(obj1
));
9154 if (SWIG_arg_fail(2)) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 (arg1
)->SetMaximumSizeX(arg2
);
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 Py_INCREF(Py_None
); resultobj
= Py_None
;
9170 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9177 (char *) "self",(char *) "max", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9182 if (SWIG_arg_fail(1)) SWIG_fail
;
9184 arg2
= (int)(SWIG_As_int(obj1
));
9185 if (SWIG_arg_fail(2)) SWIG_fail
;
9188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9189 (arg1
)->SetMaximumSizeY(arg2
);
9191 wxPyEndAllowThreads(__tstate
);
9192 if (PyErr_Occurred()) SWIG_fail
;
9194 Py_INCREF(Py_None
); resultobj
= Py_None
;
9201 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9205 PyObject
* obj0
= 0 ;
9207 (char *) "self", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9212 if (SWIG_arg_fail(1)) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_From_int((int)(result
));
9229 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9240 if (SWIG_arg_fail(1)) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_From_int((int)(result
));
9257 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9258 PyObject
*resultobj
;
9259 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9262 int arg4
= (int) 2 ;
9263 wxSashEdgePosition result
;
9264 PyObject
* obj0
= 0 ;
9265 PyObject
* obj1
= 0 ;
9266 PyObject
* obj2
= 0 ;
9267 PyObject
* obj3
= 0 ;
9269 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9274 if (SWIG_arg_fail(1)) SWIG_fail
;
9276 arg2
= (int)(SWIG_As_int(obj1
));
9277 if (SWIG_arg_fail(2)) SWIG_fail
;
9280 arg3
= (int)(SWIG_As_int(obj2
));
9281 if (SWIG_arg_fail(3)) SWIG_fail
;
9285 arg4
= (int)(SWIG_As_int(obj3
));
9286 if (SWIG_arg_fail(4)) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= SWIG_From_int((result
));
9303 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9308 (char *) "self", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9313 if (SWIG_arg_fail(1)) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 (arg1
)->SizeWindows();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 Py_INCREF(Py_None
); resultobj
= Py_None
;
9328 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9331 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9333 return Py_BuildValue((char *)"");
9335 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 int arg1
= (int) 0 ;
9338 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9339 wxSashEvent
*result
;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9343 (char *) "id",(char *) "edge", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9349 arg1
= (int)(SWIG_As_int(obj0
));
9350 if (SWIG_arg_fail(1)) SWIG_fail
;
9355 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9356 if (SWIG_arg_fail(2)) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9373 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9376 wxSashEdgePosition arg2
;
9377 PyObject
* obj0
= 0 ;
9378 PyObject
* obj1
= 0 ;
9380 (char *) "self",(char *) "edge", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9385 if (SWIG_arg_fail(1)) SWIG_fail
;
9387 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9388 if (SWIG_arg_fail(2)) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9392 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9404 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9407 wxSashEdgePosition result
;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9415 if (SWIG_arg_fail(1)) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_From_int((result
));
9430 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9438 (char *) "self",(char *) "rect", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9443 if (SWIG_arg_fail(1)) SWIG_fail
;
9446 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 Py_INCREF(Py_None
); resultobj
= Py_None
;
9462 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9468 (char *) "self", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9473 if (SWIG_arg_fail(1)) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9483 resultptr
= new wxRect((wxRect
&)(result
));
9484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9492 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9495 wxSashDragStatus arg2
;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9499 (char *) "self",(char *) "status", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9504 if (SWIG_arg_fail(1)) SWIG_fail
;
9506 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9507 if (SWIG_arg_fail(2)) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 Py_INCREF(Py_None
); resultobj
= Py_None
;
9523 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
;
9525 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9526 wxSashDragStatus result
;
9527 PyObject
* obj0
= 0 ;
9529 (char *) "self", NULL
9532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9534 if (SWIG_arg_fail(1)) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 resultobj
= SWIG_From_int((result
));
9549 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9552 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9554 return Py_BuildValue((char *)"");
9556 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 int arg1
= (int) 0 ;
9559 wxQueryLayoutInfoEvent
*result
;
9560 PyObject
* obj0
= 0 ;
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9568 arg1
= (int)(SWIG_As_int(obj0
));
9569 if (SWIG_arg_fail(1)) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9586 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9593 (char *) "self",(char *) "length", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9598 if (SWIG_arg_fail(1)) SWIG_fail
;
9600 arg2
= (int)(SWIG_As_int(obj1
));
9601 if (SWIG_arg_fail(2)) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 (arg1
)->SetRequestedLength(arg2
);
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 Py_INCREF(Py_None
); resultobj
= Py_None
;
9617 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9628 if (SWIG_arg_fail(1)) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= SWIG_From_int((int)(result
));
9645 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9652 (char *) "self",(char *) "flags", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail
;
9659 arg2
= (int)(SWIG_As_int(obj1
));
9660 if (SWIG_arg_fail(2)) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->SetFlags(arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9676 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
;
9678 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9680 PyObject
* obj0
= 0 ;
9682 (char *) "self", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_From_int((int)(result
));
9704 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9709 PyObject
* obj0
= 0 ;
9710 PyObject
* obj1
= 0 ;
9712 (char *) "self",(char *) "size", NULL
9715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9717 if (SWIG_arg_fail(1)) SWIG_fail
;
9720 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 (arg1
)->SetSize((wxSize
const &)*arg2
);
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 Py_INCREF(Py_None
); resultobj
= Py_None
;
9736 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9757 resultptr
= new wxSize((wxSize
&)(result
));
9758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9766 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9769 wxLayoutOrientation arg2
;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9773 (char *) "self",(char *) "orient", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9778 if (SWIG_arg_fail(1)) SWIG_fail
;
9780 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9781 if (SWIG_arg_fail(2)) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 Py_INCREF(Py_None
); resultobj
= Py_None
;
9797 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9800 wxLayoutOrientation result
;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_From_int((result
));
9823 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9826 wxLayoutAlignment arg2
;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9830 (char *) "self",(char *) "align", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9835 if (SWIG_arg_fail(1)) SWIG_fail
;
9837 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9838 if (SWIG_arg_fail(2)) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 Py_INCREF(Py_None
); resultobj
= Py_None
;
9854 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9857 wxLayoutAlignment result
;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_From_int((result
));
9880 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9883 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9885 return Py_BuildValue((char *)"");
9887 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 int arg1
= (int) 0 ;
9890 wxCalculateLayoutEvent
*result
;
9891 PyObject
* obj0
= 0 ;
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9899 arg1
= (int)(SWIG_As_int(obj0
));
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9917 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "flags", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9931 arg2
= (int)(SWIG_As_int(obj1
));
9932 if (SWIG_arg_fail(2)) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 (arg1
)->SetFlags(arg2
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 Py_INCREF(Py_None
); resultobj
= Py_None
;
9948 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9959 if (SWIG_arg_fail(1)) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_From_int((int)(result
));
9976 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "rect", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail
;
9992 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 (arg1
)->SetRect((wxRect
const &)*arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 Py_INCREF(Py_None
); resultobj
= Py_None
;
10008 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
;
10010 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 wxRect
* resultptr
;
10029 resultptr
= new wxRect((wxRect
&)(result
));
10030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10038 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10041 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10043 return Py_BuildValue((char *)"");
10045 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxWindow
*arg1
= (wxWindow
*) 0 ;
10048 int arg2
= (int) -1 ;
10049 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10050 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10051 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10052 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10053 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10054 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10055 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10056 wxSashLayoutWindow
*result
;
10059 bool temp6
= false ;
10060 PyObject
* obj0
= 0 ;
10061 PyObject
* obj1
= 0 ;
10062 PyObject
* obj2
= 0 ;
10063 PyObject
* obj3
= 0 ;
10064 PyObject
* obj4
= 0 ;
10065 PyObject
* obj5
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10072 if (SWIG_arg_fail(1)) SWIG_fail
;
10075 arg2
= (int)(SWIG_As_int(obj1
));
10076 if (SWIG_arg_fail(2)) SWIG_fail
;
10082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10093 arg5
= (long)(SWIG_As_long(obj4
));
10094 if (SWIG_arg_fail(5)) SWIG_fail
;
10099 arg6
= wxString_in_helper(obj5
);
10100 if (arg6
== NULL
) SWIG_fail
;
10105 if (!wxPyCheckForApp()) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10127 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxSashLayoutWindow
*result
;
10130 char *kwnames
[] = {
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10136 if (!wxPyCheckForApp()) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10150 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
*resultobj
;
10152 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10153 wxWindow
*arg2
= (wxWindow
*) 0 ;
10154 int arg3
= (int) -1 ;
10155 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10156 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10157 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10158 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10159 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10160 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10161 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10165 bool temp7
= false ;
10166 PyObject
* obj0
= 0 ;
10167 PyObject
* obj1
= 0 ;
10168 PyObject
* obj2
= 0 ;
10169 PyObject
* obj3
= 0 ;
10170 PyObject
* obj4
= 0 ;
10171 PyObject
* obj5
= 0 ;
10172 PyObject
* obj6
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10179 if (SWIG_arg_fail(1)) SWIG_fail
;
10180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10181 if (SWIG_arg_fail(2)) SWIG_fail
;
10184 arg3
= (int)(SWIG_As_int(obj2
));
10185 if (SWIG_arg_fail(3)) SWIG_fail
;
10191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10202 arg6
= (long)(SWIG_As_long(obj5
));
10203 if (SWIG_arg_fail(6)) SWIG_fail
;
10208 arg7
= wxString_in_helper(obj6
);
10209 if (arg7
== NULL
) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10237 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10240 wxLayoutAlignment result
;
10241 PyObject
* obj0
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10248 if (SWIG_arg_fail(1)) SWIG_fail
;
10250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10251 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_From_int((result
));
10263 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10266 wxLayoutOrientation result
;
10267 PyObject
* obj0
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10274 if (SWIG_arg_fail(1)) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_From_int((result
));
10289 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10292 wxLayoutAlignment arg2
;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 char *kwnames
[] = {
10296 (char *) "self",(char *) "alignment", NULL
10299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10301 if (SWIG_arg_fail(1)) SWIG_fail
;
10303 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10304 if (SWIG_arg_fail(2)) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 Py_INCREF(Py_None
); resultobj
= Py_None
;
10320 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 PyObject
* obj1
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self",(char *) "size", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10333 if (SWIG_arg_fail(1)) SWIG_fail
;
10336 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 Py_INCREF(Py_None
); resultobj
= Py_None
;
10352 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10355 wxLayoutOrientation arg2
;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self",(char *) "orientation", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10364 if (SWIG_arg_fail(1)) SWIG_fail
;
10366 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10367 if (SWIG_arg_fail(2)) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 Py_INCREF(Py_None
); resultobj
= Py_None
;
10383 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10386 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10388 return Py_BuildValue((char *)"");
10390 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxLayoutAlgorithm
*result
;
10393 char *kwnames
[] = {
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10412 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10422 if (SWIG_arg_fail(1)) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 Py_INCREF(Py_None
); resultobj
= Py_None
;
10437 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10440 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10441 wxRect
*arg3
= (wxRect
*) NULL
;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 PyObject
* obj2
= 0 ;
10446 char *kwnames
[] = {
10447 (char *) "self",(char *) "frame",(char *) "rect", NULL
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10452 if (SWIG_arg_fail(1)) SWIG_fail
;
10453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10454 if (SWIG_arg_fail(2)) SWIG_fail
;
10456 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10457 if (SWIG_arg_fail(3)) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10475 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10476 PyObject
*resultobj
;
10477 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10478 wxFrame
*arg2
= (wxFrame
*) 0 ;
10479 wxWindow
*arg3
= (wxWindow
*) NULL
;
10481 PyObject
* obj0
= 0 ;
10482 PyObject
* obj1
= 0 ;
10483 PyObject
* obj2
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10490 if (SWIG_arg_fail(1)) SWIG_fail
;
10491 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10492 if (SWIG_arg_fail(2)) SWIG_fail
;
10494 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10495 if (SWIG_arg_fail(3)) SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10513 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10516 wxWindow
*arg2
= (wxWindow
*) 0 ;
10517 wxWindow
*arg3
= (wxWindow
*) NULL
;
10519 PyObject
* obj0
= 0 ;
10520 PyObject
* obj1
= 0 ;
10521 PyObject
* obj2
= 0 ;
10522 char *kwnames
[] = {
10523 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10528 if (SWIG_arg_fail(1)) SWIG_fail
;
10529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10530 if (SWIG_arg_fail(2)) SWIG_fail
;
10532 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10533 if (SWIG_arg_fail(3)) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10551 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10554 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10556 return Py_BuildValue((char *)"");
10558 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10559 PyObject
*resultobj
;
10560 wxWindow
*arg1
= (wxWindow
*) 0 ;
10561 int arg2
= (int) wxBORDER_NONE
;
10562 wxPopupWindow
*result
;
10563 PyObject
* obj0
= 0 ;
10564 PyObject
* obj1
= 0 ;
10565 char *kwnames
[] = {
10566 (char *) "parent",(char *) "flags", NULL
10569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10571 if (SWIG_arg_fail(1)) SWIG_fail
;
10574 arg2
= (int)(SWIG_As_int(obj1
));
10575 if (SWIG_arg_fail(2)) SWIG_fail
;
10579 if (!wxPyCheckForApp()) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10593 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxPopupWindow
*result
;
10596 char *kwnames
[] = {
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10602 if (!wxPyCheckForApp()) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 result
= (wxPopupWindow
*)new wxPopupWindow();
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10616 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10619 wxWindow
*arg2
= (wxWindow
*) 0 ;
10620 int arg3
= (int) wxBORDER_NONE
;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 PyObject
* obj2
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self",(char *) "parent",(char *) "flags", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10633 if (SWIG_arg_fail(2)) SWIG_fail
;
10636 arg3
= (int)(SWIG_As_int(obj2
));
10637 if (SWIG_arg_fail(3)) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10656 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
;
10658 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10659 wxPoint
*arg2
= 0 ;
10663 PyObject
* obj0
= 0 ;
10664 PyObject
* obj1
= 0 ;
10665 PyObject
* obj2
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail
;
10675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10679 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10688 Py_INCREF(Py_None
); resultobj
= Py_None
;
10695 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10698 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10700 return Py_BuildValue((char *)"");
10702 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10703 PyObject
*resultobj
;
10704 wxWindow
*arg1
= (wxWindow
*) 0 ;
10705 int arg2
= (int) wxBORDER_NONE
;
10706 wxPyPopupTransientWindow
*result
;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "parent",(char *) "style", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10715 if (SWIG_arg_fail(1)) SWIG_fail
;
10718 arg2
= (int)(SWIG_As_int(obj1
));
10719 if (SWIG_arg_fail(2)) SWIG_fail
;
10723 if (!wxPyCheckForApp()) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10737 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxPyPopupTransientWindow
*result
;
10740 char *kwnames
[] = {
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10746 if (!wxPyCheckForApp()) SWIG_fail
;
10747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10748 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10760 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10763 PyObject
*arg2
= (PyObject
*) 0 ;
10764 PyObject
*arg3
= (PyObject
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 PyObject
* obj2
= 0 ;
10768 char *kwnames
[] = {
10769 (char *) "self",(char *) "self",(char *) "_class", NULL
10772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10774 if (SWIG_arg_fail(1)) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10794 wxWindow
*arg2
= (wxWindow
*) NULL
;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self",(char *) "focus", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10803 if (SWIG_arg_fail(1)) SWIG_fail
;
10805 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10806 if (SWIG_arg_fail(2)) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 (arg1
)->Popup(arg2
);
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 Py_INCREF(Py_None
); resultobj
= Py_None
;
10822 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10832 if (SWIG_arg_fail(1)) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 Py_INCREF(Py_None
); resultobj
= Py_None
;
10847 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10850 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10852 return Py_BuildValue((char *)"");
10854 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxWindow
*arg1
= (wxWindow
*) 0 ;
10857 wxString
*arg2
= 0 ;
10858 int arg3
= (int) 100 ;
10859 wxRect
*arg4
= (wxRect
*) NULL
;
10860 wxTipWindow
*result
;
10861 bool temp2
= false ;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 PyObject
* obj2
= 0 ;
10865 PyObject
* obj3
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10872 if (SWIG_arg_fail(1)) SWIG_fail
;
10874 arg2
= wxString_in_helper(obj1
);
10875 if (arg2
== NULL
) SWIG_fail
;
10880 arg3
= (int)(SWIG_As_int(obj2
));
10881 if (SWIG_arg_fail(3)) SWIG_fail
;
10885 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10886 if (SWIG_arg_fail(4)) SWIG_fail
;
10889 if (!wxPyCheckForApp()) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10893 wxPyEndAllowThreads(__tstate
);
10894 if (PyErr_Occurred()) SWIG_fail
;
10896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10911 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "rectBound", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10924 if (SWIG_arg_fail(1)) SWIG_fail
;
10927 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10944 PyObject
*resultobj
;
10945 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10946 PyObject
* obj0
= 0 ;
10947 char *kwnames
[] = {
10948 (char *) "self", NULL
10951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10953 if (SWIG_arg_fail(1)) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 Py_INCREF(Py_None
); resultobj
= Py_None
;
10968 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10971 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10973 return Py_BuildValue((char *)"");
10975 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10976 PyObject
*resultobj
;
10977 wxWindow
*arg1
= (wxWindow
*) 0 ;
10978 int arg2
= (int) wxID_ANY
;
10979 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10980 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10981 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10982 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10983 long arg5
= (long) 0 ;
10984 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10985 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10986 wxPyVScrolledWindow
*result
;
10989 bool temp6
= false ;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 PyObject
* obj2
= 0 ;
10993 PyObject
* obj3
= 0 ;
10994 PyObject
* obj4
= 0 ;
10995 PyObject
* obj5
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11002 if (SWIG_arg_fail(1)) SWIG_fail
;
11005 arg2
= (int)(SWIG_As_int(obj1
));
11006 if (SWIG_arg_fail(2)) SWIG_fail
;
11012 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11018 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11023 arg5
= (long)(SWIG_As_long(obj4
));
11024 if (SWIG_arg_fail(5)) SWIG_fail
;
11029 arg6
= wxString_in_helper(obj5
);
11030 if (arg6
== NULL
) SWIG_fail
;
11035 if (!wxPyCheckForApp()) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11057 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxPyVScrolledWindow
*result
;
11060 char *kwnames
[] = {
11064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11066 if (!wxPyCheckForApp()) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11080 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11081 PyObject
*resultobj
;
11082 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11083 PyObject
*arg2
= (PyObject
*) 0 ;
11084 PyObject
*arg3
= (PyObject
*) 0 ;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj1
= 0 ;
11087 PyObject
* obj2
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "self",(char *) "_class", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11094 if (SWIG_arg_fail(1)) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11111 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11114 wxWindow
*arg2
= (wxWindow
*) 0 ;
11115 int arg3
= (int) wxID_ANY
;
11116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11120 long arg6
= (long) 0 ;
11121 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11122 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11126 bool temp7
= false ;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11130 PyObject
* obj3
= 0 ;
11131 PyObject
* obj4
= 0 ;
11132 PyObject
* obj5
= 0 ;
11133 PyObject
* obj6
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11140 if (SWIG_arg_fail(1)) SWIG_fail
;
11141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11142 if (SWIG_arg_fail(2)) SWIG_fail
;
11145 arg3
= (int)(SWIG_As_int(obj2
));
11146 if (SWIG_arg_fail(3)) SWIG_fail
;
11152 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11158 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11163 arg6
= (long)(SWIG_As_long(obj5
));
11164 if (SWIG_arg_fail(6)) SWIG_fail
;
11169 arg7
= wxString_in_helper(obj6
);
11170 if (arg7
== NULL
) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11198 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11202 PyObject
* obj0
= 0 ;
11203 PyObject
* obj1
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self",(char *) "count", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11210 if (SWIG_arg_fail(1)) SWIG_fail
;
11212 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11213 if (SWIG_arg_fail(2)) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 (arg1
)->SetLineCount(arg2
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 Py_INCREF(Py_None
); resultobj
= Py_None
;
11229 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self",(char *) "line", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail
;
11244 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11245 if (SWIG_arg_fail(2)) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11263 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "lines", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11276 if (SWIG_arg_fail(1)) SWIG_fail
;
11278 arg2
= (int)(SWIG_As_int(obj1
));
11279 if (SWIG_arg_fail(2)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (bool)(arg1
)->ScrollLines(arg2
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 PyObject
* obj1
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "pages", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail
;
11312 arg2
= (int)(SWIG_As_int(obj1
));
11313 if (SWIG_arg_fail(2)) SWIG_fail
;
11316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11317 result
= (bool)(arg1
)->ScrollPages(arg2
);
11319 wxPyEndAllowThreads(__tstate
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11331 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
;
11333 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char *kwnames
[] = {
11338 (char *) "self",(char *) "line", NULL
11341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11343 if (SWIG_arg_fail(1)) SWIG_fail
;
11345 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11346 if (SWIG_arg_fail(2)) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 (arg1
)->RefreshLine(arg2
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11355 Py_INCREF(Py_None
); resultobj
= Py_None
;
11362 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11363 PyObject
*resultobj
;
11364 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 PyObject
* obj2
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self",(char *) "from",(char *) "to", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11376 if (SWIG_arg_fail(1)) SWIG_fail
;
11378 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11379 if (SWIG_arg_fail(2)) SWIG_fail
;
11382 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11383 if (SWIG_arg_fail(3)) SWIG_fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 (arg1
)->RefreshLines(arg2
,arg3
);
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 Py_INCREF(Py_None
); resultobj
= Py_None
;
11399 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 PyObject
* obj2
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "x",(char *) "y", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11414 if (SWIG_arg_fail(1)) SWIG_fail
;
11416 arg2
= (int)(SWIG_As_int(obj1
));
11417 if (SWIG_arg_fail(2)) SWIG_fail
;
11420 arg3
= (int)(SWIG_As_int(obj2
));
11421 if (SWIG_arg_fail(3)) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11431 resultobj
= SWIG_From_int((int)(result
));
11439 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11442 wxPoint
*arg2
= 0 ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 char *kwnames
[] = {
11448 (char *) "self",(char *) "pt", NULL
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11453 if (SWIG_arg_fail(1)) SWIG_fail
;
11456 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11462 wxPyEndAllowThreads(__tstate
);
11463 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_From_int((int)(result
));
11474 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11475 PyObject
*resultobj
;
11476 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11477 PyObject
* obj0
= 0 ;
11478 char *kwnames
[] = {
11479 (char *) "self", NULL
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11484 if (SWIG_arg_fail(1)) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 (arg1
)->RefreshAll();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 Py_INCREF(Py_None
); resultobj
= Py_None
;
11499 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11503 PyObject
* obj0
= 0 ;
11504 char *kwnames
[] = {
11505 (char *) "self", NULL
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11510 if (SWIG_arg_fail(1)) SWIG_fail
;
11512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11513 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11527 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11531 PyObject
* obj0
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11538 if (SWIG_arg_fail(1)) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11555 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11566 if (SWIG_arg_fail(1)) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11583 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11588 PyObject
* obj0
= 0 ;
11589 PyObject
* obj1
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "self",(char *) "line", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11596 if (SWIG_arg_fail(1)) SWIG_fail
;
11598 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11599 if (SWIG_arg_fail(2)) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11617 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11621 PyObject
* obj0
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11628 if (SWIG_arg_fail(1)) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11645 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11656 if (SWIG_arg_fail(1)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11673 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11676 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11678 return Py_BuildValue((char *)"");
11680 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11681 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11686 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11691 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11693 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11700 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
;
11702 wxWindow
*arg1
= (wxWindow
*) 0 ;
11703 int arg2
= (int) wxID_ANY
;
11704 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11705 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11706 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11707 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11708 long arg5
= (long) 0 ;
11709 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11710 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11711 wxPyVListBox
*result
;
11714 bool temp6
= false ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 PyObject
* obj3
= 0 ;
11719 PyObject
* obj4
= 0 ;
11720 PyObject
* obj5
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11727 if (SWIG_arg_fail(1)) SWIG_fail
;
11730 arg2
= (int)(SWIG_As_int(obj1
));
11731 if (SWIG_arg_fail(2)) SWIG_fail
;
11737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11743 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11748 arg5
= (long)(SWIG_As_long(obj4
));
11749 if (SWIG_arg_fail(5)) SWIG_fail
;
11754 arg6
= wxString_in_helper(obj5
);
11755 if (arg6
== NULL
) SWIG_fail
;
11760 if (!wxPyCheckForApp()) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11782 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxPyVListBox
*result
;
11785 char *kwnames
[] = {
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11791 if (!wxPyCheckForApp()) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (wxPyVListBox
*)new wxPyVListBox();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11805 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11808 PyObject
*arg2
= (PyObject
*) 0 ;
11809 PyObject
*arg3
= (PyObject
*) 0 ;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 PyObject
* obj2
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "self",(char *) "self",(char *) "_class", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11819 if (SWIG_arg_fail(1)) SWIG_fail
;
11823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11824 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11826 wxPyEndAllowThreads(__tstate
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11829 Py_INCREF(Py_None
); resultobj
= Py_None
;
11836 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
;
11838 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11839 wxWindow
*arg2
= (wxWindow
*) 0 ;
11840 int arg3
= (int) wxID_ANY
;
11841 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11842 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11843 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11844 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11845 long arg6
= (long) 0 ;
11846 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11847 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11851 bool temp7
= false ;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 PyObject
* obj2
= 0 ;
11855 PyObject
* obj3
= 0 ;
11856 PyObject
* obj4
= 0 ;
11857 PyObject
* obj5
= 0 ;
11858 PyObject
* obj6
= 0 ;
11859 char *kwnames
[] = {
11860 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11865 if (SWIG_arg_fail(1)) SWIG_fail
;
11866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11867 if (SWIG_arg_fail(2)) SWIG_fail
;
11870 arg3
= (int)(SWIG_As_int(obj2
));
11871 if (SWIG_arg_fail(3)) SWIG_fail
;
11877 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11883 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11888 arg6
= (long)(SWIG_As_long(obj5
));
11889 if (SWIG_arg_fail(6)) SWIG_fail
;
11894 arg7
= wxString_in_helper(obj6
);
11895 if (arg7
== NULL
) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11923 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11934 if (SWIG_arg_fail(1)) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11943 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11951 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 char *kwnames
[] = {
11957 (char *) "self", NULL
11960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11962 if (SWIG_arg_fail(1)) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11979 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11990 if (SWIG_arg_fail(1)) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_From_int((int)(result
));
12007 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self",(char *) "item", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12020 if (SWIG_arg_fail(1)) SWIG_fail
;
12022 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12023 if (SWIG_arg_fail(2)) SWIG_fail
;
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12029 wxPyEndAllowThreads(__tstate
);
12030 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12041 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char *kwnames
[] = {
12049 (char *) "self",(char *) "item", NULL
12052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12054 if (SWIG_arg_fail(1)) SWIG_fail
;
12056 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12057 if (SWIG_arg_fail(2)) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12075 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12079 PyObject
* obj0
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12086 if (SWIG_arg_fail(1)) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12095 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12103 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12114 if (SWIG_arg_fail(1)) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= result
;
12129 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12132 unsigned long arg2
;
12134 PyObject
* obj0
= 0 ;
12135 PyObject
* obj1
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self",(char *) "cookie", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12142 if (SWIG_arg_fail(1)) SWIG_fail
;
12144 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12145 if (SWIG_arg_fail(2)) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= result
;
12161 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(1)) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12181 wxPoint
* resultptr
;
12182 resultptr
= new wxPoint((wxPoint
&)(result
));
12183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12191 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12202 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12207 result
= (wxColour
*) &_result_ref
;
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12220 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "count", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12232 if (SWIG_arg_fail(1)) SWIG_fail
;
12234 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12235 if (SWIG_arg_fail(2)) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->SetItemCount(arg2
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12254 PyObject
* obj0
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12261 if (SWIG_arg_fail(1)) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 Py_INCREF(Py_None
); resultobj
= Py_None
;
12276 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 PyObject
* obj1
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self",(char *) "selection", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12288 if (SWIG_arg_fail(1)) SWIG_fail
;
12290 arg2
= (int)(SWIG_As_int(obj1
));
12291 if (SWIG_arg_fail(2)) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 (arg1
)->SetSelection(arg2
);
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 Py_INCREF(Py_None
); resultobj
= Py_None
;
12307 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12311 bool arg3
= (bool) true ;
12313 PyObject
* obj0
= 0 ;
12314 PyObject
* obj1
= 0 ;
12315 PyObject
* obj2
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "item",(char *) "select", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail
;
12324 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12325 if (SWIG_arg_fail(2)) SWIG_fail
;
12329 arg3
= (bool)(SWIG_As_bool(obj2
));
12330 if (SWIG_arg_fail(3)) SWIG_fail
;
12334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12335 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12337 wxPyEndAllowThreads(__tstate
);
12338 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12349 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 PyObject
* obj2
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self",(char *) "from",(char *) "to", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12364 if (SWIG_arg_fail(1)) SWIG_fail
;
12366 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12367 if (SWIG_arg_fail(2)) SWIG_fail
;
12370 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12371 if (SWIG_arg_fail(3)) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12389 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 char *kwnames
[] = {
12396 (char *) "self",(char *) "item", NULL
12399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12401 if (SWIG_arg_fail(1)) SWIG_fail
;
12403 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12404 if (SWIG_arg_fail(2)) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 (arg1
)->Toggle(arg2
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 Py_INCREF(Py_None
); resultobj
= Py_None
;
12420 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "self", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12431 if (SWIG_arg_fail(1)) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (bool)(arg1
)->SelectAll();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12448 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12459 if (SWIG_arg_fail(1)) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (bool)(arg1
)->DeselectAll();
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12476 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12479 wxPoint
*arg2
= 0 ;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self",(char *) "pt", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12489 if (SWIG_arg_fail(1)) SWIG_fail
;
12492 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 Py_INCREF(Py_None
); resultobj
= Py_None
;
12508 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12513 PyObject
* obj0
= 0 ;
12514 PyObject
* obj1
= 0 ;
12515 PyObject
* obj2
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self",(char *) "x",(char *) "y", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12522 if (SWIG_arg_fail(1)) SWIG_fail
;
12524 arg2
= (int)(SWIG_As_int(obj1
));
12525 if (SWIG_arg_fail(2)) SWIG_fail
;
12528 arg3
= (int)(SWIG_As_int(obj2
));
12529 if (SWIG_arg_fail(3)) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 (arg1
)->SetMargins(arg2
,arg3
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 Py_INCREF(Py_None
); resultobj
= Py_None
;
12545 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12546 PyObject
*resultobj
;
12547 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12548 wxColour
*arg2
= 0 ;
12550 PyObject
* obj0
= 0 ;
12551 PyObject
* obj1
= 0 ;
12552 char *kwnames
[] = {
12553 (char *) "self",(char *) "col", NULL
12556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12558 if (SWIG_arg_fail(1)) SWIG_fail
;
12561 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 Py_INCREF(Py_None
); resultobj
= Py_None
;
12577 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12580 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12582 return Py_BuildValue((char *)"");
12584 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12585 PyObject
*resultobj
;
12586 wxWindow
*arg1
= (wxWindow
*) 0 ;
12587 int arg2
= (int) wxID_ANY
;
12588 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12589 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12590 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12591 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12592 long arg5
= (long) 0 ;
12593 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12594 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12595 wxPyHtmlListBox
*result
;
12598 bool temp6
= false ;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 PyObject
* obj2
= 0 ;
12602 PyObject
* obj3
= 0 ;
12603 PyObject
* obj4
= 0 ;
12604 PyObject
* obj5
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12611 if (SWIG_arg_fail(1)) SWIG_fail
;
12614 arg2
= (int)(SWIG_As_int(obj1
));
12615 if (SWIG_arg_fail(2)) SWIG_fail
;
12621 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12632 arg5
= (long)(SWIG_As_long(obj4
));
12633 if (SWIG_arg_fail(5)) SWIG_fail
;
12638 arg6
= wxString_in_helper(obj5
);
12639 if (arg6
== NULL
) SWIG_fail
;
12644 if (!wxPyCheckForApp()) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12666 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxPyHtmlListBox
*result
;
12669 char *kwnames
[] = {
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12675 if (!wxPyCheckForApp()) SWIG_fail
;
12676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12677 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12679 wxPyEndAllowThreads(__tstate
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12689 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12690 PyObject
*resultobj
;
12691 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12692 PyObject
*arg2
= (PyObject
*) 0 ;
12693 PyObject
*arg3
= (PyObject
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self",(char *) "self",(char *) "_class", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12703 if (SWIG_arg_fail(1)) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 Py_INCREF(Py_None
); resultobj
= Py_None
;
12720 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12723 wxWindow
*arg2
= (wxWindow
*) 0 ;
12724 int arg3
= (int) wxID_ANY
;
12725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12729 long arg6
= (long) 0 ;
12730 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12731 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12735 bool temp7
= false ;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 PyObject
* obj2
= 0 ;
12739 PyObject
* obj3
= 0 ;
12740 PyObject
* obj4
= 0 ;
12741 PyObject
* obj5
= 0 ;
12742 PyObject
* obj6
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12749 if (SWIG_arg_fail(1)) SWIG_fail
;
12750 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(2)) SWIG_fail
;
12754 arg3
= (int)(SWIG_As_int(obj2
));
12755 if (SWIG_arg_fail(3)) SWIG_fail
;
12761 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12767 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12772 arg6
= (long)(SWIG_As_long(obj5
));
12773 if (SWIG_arg_fail(6)) SWIG_fail
;
12778 arg7
= wxString_in_helper(obj6
);
12779 if (arg7
== NULL
) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12807 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12808 PyObject
*resultobj
;
12809 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12817 if (SWIG_arg_fail(1)) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 (arg1
)->RefreshAll();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12825 Py_INCREF(Py_None
); resultobj
= Py_None
;
12832 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12833 PyObject
*resultobj
;
12834 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12836 PyObject
* obj0
= 0 ;
12837 PyObject
* obj1
= 0 ;
12838 char *kwnames
[] = {
12839 (char *) "self",(char *) "count", NULL
12842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12844 if (SWIG_arg_fail(1)) SWIG_fail
;
12846 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12847 if (SWIG_arg_fail(2)) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 (arg1
)->SetItemCount(arg2
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 Py_INCREF(Py_None
); resultobj
= Py_None
;
12863 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12866 wxFileSystem
*result
;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12874 if (SWIG_arg_fail(1)) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12879 result
= (wxFileSystem
*) &_result_ref
;
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12892 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12895 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12897 return Py_BuildValue((char *)"");
12899 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxPyTaskBarIcon
*result
;
12902 char *kwnames
[] = {
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12908 if (!wxPyCheckForApp()) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12922 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12925 PyObject
*arg2
= (PyObject
*) 0 ;
12926 PyObject
*arg3
= (PyObject
*) 0 ;
12928 PyObject
* obj0
= 0 ;
12929 PyObject
* obj1
= 0 ;
12930 PyObject
* obj2
= 0 ;
12931 PyObject
* obj3
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12938 if (SWIG_arg_fail(1)) SWIG_fail
;
12942 arg4
= (int)(SWIG_As_int(obj3
));
12943 if (SWIG_arg_fail(4)) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12959 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12969 if (SWIG_arg_fail(1)) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 wxPyTaskBarIcon_Destroy(arg1
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 Py_INCREF(Py_None
); resultobj
= Py_None
;
12984 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
;
12986 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12995 if (SWIG_arg_fail(1)) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12998 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13012 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(1)) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13040 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13044 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13045 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13047 bool temp3
= false ;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 PyObject
* obj2
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13057 if (SWIG_arg_fail(1)) SWIG_fail
;
13059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13060 if (SWIG_arg_fail(2)) SWIG_fail
;
13061 if (arg2
== NULL
) {
13062 SWIG_null_ref("wxIcon");
13064 if (SWIG_arg_fail(2)) SWIG_fail
;
13068 arg3
= wxString_in_helper(obj2
);
13069 if (arg3
== NULL
) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13097 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13108 if (SWIG_arg_fail(1)) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (bool)(arg1
)->RemoveIcon();
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13125 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13128 wxMenu
*arg2
= (wxMenu
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self",(char *) "menu", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13138 if (SWIG_arg_fail(1)) SWIG_fail
;
13139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13140 if (SWIG_arg_fail(2)) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (bool)(arg1
)->PopupMenu(arg2
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13157 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13160 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13162 return Py_BuildValue((char *)"");
13164 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
;
13167 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13168 wxTaskBarIconEvent
*result
;
13169 PyObject
* obj0
= 0 ;
13170 PyObject
* obj1
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "evtType",(char *) "tbIcon", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13177 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13178 if (SWIG_arg_fail(1)) SWIG_fail
;
13180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13181 if (SWIG_arg_fail(2)) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13196 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13199 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13201 return Py_BuildValue((char *)"");
13203 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13204 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13209 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13214 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13216 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13223 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13224 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13229 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13234 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13236 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13243 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13244 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13249 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13254 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13256 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13263 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13264 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13269 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13274 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13276 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13283 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13284 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13289 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13294 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13296 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13303 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13304 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13309 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13314 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13316 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13323 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxColourData
*result
;
13326 char *kwnames
[] = {
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 result
= (wxColourData
*)new wxColourData();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13345 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
;
13347 wxColourData
*arg1
= (wxColourData
*) 0 ;
13348 PyObject
* obj0
= 0 ;
13349 char *kwnames
[] = {
13350 (char *) "self", NULL
13353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13355 if (SWIG_arg_fail(1)) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 Py_INCREF(Py_None
); resultobj
= Py_None
;
13370 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxColourData
*arg1
= (wxColourData
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self", NULL
13379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13381 if (SWIG_arg_fail(1)) SWIG_fail
;
13383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13384 result
= (bool)(arg1
)->GetChooseFull();
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13398 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxColourData
*arg1
= (wxColourData
*) 0 ;
13402 PyObject
* obj0
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "self", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13409 if (SWIG_arg_fail(1)) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (arg1
)->GetColour();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13418 wxColour
* resultptr
;
13419 resultptr
= new wxColour((wxColour
&)(result
));
13420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13428 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxColourData
*arg1
= (wxColourData
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 PyObject
* obj1
= 0 ;
13435 char *kwnames
[] = {
13436 (char *) "self",(char *) "i", NULL
13439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13441 if (SWIG_arg_fail(1)) SWIG_fail
;
13443 arg2
= (int)(SWIG_As_int(obj1
));
13444 if (SWIG_arg_fail(2)) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (arg1
)->GetCustomColour(arg2
);
13450 wxPyEndAllowThreads(__tstate
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13454 wxColour
* resultptr
;
13455 resultptr
= new wxColour((wxColour
&)(result
));
13456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13464 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxColourData
*arg1
= (wxColourData
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 PyObject
* obj1
= 0 ;
13470 char *kwnames
[] = {
13471 (char *) "self",(char *) "flag", NULL
13474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13476 if (SWIG_arg_fail(1)) SWIG_fail
;
13478 arg2
= (int)(SWIG_As_int(obj1
));
13479 if (SWIG_arg_fail(2)) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->SetChooseFull(arg2
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 Py_INCREF(Py_None
); resultobj
= Py_None
;
13495 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxColourData
*arg1
= (wxColourData
*) 0 ;
13498 wxColour
*arg2
= 0 ;
13500 PyObject
* obj0
= 0 ;
13501 PyObject
* obj1
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self",(char *) "colour", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13508 if (SWIG_arg_fail(1)) SWIG_fail
;
13511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 (arg1
)->SetColour((wxColour
const &)*arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 Py_INCREF(Py_None
); resultobj
= Py_None
;
13527 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxColourData
*arg1
= (wxColourData
*) 0 ;
13531 wxColour
*arg3
= 0 ;
13533 PyObject
* obj0
= 0 ;
13534 PyObject
* obj1
= 0 ;
13535 PyObject
* obj2
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "self",(char *) "i",(char *) "colour", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13542 if (SWIG_arg_fail(1)) SWIG_fail
;
13544 arg2
= (int)(SWIG_As_int(obj1
));
13545 if (SWIG_arg_fail(2)) SWIG_fail
;
13549 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 Py_INCREF(Py_None
); resultobj
= Py_None
;
13565 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13568 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13570 return Py_BuildValue((char *)"");
13572 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxWindow
*arg1
= (wxWindow
*) 0 ;
13575 wxColourData
*arg2
= (wxColourData
*) NULL
;
13576 wxColourDialog
*result
;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 char *kwnames
[] = {
13580 (char *) "parent",(char *) "data", NULL
13583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13585 if (SWIG_arg_fail(1)) SWIG_fail
;
13587 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13588 if (SWIG_arg_fail(2)) SWIG_fail
;
13591 if (!wxPyCheckForApp()) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13605 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13608 wxColourData
*result
;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13616 if (SWIG_arg_fail(1)) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13620 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13621 result
= (wxColourData
*) &_result_ref
;
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13634 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13637 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13639 return Py_BuildValue((char *)"");
13641 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxWindow
*arg1
= (wxWindow
*) 0 ;
13644 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13645 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13646 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13647 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13648 long arg4
= (long) 0 ;
13649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13653 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13654 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13655 wxDirDialog
*result
;
13656 bool temp2
= false ;
13657 bool temp3
= false ;
13660 bool temp7
= false ;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 PyObject
* obj2
= 0 ;
13664 PyObject
* obj3
= 0 ;
13665 PyObject
* obj4
= 0 ;
13666 PyObject
* obj5
= 0 ;
13667 PyObject
* obj6
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13674 if (SWIG_arg_fail(1)) SWIG_fail
;
13677 arg2
= wxString_in_helper(obj1
);
13678 if (arg2
== NULL
) SWIG_fail
;
13684 arg3
= wxString_in_helper(obj2
);
13685 if (arg3
== NULL
) SWIG_fail
;
13691 arg4
= (long)(SWIG_As_long(obj3
));
13692 if (SWIG_arg_fail(4)) SWIG_fail
;
13698 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13704 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13709 arg7
= wxString_in_helper(obj6
);
13710 if (arg7
== NULL
) SWIG_fail
;
13715 if (!wxPyCheckForApp()) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13753 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
;
13755 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13764 if (SWIG_arg_fail(1)) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (arg1
)->GetPath();
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13785 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13789 PyObject
* obj0
= 0 ;
13790 char *kwnames
[] = {
13791 (char *) "self", NULL
13794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13796 if (SWIG_arg_fail(1)) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (arg1
)->GetMessage();
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13817 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13818 PyObject
*resultobj
;
13819 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13821 PyObject
* obj0
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13828 if (SWIG_arg_fail(1)) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (long)(arg1
)->GetStyle();
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= SWIG_From_long((long)(result
));
13845 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13848 wxString
*arg2
= 0 ;
13849 bool temp2
= false ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "message", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13858 if (SWIG_arg_fail(1)) SWIG_fail
;
13860 arg2
= wxString_in_helper(obj1
);
13861 if (arg2
== NULL
) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13866 (arg1
)->SetMessage((wxString
const &)*arg2
);
13868 wxPyEndAllowThreads(__tstate
);
13869 if (PyErr_Occurred()) SWIG_fail
;
13871 Py_INCREF(Py_None
); resultobj
= Py_None
;
13886 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13889 wxString
*arg2
= 0 ;
13890 bool temp2
= false ;
13891 PyObject
* obj0
= 0 ;
13892 PyObject
* obj1
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "self",(char *) "path", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13899 if (SWIG_arg_fail(1)) SWIG_fail
;
13901 arg2
= wxString_in_helper(obj1
);
13902 if (arg2
== NULL
) SWIG_fail
;
13906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13907 (arg1
)->SetPath((wxString
const &)*arg2
);
13909 wxPyEndAllowThreads(__tstate
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13912 Py_INCREF(Py_None
); resultobj
= Py_None
;
13927 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13930 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13932 return Py_BuildValue((char *)"");
13934 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxWindow
*arg1
= (wxWindow
*) 0 ;
13937 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13938 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13941 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13942 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13943 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13944 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13945 long arg6
= (long) 0 ;
13946 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13947 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13948 wxFileDialog
*result
;
13949 bool temp2
= false ;
13950 bool temp3
= false ;
13951 bool temp4
= false ;
13952 bool temp5
= false ;
13954 PyObject
* obj0
= 0 ;
13955 PyObject
* obj1
= 0 ;
13956 PyObject
* obj2
= 0 ;
13957 PyObject
* obj3
= 0 ;
13958 PyObject
* obj4
= 0 ;
13959 PyObject
* obj5
= 0 ;
13960 PyObject
* obj6
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13967 if (SWIG_arg_fail(1)) SWIG_fail
;
13970 arg2
= wxString_in_helper(obj1
);
13971 if (arg2
== NULL
) SWIG_fail
;
13977 arg3
= wxString_in_helper(obj2
);
13978 if (arg3
== NULL
) SWIG_fail
;
13984 arg4
= wxString_in_helper(obj3
);
13985 if (arg4
== NULL
) SWIG_fail
;
13991 arg5
= wxString_in_helper(obj4
);
13992 if (arg5
== NULL
) SWIG_fail
;
13998 arg6
= (long)(SWIG_As_long(obj5
));
13999 if (SWIG_arg_fail(6)) SWIG_fail
;
14005 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14009 if (!wxPyCheckForApp()) SWIG_fail
;
14010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14011 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14013 wxPyEndAllowThreads(__tstate
);
14014 if (PyErr_Occurred()) SWIG_fail
;
14016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14055 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14058 wxString
*arg2
= 0 ;
14059 bool temp2
= false ;
14060 PyObject
* obj0
= 0 ;
14061 PyObject
* obj1
= 0 ;
14062 char *kwnames
[] = {
14063 (char *) "self",(char *) "message", NULL
14066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14068 if (SWIG_arg_fail(1)) SWIG_fail
;
14070 arg2
= wxString_in_helper(obj1
);
14071 if (arg2
== NULL
) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 (arg1
)->SetMessage((wxString
const &)*arg2
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 Py_INCREF(Py_None
); resultobj
= Py_None
;
14096 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14099 wxString
*arg2
= 0 ;
14100 bool temp2
= false ;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "path", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14109 if (SWIG_arg_fail(1)) SWIG_fail
;
14111 arg2
= wxString_in_helper(obj1
);
14112 if (arg2
== NULL
) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->SetPath((wxString
const &)*arg2
);
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14137 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14140 wxString
*arg2
= 0 ;
14141 bool temp2
= false ;
14142 PyObject
* obj0
= 0 ;
14143 PyObject
* obj1
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self",(char *) "dir", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14150 if (SWIG_arg_fail(1)) SWIG_fail
;
14152 arg2
= wxString_in_helper(obj1
);
14153 if (arg2
== NULL
) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 Py_INCREF(Py_None
); resultobj
= Py_None
;
14178 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14181 wxString
*arg2
= 0 ;
14182 bool temp2
= false ;
14183 PyObject
* obj0
= 0 ;
14184 PyObject
* obj1
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self",(char *) "name", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14191 if (SWIG_arg_fail(1)) SWIG_fail
;
14193 arg2
= wxString_in_helper(obj1
);
14194 if (arg2
== NULL
) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 (arg1
)->SetFilename((wxString
const &)*arg2
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 Py_INCREF(Py_None
); resultobj
= Py_None
;
14219 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14222 wxString
*arg2
= 0 ;
14223 bool temp2
= false ;
14224 PyObject
* obj0
= 0 ;
14225 PyObject
* obj1
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self",(char *) "wildCard", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14232 if (SWIG_arg_fail(1)) SWIG_fail
;
14234 arg2
= wxString_in_helper(obj1
);
14235 if (arg2
== NULL
) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 Py_INCREF(Py_None
); resultobj
= Py_None
;
14260 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14261 PyObject
*resultobj
;
14262 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 PyObject
* obj1
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "style", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14272 if (SWIG_arg_fail(1)) SWIG_fail
;
14274 arg2
= (long)(SWIG_As_long(obj1
));
14275 if (SWIG_arg_fail(2)) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 (arg1
)->SetStyle(arg2
);
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14284 Py_INCREF(Py_None
); resultobj
= Py_None
;
14291 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 PyObject
* obj1
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "self",(char *) "filterIndex", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14303 if (SWIG_arg_fail(1)) SWIG_fail
;
14305 arg2
= (int)(SWIG_As_int(obj1
));
14306 if (SWIG_arg_fail(2)) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 (arg1
)->SetFilterIndex(arg2
);
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 Py_INCREF(Py_None
); resultobj
= Py_None
;
14322 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14326 PyObject
* obj0
= 0 ;
14327 char *kwnames
[] = {
14328 (char *) "self", NULL
14331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14333 if (SWIG_arg_fail(1)) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14354 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14365 if (SWIG_arg_fail(1)) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14386 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14397 if (SWIG_arg_fail(1)) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14418 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14429 if (SWIG_arg_fail(1)) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14450 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14461 if (SWIG_arg_fail(1)) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14482 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14493 if (SWIG_arg_fail(1)) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_From_long((long)(result
));
14510 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 char *kwnames
[] = {
14516 (char *) "self", NULL
14519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14521 if (SWIG_arg_fail(1)) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= SWIG_From_int((int)(result
));
14538 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14542 PyObject
* obj0
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14549 if (SWIG_arg_fail(1)) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= result
;
14564 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14575 if (SWIG_arg_fail(1)) SWIG_fail
;
14577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14578 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14580 wxPyEndAllowThreads(__tstate
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14583 resultobj
= result
;
14590 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14593 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14595 return Py_BuildValue((char *)"");
14597 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14598 PyObject
*resultobj
;
14599 wxWindow
*arg1
= (wxWindow
*) 0 ;
14600 wxString
*arg2
= 0 ;
14601 wxString
*arg3
= 0 ;
14602 int arg4
= (int) 0 ;
14603 wxString
*arg5
= (wxString
*) NULL
;
14604 long arg6
= (long) wxCHOICEDLG_STYLE
;
14605 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14606 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14607 wxMultiChoiceDialog
*result
;
14608 bool temp2
= false ;
14609 bool temp3
= false ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 PyObject
* obj2
= 0 ;
14614 PyObject
* obj3
= 0 ;
14615 PyObject
* obj4
= 0 ;
14616 PyObject
* obj5
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14623 if (SWIG_arg_fail(1)) SWIG_fail
;
14625 arg2
= wxString_in_helper(obj1
);
14626 if (arg2
== NULL
) SWIG_fail
;
14630 arg3
= wxString_in_helper(obj2
);
14631 if (arg3
== NULL
) SWIG_fail
;
14636 arg4
= PyList_Size(obj3
);
14637 arg5
= wxString_LIST_helper(obj3
);
14638 if (arg5
== NULL
) SWIG_fail
;
14643 arg6
= (long)(SWIG_As_long(obj4
));
14644 if (SWIG_arg_fail(6)) SWIG_fail
;
14650 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14654 if (!wxPyCheckForApp()) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14671 if (arg5
) delete [] arg5
;
14684 if (arg5
) delete [] arg5
;
14690 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14693 wxArrayInt
*arg2
= 0 ;
14694 bool temp2
= false ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "selections", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14703 if (SWIG_arg_fail(1)) SWIG_fail
;
14705 if (! PySequence_Check(obj1
)) {
14706 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14709 arg2
= new wxArrayInt
;
14711 int i
, len
=PySequence_Length(obj1
);
14712 for (i
=0; i
<len
; i
++) {
14713 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14714 PyObject
* number
= PyNumber_Int(item
);
14715 arg2
->Add(PyInt_AS_LONG(number
));
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 if (temp2
) delete arg2
;
14734 if (temp2
) delete arg2
;
14740 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14751 if (SWIG_arg_fail(1)) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= result
;
14766 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14769 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14771 return Py_BuildValue((char *)"");
14773 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14774 PyObject
*resultobj
;
14775 wxWindow
*arg1
= (wxWindow
*) 0 ;
14776 wxString
*arg2
= 0 ;
14777 wxString
*arg3
= 0 ;
14779 wxString
*arg5
= (wxString
*) 0 ;
14780 long arg6
= (long) wxCHOICEDLG_STYLE
;
14781 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14782 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14783 wxSingleChoiceDialog
*result
;
14784 bool temp2
= false ;
14785 bool temp3
= false ;
14787 PyObject
* obj0
= 0 ;
14788 PyObject
* obj1
= 0 ;
14789 PyObject
* obj2
= 0 ;
14790 PyObject
* obj3
= 0 ;
14791 PyObject
* obj4
= 0 ;
14792 PyObject
* obj5
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14799 if (SWIG_arg_fail(1)) SWIG_fail
;
14801 arg2
= wxString_in_helper(obj1
);
14802 if (arg2
== NULL
) SWIG_fail
;
14806 arg3
= wxString_in_helper(obj2
);
14807 if (arg3
== NULL
) SWIG_fail
;
14811 arg4
= PyList_Size(obj3
);
14812 arg5
= wxString_LIST_helper(obj3
);
14813 if (arg5
== NULL
) SWIG_fail
;
14817 arg6
= (long)(SWIG_As_long(obj4
));
14818 if (SWIG_arg_fail(6)) SWIG_fail
;
14824 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14828 if (!wxPyCheckForApp()) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14845 if (arg5
) delete [] arg5
;
14858 if (arg5
) delete [] arg5
;
14864 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14875 if (SWIG_arg_fail(1)) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= (int)(arg1
)->GetSelection();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= SWIG_From_int((int)(result
));
14892 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14896 PyObject
* obj0
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14903 if (SWIG_arg_fail(1)) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (arg1
)->GetStringSelection();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14924 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self",(char *) "sel", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14936 if (SWIG_arg_fail(1)) SWIG_fail
;
14938 arg2
= (int)(SWIG_As_int(obj1
));
14939 if (SWIG_arg_fail(2)) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 (arg1
)->SetSelection(arg2
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 Py_INCREF(Py_None
); resultobj
= Py_None
;
14955 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14960 return Py_BuildValue((char *)"");
14962 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxWindow
*arg1
= (wxWindow
*) 0 ;
14965 wxString
*arg2
= 0 ;
14966 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14967 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14968 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14969 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14970 long arg5
= (long) wxTextEntryDialogStyle
;
14971 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14972 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14973 wxTextEntryDialog
*result
;
14974 bool temp2
= false ;
14975 bool temp3
= false ;
14976 bool temp4
= false ;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 PyObject
* obj2
= 0 ;
14981 PyObject
* obj3
= 0 ;
14982 PyObject
* obj4
= 0 ;
14983 PyObject
* obj5
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14990 if (SWIG_arg_fail(1)) SWIG_fail
;
14992 arg2
= wxString_in_helper(obj1
);
14993 if (arg2
== NULL
) SWIG_fail
;
14998 arg3
= wxString_in_helper(obj2
);
14999 if (arg3
== NULL
) SWIG_fail
;
15005 arg4
= wxString_in_helper(obj3
);
15006 if (arg4
== NULL
) SWIG_fail
;
15012 arg5
= (long)(SWIG_As_long(obj4
));
15013 if (SWIG_arg_fail(5)) SWIG_fail
;
15019 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15023 if (!wxPyCheckForApp()) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15061 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15072 if (SWIG_arg_fail(1)) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (arg1
)->GetValue();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15093 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15096 wxString
*arg2
= 0 ;
15097 bool temp2
= false ;
15098 PyObject
* obj0
= 0 ;
15099 PyObject
* obj1
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "value", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15106 if (SWIG_arg_fail(1)) SWIG_fail
;
15108 arg2
= wxString_in_helper(obj1
);
15109 if (arg2
== NULL
) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 (arg1
)->SetValue((wxString
const &)*arg2
);
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 Py_INCREF(Py_None
); resultobj
= Py_None
;
15134 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15137 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15139 return Py_BuildValue((char *)"");
15141 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15142 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15147 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15152 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15154 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15161 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxWindow
*arg1
= (wxWindow
*) 0 ;
15164 wxString
*arg2
= 0 ;
15165 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15166 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15167 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15168 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15169 long arg5
= (long) wxTextEntryDialogStyle
;
15170 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15171 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15172 wxPasswordEntryDialog
*result
;
15173 bool temp2
= false ;
15174 bool temp3
= false ;
15175 bool temp4
= false ;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 PyObject
* obj2
= 0 ;
15180 PyObject
* obj3
= 0 ;
15181 PyObject
* obj4
= 0 ;
15182 PyObject
* obj5
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15189 if (SWIG_arg_fail(1)) SWIG_fail
;
15191 arg2
= wxString_in_helper(obj1
);
15192 if (arg2
== NULL
) SWIG_fail
;
15197 arg3
= wxString_in_helper(obj2
);
15198 if (arg3
== NULL
) SWIG_fail
;
15204 arg4
= wxString_in_helper(obj3
);
15205 if (arg4
== NULL
) SWIG_fail
;
15211 arg5
= (long)(SWIG_As_long(obj4
));
15212 if (SWIG_arg_fail(5)) SWIG_fail
;
15218 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15259 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15262 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15264 return Py_BuildValue((char *)"");
15266 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15268 wxFontData
*result
;
15269 char *kwnames
[] = {
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (wxFontData
*)new wxFontData();
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15288 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxFontData
*arg1
= (wxFontData
*) 0 ;
15291 PyObject
* obj0
= 0 ;
15292 char *kwnames
[] = {
15293 (char *) "self", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",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();
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15314 PyObject
*resultobj
;
15315 wxFontData
*arg1
= (wxFontData
*) 0 ;
15317 PyObject
* obj0
= 0 ;
15318 PyObject
* obj1
= 0 ;
15319 char *kwnames
[] = {
15320 (char *) "self",(char *) "enable", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15325 if (SWIG_arg_fail(1)) SWIG_fail
;
15327 arg2
= (bool)(SWIG_As_bool(obj1
));
15328 if (SWIG_arg_fail(2)) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 (arg1
)->EnableEffects(arg2
);
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 Py_INCREF(Py_None
); resultobj
= Py_None
;
15344 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
;
15346 wxFontData
*arg1
= (wxFontData
*) 0 ;
15348 PyObject
* obj0
= 0 ;
15349 char *kwnames
[] = {
15350 (char *) "self", NULL
15353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15355 if (SWIG_arg_fail(1)) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 result
= (bool)(arg1
)->GetAllowSymbols();
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15372 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxFontData
*arg1
= (wxFontData
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15383 if (SWIG_arg_fail(1)) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (arg1
)->GetColour();
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 wxColour
* resultptr
;
15393 resultptr
= new wxColour((wxColour
&)(result
));
15394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15402 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 wxFontData
*arg1
= (wxFontData
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 char *kwnames
[] = {
15408 (char *) "self", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15413 if (SWIG_arg_fail(1)) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (arg1
)->GetChosenFont();
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15422 wxFont
* resultptr
;
15423 resultptr
= new wxFont((wxFont
&)(result
));
15424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15432 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxFontData
*arg1
= (wxFontData
*) 0 ;
15436 PyObject
* obj0
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15443 if (SWIG_arg_fail(1)) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (bool)(arg1
)->GetEnableEffects();
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15460 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxFontData
*arg1
= (wxFontData
*) 0 ;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15471 if (SWIG_arg_fail(1)) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (arg1
)->GetInitialFont();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 wxFont
* resultptr
;
15481 resultptr
= new wxFont((wxFont
&)(result
));
15482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15490 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxFontData
*arg1
= (wxFontData
*) 0 ;
15494 PyObject
* obj0
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15501 if (SWIG_arg_fail(1)) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (bool)(arg1
)->GetShowHelp();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15518 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxFontData
*arg1
= (wxFontData
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self",(char *) "allowSymbols", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15530 if (SWIG_arg_fail(1)) SWIG_fail
;
15532 arg2
= (bool)(SWIG_As_bool(obj1
));
15533 if (SWIG_arg_fail(2)) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 (arg1
)->SetAllowSymbols(arg2
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 Py_INCREF(Py_None
); resultobj
= Py_None
;
15549 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxFontData
*arg1
= (wxFontData
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self",(char *) "font", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15561 if (SWIG_arg_fail(1)) SWIG_fail
;
15563 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15564 if (SWIG_arg_fail(2)) SWIG_fail
;
15565 if (arg2
== NULL
) {
15566 SWIG_null_ref("wxFont");
15568 if (SWIG_arg_fail(2)) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 Py_INCREF(Py_None
); resultobj
= Py_None
;
15584 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15586 wxFontData
*arg1
= (wxFontData
*) 0 ;
15587 wxColour
*arg2
= 0 ;
15589 PyObject
* obj0
= 0 ;
15590 PyObject
* obj1
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self",(char *) "colour", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15597 if (SWIG_arg_fail(1)) SWIG_fail
;
15600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 (arg1
)->SetColour((wxColour
const &)*arg2
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 Py_INCREF(Py_None
); resultobj
= Py_None
;
15616 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 wxFontData
*arg1
= (wxFontData
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "self",(char *) "font", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15628 if (SWIG_arg_fail(1)) SWIG_fail
;
15630 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15631 if (SWIG_arg_fail(2)) SWIG_fail
;
15632 if (arg2
== NULL
) {
15633 SWIG_null_ref("wxFont");
15635 if (SWIG_arg_fail(2)) SWIG_fail
;
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15641 wxPyEndAllowThreads(__tstate
);
15642 if (PyErr_Occurred()) SWIG_fail
;
15644 Py_INCREF(Py_None
); resultobj
= Py_None
;
15651 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15652 PyObject
*resultobj
;
15653 wxFontData
*arg1
= (wxFontData
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 PyObject
* obj2
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "min",(char *) "max", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15665 if (SWIG_arg_fail(1)) SWIG_fail
;
15667 arg2
= (int)(SWIG_As_int(obj1
));
15668 if (SWIG_arg_fail(2)) SWIG_fail
;
15671 arg3
= (int)(SWIG_As_int(obj2
));
15672 if (SWIG_arg_fail(3)) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 (arg1
)->SetRange(arg2
,arg3
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 Py_INCREF(Py_None
); resultobj
= Py_None
;
15688 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxFontData
*arg1
= (wxFontData
*) 0 ;
15692 PyObject
* obj0
= 0 ;
15693 PyObject
* obj1
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self",(char *) "showHelp", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15700 if (SWIG_arg_fail(1)) SWIG_fail
;
15702 arg2
= (bool)(SWIG_As_bool(obj1
));
15703 if (SWIG_arg_fail(2)) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 (arg1
)->SetShowHelp(arg2
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 Py_INCREF(Py_None
); resultobj
= Py_None
;
15719 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15722 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15724 return Py_BuildValue((char *)"");
15726 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
;
15728 wxWindow
*arg1
= (wxWindow
*) 0 ;
15729 wxFontData
*arg2
= 0 ;
15730 wxFontDialog
*result
;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "parent",(char *) "data", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15739 if (SWIG_arg_fail(1)) SWIG_fail
;
15741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15742 if (SWIG_arg_fail(2)) SWIG_fail
;
15743 if (arg2
== NULL
) {
15744 SWIG_null_ref("wxFontData");
15746 if (SWIG_arg_fail(2)) SWIG_fail
;
15749 if (!wxPyCheckForApp()) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15763 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15766 wxFontData
*result
;
15767 PyObject
* obj0
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15774 if (SWIG_arg_fail(1)) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15779 result
= (wxFontData
*) &_result_ref
;
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15792 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15795 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15797 return Py_BuildValue((char *)"");
15799 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxWindow
*arg1
= (wxWindow
*) 0 ;
15802 wxString
*arg2
= 0 ;
15803 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15804 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15805 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15806 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15807 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15808 wxMessageDialog
*result
;
15809 bool temp2
= false ;
15810 bool temp3
= false ;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 PyObject
* obj2
= 0 ;
15815 PyObject
* obj3
= 0 ;
15816 PyObject
* obj4
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15823 if (SWIG_arg_fail(1)) SWIG_fail
;
15825 arg2
= wxString_in_helper(obj1
);
15826 if (arg2
== NULL
) SWIG_fail
;
15831 arg3
= wxString_in_helper(obj2
);
15832 if (arg3
== NULL
) SWIG_fail
;
15838 arg4
= (long)(SWIG_As_long(obj3
));
15839 if (SWIG_arg_fail(4)) SWIG_fail
;
15845 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15849 if (!wxPyCheckForApp()) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15879 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15882 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15884 return Py_BuildValue((char *)"");
15886 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxString
*arg1
= 0 ;
15889 wxString
*arg2
= 0 ;
15890 int arg3
= (int) 100 ;
15891 wxWindow
*arg4
= (wxWindow
*) NULL
;
15892 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15893 wxProgressDialog
*result
;
15894 bool temp1
= false ;
15895 bool temp2
= false ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 PyObject
* obj2
= 0 ;
15899 PyObject
* obj3
= 0 ;
15900 PyObject
* obj4
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15907 arg1
= wxString_in_helper(obj0
);
15908 if (arg1
== NULL
) SWIG_fail
;
15912 arg2
= wxString_in_helper(obj1
);
15913 if (arg2
== NULL
) SWIG_fail
;
15918 arg3
= (int)(SWIG_As_int(obj2
));
15919 if (SWIG_arg_fail(3)) SWIG_fail
;
15923 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15924 if (SWIG_arg_fail(4)) SWIG_fail
;
15928 arg5
= (int)(SWIG_As_int(obj4
));
15929 if (SWIG_arg_fail(5)) SWIG_fail
;
15933 if (!wxPyCheckForApp()) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15963 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15967 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15968 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15970 bool temp3
= false ;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 PyObject
* obj2
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15980 if (SWIG_arg_fail(1)) SWIG_fail
;
15982 arg2
= (int)(SWIG_As_int(obj1
));
15983 if (SWIG_arg_fail(2)) SWIG_fail
;
15987 arg3
= wxString_in_helper(obj2
);
15988 if (arg3
== NULL
) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16016 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16019 PyObject
* obj0
= 0 ;
16020 char *kwnames
[] = {
16021 (char *) "self", NULL
16024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16026 if (SWIG_arg_fail(1)) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 Py_INCREF(Py_None
); resultobj
= Py_None
;
16041 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16044 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16046 return Py_BuildValue((char *)"");
16048 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16051 int arg2
= (int) 0 ;
16052 wxFindDialogEvent
*result
;
16053 PyObject
* obj0
= 0 ;
16054 PyObject
* obj1
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "commandType",(char *) "id", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16062 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16063 if (SWIG_arg_fail(1)) SWIG_fail
;
16068 arg2
= (int)(SWIG_As_int(obj1
));
16069 if (SWIG_arg_fail(2)) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16086 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16090 PyObject
* obj0
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "self", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16097 if (SWIG_arg_fail(1)) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (int)(arg1
)->GetFlags();
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 resultobj
= SWIG_From_int((int)(result
));
16114 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16125 if (SWIG_arg_fail(1)) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 wxString
const &_result_ref
= (arg1
)->GetFindString();
16130 result
= (wxString
*) &_result_ref
;
16133 wxPyEndAllowThreads(__tstate
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16149 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16160 if (SWIG_arg_fail(1)) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16165 result
= (wxString
*) &_result_ref
;
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16184 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16187 wxFindReplaceDialog
*result
;
16188 PyObject
* obj0
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16195 if (SWIG_arg_fail(1)) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16210 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "flags", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16222 if (SWIG_arg_fail(1)) SWIG_fail
;
16224 arg2
= (int)(SWIG_As_int(obj1
));
16225 if (SWIG_arg_fail(2)) SWIG_fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 (arg1
)->SetFlags(arg2
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 Py_INCREF(Py_None
); resultobj
= Py_None
;
16241 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16244 wxString
*arg2
= 0 ;
16245 bool temp2
= false ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self",(char *) "str", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16254 if (SWIG_arg_fail(1)) SWIG_fail
;
16256 arg2
= wxString_in_helper(obj1
);
16257 if (arg2
== NULL
) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 (arg1
)->SetFindString((wxString
const &)*arg2
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 Py_INCREF(Py_None
); resultobj
= Py_None
;
16282 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16285 wxString
*arg2
= 0 ;
16286 bool temp2
= false ;
16287 PyObject
* obj0
= 0 ;
16288 PyObject
* obj1
= 0 ;
16289 char *kwnames
[] = {
16290 (char *) "self",(char *) "str", NULL
16293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16295 if (SWIG_arg_fail(1)) SWIG_fail
;
16297 arg2
= wxString_in_helper(obj1
);
16298 if (arg2
== NULL
) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16308 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16326 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16328 return Py_BuildValue((char *)"");
16330 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 int arg1
= (int) 0 ;
16333 wxFindReplaceData
*result
;
16334 PyObject
* obj0
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "flags", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16342 arg1
= (int)(SWIG_As_int(obj0
));
16343 if (SWIG_arg_fail(1)) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16360 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16370 if (SWIG_arg_fail(1)) SWIG_fail
;
16372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16378 Py_INCREF(Py_None
); resultobj
= Py_None
;
16385 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16396 if (SWIG_arg_fail(1)) SWIG_fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 wxString
const &_result_ref
= (arg1
)->GetFindString();
16401 result
= (wxString
*) &_result_ref
;
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16411 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16420 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16431 if (SWIG_arg_fail(1)) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16436 result
= (wxString
*) &_result_ref
;
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16446 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16455 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16466 if (SWIG_arg_fail(1)) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (int)(arg1
)->GetFlags();
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= SWIG_From_int((int)(result
));
16483 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 PyObject
* obj1
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "self",(char *) "flags", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16495 if (SWIG_arg_fail(1)) SWIG_fail
;
16497 arg2
= (int)(SWIG_As_int(obj1
));
16498 if (SWIG_arg_fail(2)) SWIG_fail
;
16501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16502 (arg1
)->SetFlags(arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 Py_INCREF(Py_None
); resultobj
= Py_None
;
16514 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16517 wxString
*arg2
= 0 ;
16518 bool temp2
= false ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self",(char *) "str", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16527 if (SWIG_arg_fail(1)) SWIG_fail
;
16529 arg2
= wxString_in_helper(obj1
);
16530 if (arg2
== NULL
) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 (arg1
)->SetFindString((wxString
const &)*arg2
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16555 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16558 wxString
*arg2
= 0 ;
16559 bool temp2
= false ;
16560 PyObject
* obj0
= 0 ;
16561 PyObject
* obj1
= 0 ;
16562 char *kwnames
[] = {
16563 (char *) "self",(char *) "str", NULL
16566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16568 if (SWIG_arg_fail(1)) SWIG_fail
;
16570 arg2
= wxString_in_helper(obj1
);
16571 if (arg2
== NULL
) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16581 Py_INCREF(Py_None
); resultobj
= Py_None
;
16596 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16598 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16599 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16601 return Py_BuildValue((char *)"");
16603 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxWindow
*arg1
= (wxWindow
*) 0 ;
16606 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16607 wxString
*arg3
= 0 ;
16608 int arg4
= (int) 0 ;
16609 wxFindReplaceDialog
*result
;
16610 bool temp3
= false ;
16611 PyObject
* obj0
= 0 ;
16612 PyObject
* obj1
= 0 ;
16613 PyObject
* obj2
= 0 ;
16614 PyObject
* obj3
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16621 if (SWIG_arg_fail(1)) SWIG_fail
;
16622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16623 if (SWIG_arg_fail(2)) SWIG_fail
;
16625 arg3
= wxString_in_helper(obj2
);
16626 if (arg3
== NULL
) SWIG_fail
;
16631 arg4
= (int)(SWIG_As_int(obj3
));
16632 if (SWIG_arg_fail(4)) SWIG_fail
;
16636 if (!wxPyCheckForApp()) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16658 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxFindReplaceDialog
*result
;
16661 char *kwnames
[] = {
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16667 if (!wxPyCheckForApp()) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16681 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16684 wxWindow
*arg2
= (wxWindow
*) 0 ;
16685 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16686 wxString
*arg4
= 0 ;
16687 int arg5
= (int) 0 ;
16689 bool temp4
= false ;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 PyObject
* obj2
= 0 ;
16693 PyObject
* obj3
= 0 ;
16694 PyObject
* obj4
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16701 if (SWIG_arg_fail(1)) SWIG_fail
;
16702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16703 if (SWIG_arg_fail(2)) SWIG_fail
;
16704 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16705 if (SWIG_arg_fail(3)) SWIG_fail
;
16707 arg4
= wxString_in_helper(obj3
);
16708 if (arg4
== NULL
) SWIG_fail
;
16713 arg5
= (int)(SWIG_As_int(obj4
));
16714 if (SWIG_arg_fail(5)) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16741 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16742 PyObject
*resultobj
;
16743 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16744 wxFindReplaceData
*result
;
16745 PyObject
* obj0
= 0 ;
16746 char *kwnames
[] = {
16747 (char *) "self", NULL
16750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16752 if (SWIG_arg_fail(1)) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16767 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16770 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "self",(char *) "data", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16779 if (SWIG_arg_fail(1)) SWIG_fail
;
16780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16781 if (SWIG_arg_fail(2)) SWIG_fail
;
16783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16784 (arg1
)->SetData(arg2
);
16786 wxPyEndAllowThreads(__tstate
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 Py_INCREF(Py_None
); resultobj
= Py_None
;
16796 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16799 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16801 return Py_BuildValue((char *)"");
16803 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16805 wxWindow
*arg1
= (wxWindow
*) 0 ;
16806 int arg2
= (int) (int)-1 ;
16807 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16808 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16809 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16810 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16811 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16812 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16813 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16814 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16815 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16816 wxMDIParentFrame
*result
;
16817 bool temp3
= false ;
16820 bool temp7
= false ;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 PyObject
* obj2
= 0 ;
16824 PyObject
* obj3
= 0 ;
16825 PyObject
* obj4
= 0 ;
16826 PyObject
* obj5
= 0 ;
16827 PyObject
* obj6
= 0 ;
16828 char *kwnames
[] = {
16829 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16834 if (SWIG_arg_fail(1)) SWIG_fail
;
16837 arg2
= (int const)(SWIG_As_int(obj1
));
16838 if (SWIG_arg_fail(2)) SWIG_fail
;
16843 arg3
= wxString_in_helper(obj2
);
16844 if (arg3
== NULL
) SWIG_fail
;
16851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16862 arg6
= (long)(SWIG_As_long(obj5
));
16863 if (SWIG_arg_fail(6)) SWIG_fail
;
16868 arg7
= wxString_in_helper(obj6
);
16869 if (arg7
== NULL
) SWIG_fail
;
16874 if (!wxPyCheckForApp()) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16904 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxMDIParentFrame
*result
;
16907 char *kwnames
[] = {
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16913 if (!wxPyCheckForApp()) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16927 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16930 wxWindow
*arg2
= (wxWindow
*) 0 ;
16931 int arg3
= (int) (int)-1 ;
16932 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16933 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16934 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16935 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16936 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16937 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16938 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16939 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16940 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16942 bool temp4
= false ;
16945 bool temp8
= false ;
16946 PyObject
* obj0
= 0 ;
16947 PyObject
* obj1
= 0 ;
16948 PyObject
* obj2
= 0 ;
16949 PyObject
* obj3
= 0 ;
16950 PyObject
* obj4
= 0 ;
16951 PyObject
* obj5
= 0 ;
16952 PyObject
* obj6
= 0 ;
16953 PyObject
* obj7
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16960 if (SWIG_arg_fail(1)) SWIG_fail
;
16961 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16962 if (SWIG_arg_fail(2)) SWIG_fail
;
16965 arg3
= (int const)(SWIG_As_int(obj2
));
16966 if (SWIG_arg_fail(3)) SWIG_fail
;
16971 arg4
= wxString_in_helper(obj3
);
16972 if (arg4
== NULL
) SWIG_fail
;
16979 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16985 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16990 arg7
= (long)(SWIG_As_long(obj6
));
16991 if (SWIG_arg_fail(7)) SWIG_fail
;
16996 arg8
= wxString_in_helper(obj7
);
16997 if (arg8
== NULL
) SWIG_fail
;
17002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17005 wxPyEndAllowThreads(__tstate
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17033 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 (arg1
)->ActivateNext();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17051 Py_INCREF(Py_None
); resultobj
= Py_None
;
17058 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17061 PyObject
* obj0
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17068 if (SWIG_arg_fail(1)) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 (arg1
)->ActivatePrevious();
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 Py_INCREF(Py_None
); resultobj
= Py_None
;
17083 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17093 if (SWIG_arg_fail(1)) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 (arg1
)->ArrangeIcons();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 Py_INCREF(Py_None
); resultobj
= Py_None
;
17108 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17118 if (SWIG_arg_fail(1)) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 Py_INCREF(Py_None
); resultobj
= Py_None
;
17133 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17136 wxMDIChildFrame
*result
;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17144 if (SWIG_arg_fail(1)) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= wxPyMake_wxObject(result
, 0);
17161 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17164 wxMDIClientWindow
*result
;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= wxPyMake_wxObject(result
, 0);
17189 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17193 PyObject
* obj0
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17200 if (SWIG_arg_fail(1)) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxWindow
*)(arg1
)->GetToolBar();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= wxPyMake_wxObject(result
, 0);
17217 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17220 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17221 PyObject
* obj0
= 0 ;
17222 PyObject
* obj1
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self",(char *) "orient", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17229 if (SWIG_arg_fail(1)) SWIG_fail
;
17232 arg2
= (wxOrientation
)(SWIG_As_int(obj1
));
17233 if (SWIG_arg_fail(2)) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 (arg1
)->Tile((wxOrientation
)arg2
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17243 Py_INCREF(Py_None
); resultobj
= Py_None
;
17250 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17253 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17255 return Py_BuildValue((char *)"");
17257 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17260 int arg2
= (int) (int)-1 ;
17261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17263 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17264 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17265 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17266 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17267 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17268 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17269 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17270 wxMDIChildFrame
*result
;
17271 bool temp3
= false ;
17274 bool temp7
= false ;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 PyObject
* obj2
= 0 ;
17278 PyObject
* obj3
= 0 ;
17279 PyObject
* obj4
= 0 ;
17280 PyObject
* obj5
= 0 ;
17281 PyObject
* obj6
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17288 if (SWIG_arg_fail(1)) SWIG_fail
;
17291 arg2
= (int const)(SWIG_As_int(obj1
));
17292 if (SWIG_arg_fail(2)) SWIG_fail
;
17297 arg3
= wxString_in_helper(obj2
);
17298 if (arg3
== NULL
) SWIG_fail
;
17305 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17311 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17316 arg6
= (long)(SWIG_As_long(obj5
));
17317 if (SWIG_arg_fail(6)) SWIG_fail
;
17322 arg7
= wxString_in_helper(obj6
);
17323 if (arg7
== NULL
) SWIG_fail
;
17328 if (!wxPyCheckForApp()) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17330 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17332 wxPyEndAllowThreads(__tstate
);
17333 if (PyErr_Occurred()) SWIG_fail
;
17335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17358 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxMDIChildFrame
*result
;
17361 char *kwnames
[] = {
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17367 if (!wxPyCheckForApp()) SWIG_fail
;
17368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17369 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17371 wxPyEndAllowThreads(__tstate
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17381 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17384 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17385 int arg3
= (int) (int)-1 ;
17386 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17387 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17388 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17389 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17390 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17391 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17392 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17393 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17396 bool temp4
= false ;
17399 bool temp8
= false ;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 PyObject
* obj2
= 0 ;
17403 PyObject
* obj3
= 0 ;
17404 PyObject
* obj4
= 0 ;
17405 PyObject
* obj5
= 0 ;
17406 PyObject
* obj6
= 0 ;
17407 PyObject
* obj7
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17414 if (SWIG_arg_fail(1)) SWIG_fail
;
17415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17416 if (SWIG_arg_fail(2)) SWIG_fail
;
17419 arg3
= (int const)(SWIG_As_int(obj2
));
17420 if (SWIG_arg_fail(3)) SWIG_fail
;
17425 arg4
= wxString_in_helper(obj3
);
17426 if (arg4
== NULL
) SWIG_fail
;
17433 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17439 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17444 arg7
= (long)(SWIG_As_long(obj6
));
17445 if (SWIG_arg_fail(7)) SWIG_fail
;
17450 arg8
= wxString_in_helper(obj7
);
17451 if (arg8
== NULL
) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17487 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17497 if (SWIG_arg_fail(1)) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 (arg1
)->Activate();
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 Py_INCREF(Py_None
); resultobj
= Py_None
;
17512 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17515 bool arg2
= (bool) true ;
17516 PyObject
* obj0
= 0 ;
17517 PyObject
* obj1
= 0 ;
17518 char *kwnames
[] = {
17519 (char *) "self",(char *) "maximize", NULL
17522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17524 if (SWIG_arg_fail(1)) SWIG_fail
;
17527 arg2
= (bool)(SWIG_As_bool(obj1
));
17528 if (SWIG_arg_fail(2)) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 (arg1
)->Maximize(arg2
);
17535 wxPyEndAllowThreads(__tstate
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 Py_INCREF(Py_None
); resultobj
= Py_None
;
17545 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17555 if (SWIG_arg_fail(1)) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 Py_INCREF(Py_None
); resultobj
= Py_None
;
17570 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17573 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17575 return Py_BuildValue((char *)"");
17577 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17580 long arg2
= (long) 0 ;
17581 wxMDIClientWindow
*result
;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "parent",(char *) "style", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17590 if (SWIG_arg_fail(1)) SWIG_fail
;
17593 arg2
= (long)(SWIG_As_long(obj1
));
17594 if (SWIG_arg_fail(2)) SWIG_fail
;
17598 if (!wxPyCheckForApp()) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17612 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxMDIClientWindow
*result
;
17615 char *kwnames
[] = {
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17621 if (!wxPyCheckForApp()) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17635 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17638 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17639 long arg3
= (long) 0 ;
17641 PyObject
* obj0
= 0 ;
17642 PyObject
* obj1
= 0 ;
17643 PyObject
* obj2
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self",(char *) "parent",(char *) "style", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17650 if (SWIG_arg_fail(1)) SWIG_fail
;
17651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17652 if (SWIG_arg_fail(2)) SWIG_fail
;
17655 arg3
= (long)(SWIG_As_long(obj2
));
17656 if (SWIG_arg_fail(3)) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17663 wxPyEndAllowThreads(__tstate
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17675 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17678 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17680 return Py_BuildValue((char *)"");
17682 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxWindow
*arg1
= (wxWindow
*) 0 ;
17685 int arg2
= (int) (int)-1 ;
17686 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17687 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17688 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17689 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17690 long arg5
= (long) 0 ;
17691 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17692 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17693 wxPyWindow
*result
;
17696 bool temp6
= false ;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 PyObject
* obj2
= 0 ;
17700 PyObject
* obj3
= 0 ;
17701 PyObject
* obj4
= 0 ;
17702 PyObject
* obj5
= 0 ;
17703 char *kwnames
[] = {
17704 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17709 if (SWIG_arg_fail(1)) SWIG_fail
;
17712 arg2
= (int const)(SWIG_As_int(obj1
));
17713 if (SWIG_arg_fail(2)) SWIG_fail
;
17719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17725 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17730 arg5
= (long)(SWIG_As_long(obj4
));
17731 if (SWIG_arg_fail(5)) SWIG_fail
;
17736 arg6
= wxString_in_helper(obj5
);
17737 if (arg6
== NULL
) SWIG_fail
;
17742 if (!wxPyCheckForApp()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17764 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxPyWindow
*result
;
17767 char *kwnames
[] = {
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17773 if (!wxPyCheckForApp()) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= (wxPyWindow
*)new wxPyWindow();
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17787 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17790 PyObject
*arg2
= (PyObject
*) 0 ;
17791 PyObject
*arg3
= (PyObject
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 PyObject
* obj2
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self",(char *) "self",(char *) "_class", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17801 if (SWIG_arg_fail(1)) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 Py_INCREF(Py_None
); resultobj
= Py_None
;
17818 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 PyObject
* obj1
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self",(char *) "size", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17831 if (SWIG_arg_fail(1)) SWIG_fail
;
17834 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 Py_INCREF(Py_None
); resultobj
= Py_None
;
17850 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 PyObject
* obj2
= 0 ;
17860 PyObject
* obj3
= 0 ;
17861 PyObject
* obj4
= 0 ;
17862 char *kwnames
[] = {
17863 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17868 if (SWIG_arg_fail(1)) SWIG_fail
;
17870 arg2
= (int)(SWIG_As_int(obj1
));
17871 if (SWIG_arg_fail(2)) SWIG_fail
;
17874 arg3
= (int)(SWIG_As_int(obj2
));
17875 if (SWIG_arg_fail(3)) SWIG_fail
;
17878 arg4
= (int)(SWIG_As_int(obj3
));
17879 if (SWIG_arg_fail(4)) SWIG_fail
;
17882 arg5
= (int)(SWIG_As_int(obj4
));
17883 if (SWIG_arg_fail(5)) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 Py_INCREF(Py_None
); resultobj
= Py_None
;
17899 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17906 int arg6
= (int) wxSIZE_AUTO
;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 PyObject
* obj2
= 0 ;
17910 PyObject
* obj3
= 0 ;
17911 PyObject
* obj4
= 0 ;
17912 PyObject
* obj5
= 0 ;
17913 char *kwnames
[] = {
17914 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17919 if (SWIG_arg_fail(1)) SWIG_fail
;
17921 arg2
= (int)(SWIG_As_int(obj1
));
17922 if (SWIG_arg_fail(2)) SWIG_fail
;
17925 arg3
= (int)(SWIG_As_int(obj2
));
17926 if (SWIG_arg_fail(3)) SWIG_fail
;
17929 arg4
= (int)(SWIG_As_int(obj3
));
17930 if (SWIG_arg_fail(4)) SWIG_fail
;
17933 arg5
= (int)(SWIG_As_int(obj4
));
17934 if (SWIG_arg_fail(5)) SWIG_fail
;
17938 arg6
= (int)(SWIG_As_int(obj5
));
17939 if (SWIG_arg_fail(6)) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 Py_INCREF(Py_None
); resultobj
= Py_None
;
17956 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17961 PyObject
* obj0
= 0 ;
17962 PyObject
* obj1
= 0 ;
17963 PyObject
* obj2
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self",(char *) "width",(char *) "height", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
17973 if (SWIG_arg_fail(2)) SWIG_fail
;
17976 arg3
= (int)(SWIG_As_int(obj2
));
17977 if (SWIG_arg_fail(3)) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 Py_INCREF(Py_None
); resultobj
= Py_None
;
17993 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self",(char *) "x",(char *) "y", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
18010 if (SWIG_arg_fail(2)) SWIG_fail
;
18013 arg3
= (int)(SWIG_As_int(obj2
));
18014 if (SWIG_arg_fail(3)) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18033 int *arg2
= (int *) 0 ;
18034 int *arg3
= (int *) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18045 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18048 if (SWIG_arg_fail(1)) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 Py_INCREF(Py_None
); resultobj
= Py_None
;
18057 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18058 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18059 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18060 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18067 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18070 int *arg2
= (int *) 0 ;
18071 int *arg3
= (int *) 0 ;
18076 PyObject
* obj0
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self", NULL
18081 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18082 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18085 if (SWIG_arg_fail(1)) SWIG_fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 Py_INCREF(Py_None
); resultobj
= Py_None
;
18094 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18095 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18096 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18097 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18104 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18107 int *arg2
= (int *) 0 ;
18108 int *arg3
= (int *) 0 ;
18113 PyObject
* obj0
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self", NULL
18118 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18119 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",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 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18131 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18132 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18133 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18134 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18141 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
;
18143 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 char *kwnames
[] = {
18147 (char *) "self", NULL
18150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18152 if (SWIG_arg_fail(1)) SWIG_fail
;
18154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18155 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18157 wxPyEndAllowThreads(__tstate
);
18158 if (PyErr_Occurred()) SWIG_fail
;
18161 wxSize
* resultptr
;
18162 resultptr
= new wxSize((wxSize
&)(result
));
18163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18171 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18172 PyObject
*resultobj
;
18173 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18182 if (SWIG_arg_fail(1)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 wxSize
* resultptr
;
18192 resultptr
= new wxSize((wxSize
&)(result
));
18193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18201 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18211 if (SWIG_arg_fail(1)) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 (arg1
)->base_InitDialog();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 Py_INCREF(Py_None
); resultobj
= Py_None
;
18226 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18237 if (SWIG_arg_fail(1)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (bool)(arg1
)->base_TransferDataToWindow();
18242 wxPyEndAllowThreads(__tstate
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18254 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18282 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (bool)(arg1
)->base_Validate();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18310 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18338 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18366 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18377 if (SWIG_arg_fail(1)) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18386 wxSize
* resultptr
;
18387 resultptr
= new wxSize((wxSize
&)(result
));
18388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18396 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18399 wxWindow
*arg2
= (wxWindow
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "child", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail
;
18409 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(2)) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 (arg1
)->base_AddChild(arg2
);
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 Py_INCREF(Py_None
); resultobj
= Py_None
;
18425 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18426 PyObject
*resultobj
;
18427 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18428 wxWindow
*arg2
= (wxWindow
*) 0 ;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self",(char *) "child", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18437 if (SWIG_arg_fail(1)) SWIG_fail
;
18438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18439 if (SWIG_arg_fail(2)) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 (arg1
)->base_RemoveChild(arg2
);
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18447 Py_INCREF(Py_None
); resultobj
= Py_None
;
18454 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail
;
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18470 wxPyEndAllowThreads(__tstate
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18482 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18485 wxVisualAttributes result
;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18493 if (SWIG_arg_fail(1)) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (arg1
)->base_GetDefaultAttributes();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 wxVisualAttributes
* resultptr
;
18503 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18512 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18515 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18517 return Py_BuildValue((char *)"");
18519 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxWindow
*arg1
= (wxWindow
*) 0 ;
18522 int arg2
= (int) (int)-1 ;
18523 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18524 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18525 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18526 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18527 long arg5
= (long) 0 ;
18528 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18529 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18533 bool temp6
= false ;
18534 PyObject
* obj0
= 0 ;
18535 PyObject
* obj1
= 0 ;
18536 PyObject
* obj2
= 0 ;
18537 PyObject
* obj3
= 0 ;
18538 PyObject
* obj4
= 0 ;
18539 PyObject
* obj5
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18546 if (SWIG_arg_fail(1)) SWIG_fail
;
18549 arg2
= (int const)(SWIG_As_int(obj1
));
18550 if (SWIG_arg_fail(2)) SWIG_fail
;
18556 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18562 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18567 arg5
= (long)(SWIG_As_long(obj4
));
18568 if (SWIG_arg_fail(5)) SWIG_fail
;
18573 arg6
= wxString_in_helper(obj5
);
18574 if (arg6
== NULL
) SWIG_fail
;
18579 if (!wxPyCheckForApp()) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18601 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18604 char *kwnames
[] = {
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18610 if (!wxPyCheckForApp()) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= (wxPyPanel
*)new wxPyPanel();
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18624 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18627 PyObject
*arg2
= (PyObject
*) 0 ;
18628 PyObject
*arg3
= (PyObject
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 PyObject
* obj2
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self",(char *) "self",(char *) "_class", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18648 Py_INCREF(Py_None
); resultobj
= Py_None
;
18655 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "size", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18668 if (SWIG_arg_fail(1)) SWIG_fail
;
18671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 Py_INCREF(Py_None
); resultobj
= Py_None
;
18687 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18694 PyObject
* obj0
= 0 ;
18695 PyObject
* obj1
= 0 ;
18696 PyObject
* obj2
= 0 ;
18697 PyObject
* obj3
= 0 ;
18698 PyObject
* obj4
= 0 ;
18699 char *kwnames
[] = {
18700 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18705 if (SWIG_arg_fail(1)) SWIG_fail
;
18707 arg2
= (int)(SWIG_As_int(obj1
));
18708 if (SWIG_arg_fail(2)) SWIG_fail
;
18711 arg3
= (int)(SWIG_As_int(obj2
));
18712 if (SWIG_arg_fail(3)) SWIG_fail
;
18715 arg4
= (int)(SWIG_As_int(obj3
));
18716 if (SWIG_arg_fail(4)) SWIG_fail
;
18719 arg5
= (int)(SWIG_As_int(obj4
));
18720 if (SWIG_arg_fail(5)) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 Py_INCREF(Py_None
); resultobj
= Py_None
;
18736 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18743 int arg6
= (int) wxSIZE_AUTO
;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 PyObject
* obj2
= 0 ;
18747 PyObject
* obj3
= 0 ;
18748 PyObject
* obj4
= 0 ;
18749 PyObject
* obj5
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18756 if (SWIG_arg_fail(1)) SWIG_fail
;
18758 arg2
= (int)(SWIG_As_int(obj1
));
18759 if (SWIG_arg_fail(2)) SWIG_fail
;
18762 arg3
= (int)(SWIG_As_int(obj2
));
18763 if (SWIG_arg_fail(3)) SWIG_fail
;
18766 arg4
= (int)(SWIG_As_int(obj3
));
18767 if (SWIG_arg_fail(4)) SWIG_fail
;
18770 arg5
= (int)(SWIG_As_int(obj4
));
18771 if (SWIG_arg_fail(5)) SWIG_fail
;
18775 arg6
= (int)(SWIG_As_int(obj5
));
18776 if (SWIG_arg_fail(6)) SWIG_fail
;
18780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18781 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 Py_INCREF(Py_None
); resultobj
= Py_None
;
18793 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 PyObject
* obj2
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self",(char *) "width",(char *) "height", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
18810 if (SWIG_arg_fail(2)) SWIG_fail
;
18813 arg3
= (int)(SWIG_As_int(obj2
));
18814 if (SWIG_arg_fail(3)) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 Py_INCREF(Py_None
); resultobj
= Py_None
;
18830 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 PyObject
* obj2
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self",(char *) "x",(char *) "y", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
18847 if (SWIG_arg_fail(2)) SWIG_fail
;
18850 arg3
= (int)(SWIG_As_int(obj2
));
18851 if (SWIG_arg_fail(3)) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 Py_INCREF(Py_None
); resultobj
= Py_None
;
18867 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18870 int *arg2
= (int *) 0 ;
18871 int *arg3
= (int *) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self", NULL
18881 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18882 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18885 if (SWIG_arg_fail(1)) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 Py_INCREF(Py_None
); resultobj
= Py_None
;
18894 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18895 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18896 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18897 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18904 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18907 int *arg2
= (int *) 0 ;
18908 int *arg3
= (int *) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self", NULL
18918 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18919 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18922 if (SWIG_arg_fail(1)) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 Py_INCREF(Py_None
); resultobj
= Py_None
;
18931 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18932 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18933 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18934 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18941 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18942 PyObject
*resultobj
;
18943 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18944 int *arg2
= (int *) 0 ;
18945 int *arg3
= (int *) 0 ;
18950 PyObject
* obj0
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self", NULL
18955 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18956 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",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 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 Py_INCREF(Py_None
); resultobj
= Py_None
;
18968 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18969 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18970 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18971 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18978 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18989 if (SWIG_arg_fail(1)) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18998 wxSize
* resultptr
;
18999 resultptr
= new wxSize((wxSize
&)(result
));
19000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19008 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19019 if (SWIG_arg_fail(1)) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 wxSize
* resultptr
;
19029 resultptr
= new wxSize((wxSize
&)(result
));
19030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19038 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19041 PyObject
* obj0
= 0 ;
19042 char *kwnames
[] = {
19043 (char *) "self", NULL
19046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19048 if (SWIG_arg_fail(1)) SWIG_fail
;
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->base_InitDialog();
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 Py_INCREF(Py_None
); resultobj
= Py_None
;
19063 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19067 PyObject
* obj0
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19074 if (SWIG_arg_fail(1)) SWIG_fail
;
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 result
= (bool)(arg1
)->base_TransferDataToWindow();
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19091 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19102 if (SWIG_arg_fail(1)) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19119 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19121 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19123 PyObject
* obj0
= 0 ;
19124 char *kwnames
[] = {
19125 (char *) "self", NULL
19128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19130 if (SWIG_arg_fail(1)) SWIG_fail
;
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 result
= (bool)(arg1
)->base_Validate();
19135 wxPyEndAllowThreads(__tstate
);
19136 if (PyErr_Occurred()) SWIG_fail
;
19139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19147 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19158 if (SWIG_arg_fail(1)) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19175 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19186 if (SWIG_arg_fail(1)) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19203 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19214 if (SWIG_arg_fail(1)) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19223 wxSize
* resultptr
;
19224 resultptr
= new wxSize((wxSize
&)(result
));
19225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19233 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19236 wxWindow
*arg2
= (wxWindow
*) 0 ;
19237 PyObject
* obj0
= 0 ;
19238 PyObject
* obj1
= 0 ;
19239 char *kwnames
[] = {
19240 (char *) "self",(char *) "child", NULL
19243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19245 if (SWIG_arg_fail(1)) SWIG_fail
;
19246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19247 if (SWIG_arg_fail(2)) SWIG_fail
;
19249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 (arg1
)->base_AddChild(arg2
);
19252 wxPyEndAllowThreads(__tstate
);
19253 if (PyErr_Occurred()) SWIG_fail
;
19255 Py_INCREF(Py_None
); resultobj
= Py_None
;
19262 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19263 PyObject
*resultobj
;
19264 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19265 wxWindow
*arg2
= (wxWindow
*) 0 ;
19266 PyObject
* obj0
= 0 ;
19267 PyObject
* obj1
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self",(char *) "child", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19274 if (SWIG_arg_fail(1)) SWIG_fail
;
19275 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19276 if (SWIG_arg_fail(2)) SWIG_fail
;
19278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 (arg1
)->base_RemoveChild(arg2
);
19281 wxPyEndAllowThreads(__tstate
);
19282 if (PyErr_Occurred()) SWIG_fail
;
19284 Py_INCREF(Py_None
); resultobj
= Py_None
;
19291 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19293 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19295 PyObject
* obj0
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19302 if (SWIG_arg_fail(1)) SWIG_fail
;
19304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19307 wxPyEndAllowThreads(__tstate
);
19308 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19319 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19322 wxVisualAttributes result
;
19323 PyObject
* obj0
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19330 if (SWIG_arg_fail(1)) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (arg1
)->base_GetDefaultAttributes();
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 wxVisualAttributes
* resultptr
;
19340 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19349 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19354 return Py_BuildValue((char *)"");
19356 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19357 PyObject
*resultobj
;
19358 wxWindow
*arg1
= (wxWindow
*) 0 ;
19359 int arg2
= (int) (int)-1 ;
19360 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19361 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19362 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19363 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19364 long arg5
= (long) 0 ;
19365 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19366 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19367 wxPyScrolledWindow
*result
;
19370 bool temp6
= false ;
19371 PyObject
* obj0
= 0 ;
19372 PyObject
* obj1
= 0 ;
19373 PyObject
* obj2
= 0 ;
19374 PyObject
* obj3
= 0 ;
19375 PyObject
* obj4
= 0 ;
19376 PyObject
* obj5
= 0 ;
19377 char *kwnames
[] = {
19378 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19383 if (SWIG_arg_fail(1)) SWIG_fail
;
19386 arg2
= (int const)(SWIG_As_int(obj1
));
19387 if (SWIG_arg_fail(2)) SWIG_fail
;
19393 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19399 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19404 arg5
= (long)(SWIG_As_long(obj4
));
19405 if (SWIG_arg_fail(5)) SWIG_fail
;
19410 arg6
= wxString_in_helper(obj5
);
19411 if (arg6
== NULL
) SWIG_fail
;
19416 if (!wxPyCheckForApp()) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19438 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxPyScrolledWindow
*result
;
19441 char *kwnames
[] = {
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19447 if (!wxPyCheckForApp()) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19451 wxPyEndAllowThreads(__tstate
);
19452 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19461 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19464 PyObject
*arg2
= (PyObject
*) 0 ;
19465 PyObject
*arg3
= (PyObject
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 PyObject
* obj1
= 0 ;
19468 PyObject
* obj2
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self",(char *) "self",(char *) "_class", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19475 if (SWIG_arg_fail(1)) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19485 Py_INCREF(Py_None
); resultobj
= Py_None
;
19492 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19497 PyObject
* obj0
= 0 ;
19498 PyObject
* obj1
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self",(char *) "size", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19505 if (SWIG_arg_fail(1)) SWIG_fail
;
19508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 Py_INCREF(Py_None
); resultobj
= Py_None
;
19524 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 PyObject
* obj2
= 0 ;
19534 PyObject
* obj3
= 0 ;
19535 PyObject
* obj4
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19542 if (SWIG_arg_fail(1)) SWIG_fail
;
19544 arg2
= (int)(SWIG_As_int(obj1
));
19545 if (SWIG_arg_fail(2)) SWIG_fail
;
19548 arg3
= (int)(SWIG_As_int(obj2
));
19549 if (SWIG_arg_fail(3)) SWIG_fail
;
19552 arg4
= (int)(SWIG_As_int(obj3
));
19553 if (SWIG_arg_fail(4)) SWIG_fail
;
19556 arg5
= (int)(SWIG_As_int(obj4
));
19557 if (SWIG_arg_fail(5)) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 Py_INCREF(Py_None
); resultobj
= Py_None
;
19573 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19580 int arg6
= (int) wxSIZE_AUTO
;
19581 PyObject
* obj0
= 0 ;
19582 PyObject
* obj1
= 0 ;
19583 PyObject
* obj2
= 0 ;
19584 PyObject
* obj3
= 0 ;
19585 PyObject
* obj4
= 0 ;
19586 PyObject
* obj5
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19593 if (SWIG_arg_fail(1)) SWIG_fail
;
19595 arg2
= (int)(SWIG_As_int(obj1
));
19596 if (SWIG_arg_fail(2)) SWIG_fail
;
19599 arg3
= (int)(SWIG_As_int(obj2
));
19600 if (SWIG_arg_fail(3)) SWIG_fail
;
19603 arg4
= (int)(SWIG_As_int(obj3
));
19604 if (SWIG_arg_fail(4)) SWIG_fail
;
19607 arg5
= (int)(SWIG_As_int(obj4
));
19608 if (SWIG_arg_fail(5)) SWIG_fail
;
19612 arg6
= (int)(SWIG_As_int(obj5
));
19613 if (SWIG_arg_fail(6)) SWIG_fail
;
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19620 wxPyEndAllowThreads(__tstate
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19623 Py_INCREF(Py_None
); resultobj
= Py_None
;
19630 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 PyObject
* obj2
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self",(char *) "width",(char *) "height", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
19647 if (SWIG_arg_fail(2)) SWIG_fail
;
19650 arg3
= (int)(SWIG_As_int(obj2
));
19651 if (SWIG_arg_fail(3)) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 Py_INCREF(Py_None
); resultobj
= Py_None
;
19667 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 PyObject
* obj2
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self",(char *) "x",(char *) "y", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
19684 if (SWIG_arg_fail(2)) SWIG_fail
;
19687 arg3
= (int)(SWIG_As_int(obj2
));
19688 if (SWIG_arg_fail(3)) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19697 Py_INCREF(Py_None
); resultobj
= Py_None
;
19704 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19707 int *arg2
= (int *) 0 ;
19708 int *arg3
= (int *) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self", NULL
19718 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19719 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19722 if (SWIG_arg_fail(1)) SWIG_fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 Py_INCREF(Py_None
); resultobj
= Py_None
;
19731 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19732 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19733 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19734 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19741 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19744 int *arg2
= (int *) 0 ;
19745 int *arg3
= (int *) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19756 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19759 if (SWIG_arg_fail(1)) SWIG_fail
;
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19767 Py_INCREF(Py_None
); resultobj
= Py_None
;
19768 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19769 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19770 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19771 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19778 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19781 int *arg2
= (int *) 0 ;
19782 int *arg3
= (int *) 0 ;
19787 PyObject
* obj0
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self", NULL
19792 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19793 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",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 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 Py_INCREF(Py_None
); resultobj
= Py_None
;
19805 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19806 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19807 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19808 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19815 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19816 PyObject
*resultobj
;
19817 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19819 PyObject
* obj0
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19826 if (SWIG_arg_fail(1)) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 wxSize
* resultptr
;
19836 resultptr
= new wxSize((wxSize
&)(result
));
19837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19845 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19865 wxSize
* resultptr
;
19866 resultptr
= new wxSize((wxSize
&)(result
));
19867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19875 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19885 if (SWIG_arg_fail(1)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 (arg1
)->base_InitDialog();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 Py_INCREF(Py_None
); resultobj
= Py_None
;
19900 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19911 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (bool)(arg1
)->base_TransferDataToWindow();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19928 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19939 if (SWIG_arg_fail(1)) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19956 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19957 PyObject
*resultobj
;
19958 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19960 PyObject
* obj0
= 0 ;
19961 char *kwnames
[] = {
19962 (char *) "self", NULL
19965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
19966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19967 if (SWIG_arg_fail(1)) SWIG_fail
;
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (bool)(arg1
)->base_Validate();
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19984 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19985 PyObject
*resultobj
;
19986 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19995 if (SWIG_arg_fail(1)) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20012 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20016 PyObject
* obj0
= 0 ;
20017 char *kwnames
[] = {
20018 (char *) "self", NULL
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20023 if (SWIG_arg_fail(1)) SWIG_fail
;
20025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20026 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20028 wxPyEndAllowThreads(__tstate
);
20029 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20040 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20051 if (SWIG_arg_fail(1)) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20060 wxSize
* resultptr
;
20061 resultptr
= new wxSize((wxSize
&)(result
));
20062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20070 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20073 wxWindow
*arg2
= (wxWindow
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 PyObject
* obj1
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self",(char *) "child", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20082 if (SWIG_arg_fail(1)) SWIG_fail
;
20083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20084 if (SWIG_arg_fail(2)) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 (arg1
)->base_AddChild(arg2
);
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20092 Py_INCREF(Py_None
); resultobj
= Py_None
;
20099 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
;
20101 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20102 wxWindow
*arg2
= (wxWindow
*) 0 ;
20103 PyObject
* obj0
= 0 ;
20104 PyObject
* obj1
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "self",(char *) "child", NULL
20109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20111 if (SWIG_arg_fail(1)) SWIG_fail
;
20112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20113 if (SWIG_arg_fail(2)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 (arg1
)->base_RemoveChild(arg2
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 Py_INCREF(Py_None
); resultobj
= Py_None
;
20128 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20132 PyObject
* obj0
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20139 if (SWIG_arg_fail(1)) SWIG_fail
;
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20142 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20144 wxPyEndAllowThreads(__tstate
);
20145 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20156 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20159 wxVisualAttributes result
;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20167 if (SWIG_arg_fail(1)) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (arg1
)->base_GetDefaultAttributes();
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20176 wxVisualAttributes
* resultptr
;
20177 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20186 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20189 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20191 return Py_BuildValue((char *)"");
20193 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20194 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20199 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20204 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20206 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20213 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20214 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20219 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20224 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20226 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20233 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20234 PyObject
*resultobj
;
20235 wxPrintData
*result
;
20237 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (wxPrintData
*)new wxPrintData();
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20252 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20253 PyObject
*resultobj
;
20254 wxPrintData
*arg1
= 0 ;
20255 wxPrintData
*result
;
20256 PyObject
* obj0
= 0 ;
20258 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20261 if (SWIG_arg_fail(1)) SWIG_fail
;
20262 if (arg1
== NULL
) {
20263 SWIG_null_ref("wxPrintData");
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20281 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20286 argc
= PyObject_Length(args
);
20287 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20288 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20291 return _wrap_new_PrintData__SWIG_0(self
,args
);
20297 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20305 return _wrap_new_PrintData__SWIG_1(self
,args
);
20309 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20314 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20324 if (SWIG_arg_fail(1)) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 Py_INCREF(Py_None
); resultobj
= Py_None
;
20339 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20350 if (SWIG_arg_fail(1)) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (int)(arg1
)->GetNoCopies();
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= SWIG_From_int((int)(result
));
20367 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20369 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20371 PyObject
* obj0
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 result
= (bool)(arg1
)->GetCollate();
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20395 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
;
20397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20399 PyObject
* obj0
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20406 if (SWIG_arg_fail(1)) SWIG_fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (int)(arg1
)->GetOrientation();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= SWIG_From_int((int)(result
));
20423 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20427 PyObject
* obj0
= 0 ;
20428 char *kwnames
[] = {
20429 (char *) "self", NULL
20432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20434 if (SWIG_arg_fail(1)) SWIG_fail
;
20436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20437 result
= (bool)(arg1
)->Ok();
20439 wxPyEndAllowThreads(__tstate
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20451 static PyObject
*_wrap_PrintData_GetPrinterName(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_GetPrinterName",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 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20467 result
= (wxString
*) &_result_ref
;
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20477 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20486 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20487 PyObject
*resultobj
;
20488 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20490 PyObject
* obj0
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20497 if (SWIG_arg_fail(1)) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (bool)(arg1
)->GetColour();
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20514 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20515 PyObject
*resultobj
;
20516 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20517 wxDuplexMode result
;
20518 PyObject
* obj0
= 0 ;
20519 char *kwnames
[] = {
20520 (char *) "self", NULL
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20525 if (SWIG_arg_fail(1)) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= SWIG_From_int((result
));
20540 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20543 wxPaperSize result
;
20544 PyObject
* obj0
= 0 ;
20545 char *kwnames
[] = {
20546 (char *) "self", NULL
20549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20551 if (SWIG_arg_fail(1)) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 resultobj
= SWIG_From_int((result
));
20566 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20577 if (SWIG_arg_fail(1)) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20582 result
= (wxSize
*) &_result_ref
;
20585 wxPyEndAllowThreads(__tstate
);
20586 if (PyErr_Occurred()) SWIG_fail
;
20588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20595 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20606 if (SWIG_arg_fail(1)) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (int)(arg1
)->GetQuality();
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= SWIG_From_int((int)(result
));
20623 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (wxPrintBin
)(arg1
)->GetBin();
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20642 resultobj
= SWIG_From_int((result
));
20649 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20652 wxPrintMode result
;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20660 if (SWIG_arg_fail(1)) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= SWIG_From_int((result
));
20675 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self",(char *) "v", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20687 if (SWIG_arg_fail(1)) SWIG_fail
;
20689 arg2
= (int)(SWIG_As_int(obj1
));
20690 if (SWIG_arg_fail(2)) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 (arg1
)->SetNoCopies(arg2
);
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 Py_INCREF(Py_None
); resultobj
= Py_None
;
20706 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self",(char *) "flag", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20718 if (SWIG_arg_fail(1)) SWIG_fail
;
20720 arg2
= (bool)(SWIG_As_bool(obj1
));
20721 if (SWIG_arg_fail(2)) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 (arg1
)->SetCollate(arg2
);
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 Py_INCREF(Py_None
); resultobj
= Py_None
;
20737 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self",(char *) "orient", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20749 if (SWIG_arg_fail(1)) SWIG_fail
;
20751 arg2
= (int)(SWIG_As_int(obj1
));
20752 if (SWIG_arg_fail(2)) SWIG_fail
;
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 (arg1
)->SetOrientation(arg2
);
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 Py_INCREF(Py_None
); resultobj
= Py_None
;
20768 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20771 wxString
*arg2
= 0 ;
20772 bool temp2
= false ;
20773 PyObject
* obj0
= 0 ;
20774 PyObject
* obj1
= 0 ;
20775 char *kwnames
[] = {
20776 (char *) "self",(char *) "name", NULL
20779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20781 if (SWIG_arg_fail(1)) SWIG_fail
;
20783 arg2
= wxString_in_helper(obj1
);
20784 if (arg2
== NULL
) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 Py_INCREF(Py_None
); resultobj
= Py_None
;
20809 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self",(char *) "colour", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail
;
20823 arg2
= (bool)(SWIG_As_bool(obj1
));
20824 if (SWIG_arg_fail(2)) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 (arg1
)->SetColour(arg2
);
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 Py_INCREF(Py_None
); resultobj
= Py_None
;
20840 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20843 wxDuplexMode arg2
;
20844 PyObject
* obj0
= 0 ;
20845 PyObject
* obj1
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self",(char *) "duplex", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20852 if (SWIG_arg_fail(1)) SWIG_fail
;
20854 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20855 if (SWIG_arg_fail(2)) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 Py_INCREF(Py_None
); resultobj
= Py_None
;
20871 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self",(char *) "sizeId", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20883 if (SWIG_arg_fail(1)) SWIG_fail
;
20885 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
20886 if (SWIG_arg_fail(2)) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 Py_INCREF(Py_None
); resultobj
= Py_None
;
20902 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20903 PyObject
*resultobj
;
20904 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self",(char *) "sz", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20915 if (SWIG_arg_fail(1)) SWIG_fail
;
20918 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20922 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 Py_INCREF(Py_None
); resultobj
= Py_None
;
20934 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 PyObject
* obj1
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self",(char *) "quality", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
20945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20946 if (SWIG_arg_fail(1)) SWIG_fail
;
20948 arg2
= (int)(SWIG_As_int(obj1
));
20949 if (SWIG_arg_fail(2)) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 (arg1
)->SetQuality(arg2
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 Py_INCREF(Py_None
); resultobj
= Py_None
;
20965 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "bin", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
20976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20977 if (SWIG_arg_fail(1)) SWIG_fail
;
20979 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
20980 if (SWIG_arg_fail(2)) SWIG_fail
;
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 (arg1
)->SetBin((wxPrintBin
)arg2
);
20986 wxPyEndAllowThreads(__tstate
);
20987 if (PyErr_Occurred()) SWIG_fail
;
20989 Py_INCREF(Py_None
); resultobj
= Py_None
;
20996 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20997 PyObject
*resultobj
;
20998 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21000 PyObject
* obj0
= 0 ;
21001 PyObject
* obj1
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self",(char *) "printMode", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21008 if (SWIG_arg_fail(1)) SWIG_fail
;
21010 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21011 if (SWIG_arg_fail(2)) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 Py_INCREF(Py_None
); resultobj
= Py_None
;
21027 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21038 if (SWIG_arg_fail(1)) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21059 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21062 wxString
*arg2
= 0 ;
21063 bool temp2
= false ;
21064 PyObject
* obj0
= 0 ;
21065 PyObject
* obj1
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self",(char *) "filename", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21072 if (SWIG_arg_fail(1)) SWIG_fail
;
21074 arg2
= wxString_in_helper(obj1
);
21075 if (arg2
== NULL
) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 (arg1
)->SetFilename((wxString
const &)*arg2
);
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 Py_INCREF(Py_None
); resultobj
= Py_None
;
21100 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
;
21102 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21104 PyObject
* obj0
= 0 ;
21105 char *kwnames
[] = {
21106 (char *) "self", NULL
21109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21111 if (SWIG_arg_fail(1)) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= result
;
21126 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21129 PyObject
*arg2
= (PyObject
*) 0 ;
21130 PyObject
* obj0
= 0 ;
21131 PyObject
* obj1
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self",(char *) "data", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21138 if (SWIG_arg_fail(1)) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 wxPrintData_SetPrivData(arg1
,arg2
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 Py_INCREF(Py_None
); resultobj
= Py_None
;
21154 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "self", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21170 result
= (wxString
*) &_result_ref
;
21173 wxPyEndAllowThreads(__tstate
);
21174 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21189 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21190 PyObject
*resultobj
;
21191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21200 if (SWIG_arg_fail(1)) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21205 result
= (wxString
*) &_result_ref
;
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21215 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21224 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21240 result
= (wxString
*) &_result_ref
;
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21250 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21259 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21263 PyObject
* obj0
= 0 ;
21264 char *kwnames
[] = {
21265 (char *) "self", NULL
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21270 if (SWIG_arg_fail(1)) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21275 result
= (wxString
*) &_result_ref
;
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21285 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21294 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 result
= (double)(arg1
)->GetPrinterScaleX();
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_From_double((double)(result
));
21322 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21333 if (SWIG_arg_fail(1)) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= (double)(arg1
)->GetPrinterScaleY();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= SWIG_From_double((double)(result
));
21350 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21354 PyObject
* obj0
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21361 if (SWIG_arg_fail(1)) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (long)(arg1
)->GetPrinterTranslateX();
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21370 resultobj
= SWIG_From_long((long)(result
));
21378 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21389 if (SWIG_arg_fail(1)) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (long)(arg1
)->GetPrinterTranslateY();
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= SWIG_From_long((long)(result
));
21406 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21409 wxString
*arg2
= 0 ;
21410 bool temp2
= false ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "command", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21419 if (SWIG_arg_fail(1)) SWIG_fail
;
21421 arg2
= wxString_in_helper(obj1
);
21422 if (arg2
== NULL
) SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 Py_INCREF(Py_None
); resultobj
= Py_None
;
21447 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21450 wxString
*arg2
= 0 ;
21451 bool temp2
= false ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "options", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21460 if (SWIG_arg_fail(1)) SWIG_fail
;
21462 arg2
= wxString_in_helper(obj1
);
21463 if (arg2
== NULL
) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21473 Py_INCREF(Py_None
); resultobj
= Py_None
;
21488 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21491 wxString
*arg2
= 0 ;
21492 bool temp2
= false ;
21493 PyObject
* obj0
= 0 ;
21494 PyObject
* obj1
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self",(char *) "command", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21501 if (SWIG_arg_fail(1)) SWIG_fail
;
21503 arg2
= wxString_in_helper(obj1
);
21504 if (arg2
== NULL
) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 Py_INCREF(Py_None
); resultobj
= Py_None
;
21529 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21532 wxString
*arg2
= 0 ;
21533 bool temp2
= false ;
21534 PyObject
* obj0
= 0 ;
21535 PyObject
* obj1
= 0 ;
21536 char *kwnames
[] = {
21537 (char *) "self",(char *) "path", NULL
21540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21542 if (SWIG_arg_fail(1)) SWIG_fail
;
21544 arg2
= wxString_in_helper(obj1
);
21545 if (arg2
== NULL
) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 Py_INCREF(Py_None
); resultobj
= Py_None
;
21570 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self",(char *) "x", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21582 if (SWIG_arg_fail(1)) SWIG_fail
;
21584 arg2
= (double)(SWIG_As_double(obj1
));
21585 if (SWIG_arg_fail(2)) SWIG_fail
;
21588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21589 (arg1
)->SetPrinterScaleX(arg2
);
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 Py_INCREF(Py_None
); resultobj
= Py_None
;
21601 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self",(char *) "y", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21613 if (SWIG_arg_fail(1)) SWIG_fail
;
21615 arg2
= (double)(SWIG_As_double(obj1
));
21616 if (SWIG_arg_fail(2)) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->SetPrinterScaleY(arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
;
21634 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21637 PyObject
* obj0
= 0 ;
21638 PyObject
* obj1
= 0 ;
21639 PyObject
* obj2
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self",(char *) "x",(char *) "y", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21646 if (SWIG_arg_fail(1)) SWIG_fail
;
21648 arg2
= (double)(SWIG_As_double(obj1
));
21649 if (SWIG_arg_fail(2)) SWIG_fail
;
21652 arg3
= (double)(SWIG_As_double(obj2
));
21653 if (SWIG_arg_fail(3)) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 Py_INCREF(Py_None
); resultobj
= Py_None
;
21669 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21673 PyObject
* obj0
= 0 ;
21674 PyObject
* obj1
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self",(char *) "x", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21681 if (SWIG_arg_fail(1)) SWIG_fail
;
21683 arg2
= (long)(SWIG_As_long(obj1
));
21684 if (SWIG_arg_fail(2)) SWIG_fail
;
21687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21688 (arg1
)->SetPrinterTranslateX(arg2
);
21690 wxPyEndAllowThreads(__tstate
);
21691 if (PyErr_Occurred()) SWIG_fail
;
21693 Py_INCREF(Py_None
); resultobj
= Py_None
;
21700 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self",(char *) "y", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21712 if (SWIG_arg_fail(1)) SWIG_fail
;
21714 arg2
= (long)(SWIG_As_long(obj1
));
21715 if (SWIG_arg_fail(2)) SWIG_fail
;
21718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 (arg1
)->SetPrinterTranslateY(arg2
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 Py_INCREF(Py_None
); resultobj
= Py_None
;
21731 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 PyObject
* obj2
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "x",(char *) "y", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21745 if (SWIG_arg_fail(1)) SWIG_fail
;
21747 arg2
= (long)(SWIG_As_long(obj1
));
21748 if (SWIG_arg_fail(2)) SWIG_fail
;
21751 arg3
= (long)(SWIG_As_long(obj2
));
21752 if (SWIG_arg_fail(3)) SWIG_fail
;
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21758 wxPyEndAllowThreads(__tstate
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21761 Py_INCREF(Py_None
); resultobj
= Py_None
;
21768 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21771 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21773 return Py_BuildValue((char *)"");
21775 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21776 PyObject
*resultobj
;
21777 wxPageSetupDialogData
*result
;
21779 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21794 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21795 PyObject
*resultobj
;
21796 wxPageSetupDialogData
*arg1
= 0 ;
21797 wxPageSetupDialogData
*result
;
21798 PyObject
* obj0
= 0 ;
21800 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21803 if (SWIG_arg_fail(1)) SWIG_fail
;
21804 if (arg1
== NULL
) {
21805 SWIG_null_ref("wxPageSetupDialogData");
21807 if (SWIG_arg_fail(1)) SWIG_fail
;
21810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21823 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21824 PyObject
*resultobj
;
21825 wxPrintData
*arg1
= 0 ;
21826 wxPageSetupDialogData
*result
;
21827 PyObject
* obj0
= 0 ;
21829 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21832 if (SWIG_arg_fail(1)) SWIG_fail
;
21833 if (arg1
== NULL
) {
21834 SWIG_null_ref("wxPrintData");
21836 if (SWIG_arg_fail(1)) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21852 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21857 argc
= PyObject_Length(args
);
21858 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21859 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21862 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21868 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21876 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21883 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21891 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21895 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21900 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21903 PyObject
* obj0
= 0 ;
21904 char *kwnames
[] = {
21905 (char *) "self", NULL
21908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21910 if (SWIG_arg_fail(1)) SWIG_fail
;
21912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 Py_INCREF(Py_None
); resultobj
= Py_None
;
21925 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21926 PyObject
*resultobj
;
21927 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21929 PyObject
* obj0
= 0 ;
21930 PyObject
* obj1
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self",(char *) "flag", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21937 if (SWIG_arg_fail(1)) SWIG_fail
;
21939 arg2
= (bool)(SWIG_As_bool(obj1
));
21940 if (SWIG_arg_fail(2)) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 (arg1
)->EnableHelp(arg2
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 Py_INCREF(Py_None
); resultobj
= Py_None
;
21956 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 char *kwnames
[] = {
21963 (char *) "self",(char *) "flag", NULL
21966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21968 if (SWIG_arg_fail(1)) SWIG_fail
;
21970 arg2
= (bool)(SWIG_As_bool(obj1
));
21971 if (SWIG_arg_fail(2)) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 (arg1
)->EnableMargins(arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 Py_INCREF(Py_None
); resultobj
= Py_None
;
21987 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 char *kwnames
[] = {
21994 (char *) "self",(char *) "flag", NULL
21997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21999 if (SWIG_arg_fail(1)) SWIG_fail
;
22001 arg2
= (bool)(SWIG_As_bool(obj1
));
22002 if (SWIG_arg_fail(2)) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 (arg1
)->EnableOrientation(arg2
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "self",(char *) "flag", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22030 if (SWIG_arg_fail(1)) SWIG_fail
;
22032 arg2
= (bool)(SWIG_As_bool(obj1
));
22033 if (SWIG_arg_fail(2)) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 (arg1
)->EnablePaper(arg2
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 Py_INCREF(Py_None
); resultobj
= Py_None
;
22049 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "flag", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22061 if (SWIG_arg_fail(1)) SWIG_fail
;
22063 arg2
= (bool)(SWIG_As_bool(obj1
));
22064 if (SWIG_arg_fail(2)) SWIG_fail
;
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 (arg1
)->EnablePrinter(arg2
);
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 Py_INCREF(Py_None
); resultobj
= Py_None
;
22080 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22084 PyObject
* obj0
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (bool)(arg1
)->GetDefaultMinMargins();
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22108 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22119 if (SWIG_arg_fail(1)) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (bool)(arg1
)->GetEnableMargins();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22136 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22138 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22140 PyObject
* obj0
= 0 ;
22141 char *kwnames
[] = {
22142 (char *) "self", NULL
22145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22147 if (SWIG_arg_fail(1)) SWIG_fail
;
22149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22150 result
= (bool)(arg1
)->GetEnableOrientation();
22152 wxPyEndAllowThreads(__tstate
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22164 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22175 if (SWIG_arg_fail(1)) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= (bool)(arg1
)->GetEnablePaper();
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22192 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22196 PyObject
* obj0
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22203 if (SWIG_arg_fail(1)) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (bool)(arg1
)->GetEnablePrinter();
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22220 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22231 if (SWIG_arg_fail(1)) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (bool)(arg1
)->GetEnableHelp();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22248 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22259 if (SWIG_arg_fail(1)) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (bool)(arg1
)->GetDefaultInfo();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22276 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22287 if (SWIG_arg_fail(1)) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= (arg1
)->GetMarginTopLeft();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 wxPoint
* resultptr
;
22297 resultptr
= new wxPoint((wxPoint
&)(result
));
22298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22306 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22317 if (SWIG_arg_fail(1)) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (arg1
)->GetMarginBottomRight();
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22326 wxPoint
* resultptr
;
22327 resultptr
= new wxPoint((wxPoint
&)(result
));
22328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22336 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22347 if (SWIG_arg_fail(1)) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (arg1
)->GetMinMarginTopLeft();
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22356 wxPoint
* resultptr
;
22357 resultptr
= new wxPoint((wxPoint
&)(result
));
22358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22366 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(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_GetMinMarginBottomRight",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
= (arg1
)->GetMinMarginBottomRight();
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 wxPoint
* resultptr
;
22387 resultptr
= new wxPoint((wxPoint
&)(result
));
22388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22396 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22398 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22399 wxPaperSize result
;
22400 PyObject
* obj0
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22407 if (SWIG_arg_fail(1)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 resultobj
= SWIG_From_int((result
));
22422 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22433 if (SWIG_arg_fail(1)) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (arg1
)->GetPaperSize();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22442 wxSize
* resultptr
;
22443 resultptr
= new wxSize((wxSize
&)(result
));
22444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22452 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22453 PyObject
*resultobj
;
22454 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22455 wxPrintData
*result
;
22456 PyObject
* obj0
= 0 ;
22457 char *kwnames
[] = {
22458 (char *) "self", NULL
22461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22463 if (SWIG_arg_fail(1)) SWIG_fail
;
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22468 result
= (wxPrintData
*) &_result_ref
;
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22481 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22492 if (SWIG_arg_fail(1)) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (bool)(arg1
)->Ok();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22509 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "flag", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22521 if (SWIG_arg_fail(1)) SWIG_fail
;
22523 arg2
= (bool)(SWIG_As_bool(obj1
));
22524 if (SWIG_arg_fail(2)) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 (arg1
)->SetDefaultInfo(arg2
);
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 Py_INCREF(Py_None
); resultobj
= Py_None
;
22540 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 PyObject
* obj1
= 0 ;
22546 char *kwnames
[] = {
22547 (char *) "self",(char *) "flag", NULL
22550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22552 if (SWIG_arg_fail(1)) SWIG_fail
;
22554 arg2
= (bool)(SWIG_As_bool(obj1
));
22555 if (SWIG_arg_fail(2)) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->SetDefaultMinMargins(arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22571 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22574 wxPoint
*arg2
= 0 ;
22576 PyObject
* obj0
= 0 ;
22577 PyObject
* obj1
= 0 ;
22578 char *kwnames
[] = {
22579 (char *) "self",(char *) "pt", NULL
22582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22584 if (SWIG_arg_fail(1)) SWIG_fail
;
22587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 Py_INCREF(Py_None
); resultobj
= Py_None
;
22603 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22606 wxPoint
*arg2
= 0 ;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self",(char *) "pt", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22616 if (SWIG_arg_fail(1)) SWIG_fail
;
22619 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22638 wxPoint
*arg2
= 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "pt", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22648 if (SWIG_arg_fail(1)) SWIG_fail
;
22651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22670 wxPoint
*arg2
= 0 ;
22672 PyObject
* obj0
= 0 ;
22673 PyObject
* obj1
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self",(char *) "pt", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22680 if (SWIG_arg_fail(1)) SWIG_fail
;
22683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 Py_INCREF(Py_None
); resultobj
= Py_None
;
22699 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 PyObject
* obj1
= 0 ;
22705 char *kwnames
[] = {
22706 (char *) "self",(char *) "id", NULL
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22711 if (SWIG_arg_fail(1)) SWIG_fail
;
22713 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22714 if (SWIG_arg_fail(2)) SWIG_fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 Py_INCREF(Py_None
); resultobj
= Py_None
;
22730 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22731 PyObject
*resultobj
;
22732 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 PyObject
* obj1
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self",(char *) "size", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22743 if (SWIG_arg_fail(1)) SWIG_fail
;
22746 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 Py_INCREF(Py_None
); resultobj
= Py_None
;
22762 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22765 wxPrintData
*arg2
= 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "printData", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22774 if (SWIG_arg_fail(1)) SWIG_fail
;
22776 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22777 if (SWIG_arg_fail(2)) SWIG_fail
;
22778 if (arg2
== NULL
) {
22779 SWIG_null_ref("wxPrintData");
22781 if (SWIG_arg_fail(2)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 Py_INCREF(Py_None
); resultobj
= Py_None
;
22797 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
;
22799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 (arg1
)->CalculateIdFromPaperSize();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 Py_INCREF(Py_None
); resultobj
= Py_None
;
22822 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22832 if (SWIG_arg_fail(1)) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 (arg1
)->CalculatePaperSizeFromId();
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 Py_INCREF(Py_None
); resultobj
= Py_None
;
22847 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22850 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22852 return Py_BuildValue((char *)"");
22854 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22855 PyObject
*resultobj
;
22856 wxWindow
*arg1
= (wxWindow
*) 0 ;
22857 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22858 wxPageSetupDialog
*result
;
22859 PyObject
* obj0
= 0 ;
22860 PyObject
* obj1
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "parent",(char *) "data", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22867 if (SWIG_arg_fail(1)) SWIG_fail
;
22869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22870 if (SWIG_arg_fail(2)) SWIG_fail
;
22873 if (!wxPyCheckForApp()) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22887 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22890 wxPageSetupDialogData
*result
;
22891 PyObject
* obj0
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22898 if (SWIG_arg_fail(1)) SWIG_fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22903 result
= (wxPageSetupDialogData
*) &_result_ref
;
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22916 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22919 wxPageSetupDialogData
*result
;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22927 if (SWIG_arg_fail(1)) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22932 result
= (wxPageSetupDialogData
*) &_result_ref
;
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22945 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (int)(arg1
)->ShowModal();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= SWIG_From_int((int)(result
));
22973 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22976 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22978 return Py_BuildValue((char *)"");
22980 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22981 PyObject
*resultobj
;
22982 wxPrintDialogData
*result
;
22984 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22999 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23000 PyObject
*resultobj
;
23001 wxPrintData
*arg1
= 0 ;
23002 wxPrintDialogData
*result
;
23003 PyObject
* obj0
= 0 ;
23005 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23008 if (SWIG_arg_fail(1)) SWIG_fail
;
23009 if (arg1
== NULL
) {
23010 SWIG_null_ref("wxPrintData");
23012 if (SWIG_arg_fail(1)) SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23028 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23029 PyObject
*resultobj
;
23030 wxPrintDialogData
*arg1
= 0 ;
23031 wxPrintDialogData
*result
;
23032 PyObject
* obj0
= 0 ;
23034 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23037 if (SWIG_arg_fail(1)) SWIG_fail
;
23038 if (arg1
== NULL
) {
23039 SWIG_null_ref("wxPrintDialogData");
23041 if (SWIG_arg_fail(1)) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23057 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23062 argc
= PyObject_Length(args
);
23063 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23064 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23067 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23073 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23081 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23088 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23096 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23100 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23105 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23107 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23108 PyObject
* obj0
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23115 if (SWIG_arg_fail(1)) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 Py_INCREF(Py_None
); resultobj
= Py_None
;
23130 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23141 if (SWIG_arg_fail(1)) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= SWIG_From_int((int)(result
));
23158 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23162 PyObject
* obj0
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23169 if (SWIG_arg_fail(1)) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_From_int((int)(result
));
23186 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23197 if (SWIG_arg_fail(1)) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= SWIG_From_int((int)(result
));
23214 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23225 if (SWIG_arg_fail(1)) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= SWIG_From_int((int)(result
));
23242 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23243 PyObject
*resultobj
;
23244 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23246 PyObject
* obj0
= 0 ;
23247 char *kwnames
[] = {
23248 (char *) "self", NULL
23251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23253 if (SWIG_arg_fail(1)) SWIG_fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= SWIG_From_int((int)(result
));
23270 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23272 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23274 PyObject
* obj0
= 0 ;
23275 char *kwnames
[] = {
23276 (char *) "self", NULL
23279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23281 if (SWIG_arg_fail(1)) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23298 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23302 PyObject
* obj0
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23309 if (SWIG_arg_fail(1)) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23326 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23337 if (SWIG_arg_fail(1)) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23354 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "self", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23365 if (SWIG_arg_fail(1)) SWIG_fail
;
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23382 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23393 if (SWIG_arg_fail(1)) SWIG_fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23410 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23414 PyObject
* obj0
= 0 ;
23415 PyObject
* obj1
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self",(char *) "flag", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23422 if (SWIG_arg_fail(1)) SWIG_fail
;
23424 arg2
= (bool)(SWIG_As_bool(obj1
));
23425 if (SWIG_arg_fail(2)) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 (arg1
)->SetSetupDialog(arg2
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 Py_INCREF(Py_None
); resultobj
= Py_None
;
23441 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj1
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self",(char *) "v", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23453 if (SWIG_arg_fail(1)) SWIG_fail
;
23455 arg2
= (int)(SWIG_As_int(obj1
));
23456 if (SWIG_arg_fail(2)) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 (arg1
)->SetFromPage(arg2
);
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 Py_INCREF(Py_None
); resultobj
= Py_None
;
23472 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "v", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23484 if (SWIG_arg_fail(1)) SWIG_fail
;
23486 arg2
= (int)(SWIG_As_int(obj1
));
23487 if (SWIG_arg_fail(2)) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 (arg1
)->SetToPage(arg2
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 Py_INCREF(Py_None
); resultobj
= Py_None
;
23503 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "v", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23515 if (SWIG_arg_fail(1)) SWIG_fail
;
23517 arg2
= (int)(SWIG_As_int(obj1
));
23518 if (SWIG_arg_fail(2)) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23522 (arg1
)->SetMinPage(arg2
);
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 Py_INCREF(Py_None
); resultobj
= Py_None
;
23534 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "v", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23546 if (SWIG_arg_fail(1)) SWIG_fail
;
23548 arg2
= (int)(SWIG_As_int(obj1
));
23549 if (SWIG_arg_fail(2)) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 (arg1
)->SetMaxPage(arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 Py_INCREF(Py_None
); resultobj
= Py_None
;
23565 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23566 PyObject
*resultobj
;
23567 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 PyObject
* obj1
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self",(char *) "v", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23577 if (SWIG_arg_fail(1)) SWIG_fail
;
23579 arg2
= (int)(SWIG_As_int(obj1
));
23580 if (SWIG_arg_fail(2)) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 (arg1
)->SetNoCopies(arg2
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 Py_INCREF(Py_None
); resultobj
= Py_None
;
23596 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23600 PyObject
* obj0
= 0 ;
23601 PyObject
* obj1
= 0 ;
23602 char *kwnames
[] = {
23603 (char *) "self",(char *) "flag", NULL
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23608 if (SWIG_arg_fail(1)) SWIG_fail
;
23610 arg2
= (bool)(SWIG_As_bool(obj1
));
23611 if (SWIG_arg_fail(2)) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 (arg1
)->SetAllPages(arg2
);
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23620 Py_INCREF(Py_None
); resultobj
= Py_None
;
23627 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23628 PyObject
*resultobj
;
23629 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23631 PyObject
* obj0
= 0 ;
23632 PyObject
* obj1
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "self",(char *) "flag", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23639 if (SWIG_arg_fail(1)) SWIG_fail
;
23641 arg2
= (bool)(SWIG_As_bool(obj1
));
23642 if (SWIG_arg_fail(2)) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 (arg1
)->SetSelection(arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 Py_INCREF(Py_None
); resultobj
= Py_None
;
23658 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "flag", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23672 arg2
= (bool)(SWIG_As_bool(obj1
));
23673 if (SWIG_arg_fail(2)) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 (arg1
)->SetCollate(arg2
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 Py_INCREF(Py_None
); resultobj
= Py_None
;
23689 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 PyObject
* obj1
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "flag", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23701 if (SWIG_arg_fail(1)) SWIG_fail
;
23703 arg2
= (bool)(SWIG_As_bool(obj1
));
23704 if (SWIG_arg_fail(2)) SWIG_fail
;
23707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23708 (arg1
)->SetPrintToFile(arg2
);
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 Py_INCREF(Py_None
); resultobj
= Py_None
;
23720 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23724 PyObject
* obj0
= 0 ;
23725 PyObject
* obj1
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self",(char *) "flag", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23732 if (SWIG_arg_fail(1)) SWIG_fail
;
23734 arg2
= (bool)(SWIG_As_bool(obj1
));
23735 if (SWIG_arg_fail(2)) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 (arg1
)->EnablePrintToFile(arg2
);
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 Py_INCREF(Py_None
); resultobj
= Py_None
;
23751 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 PyObject
* obj1
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self",(char *) "flag", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23763 if (SWIG_arg_fail(1)) SWIG_fail
;
23765 arg2
= (bool)(SWIG_As_bool(obj1
));
23766 if (SWIG_arg_fail(2)) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 (arg1
)->EnableSelection(arg2
);
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 Py_INCREF(Py_None
); resultobj
= Py_None
;
23782 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
;
23784 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj1
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "flag", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail
;
23796 arg2
= (bool)(SWIG_As_bool(obj1
));
23797 if (SWIG_arg_fail(2)) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 (arg1
)->EnablePageNumbers(arg2
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 Py_INCREF(Py_None
); resultobj
= Py_None
;
23813 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "flag", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23827 arg2
= (bool)(SWIG_As_bool(obj1
));
23828 if (SWIG_arg_fail(2)) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 (arg1
)->EnableHelp(arg2
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 Py_INCREF(Py_None
); resultobj
= Py_None
;
23844 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23848 PyObject
* obj0
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23855 if (SWIG_arg_fail(1)) SWIG_fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23872 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23883 if (SWIG_arg_fail(1)) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23900 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23911 if (SWIG_arg_fail(1)) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23928 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 char *kwnames
[] = {
23934 (char *) "self", NULL
23937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23939 if (SWIG_arg_fail(1)) SWIG_fail
;
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23944 wxPyEndAllowThreads(__tstate
);
23945 if (PyErr_Occurred()) SWIG_fail
;
23948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23956 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23960 PyObject
* obj0
= 0 ;
23961 char *kwnames
[] = {
23962 (char *) "self", NULL
23965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23967 if (SWIG_arg_fail(1)) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23984 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23987 wxPrintData
*result
;
23988 PyObject
* obj0
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23995 if (SWIG_arg_fail(1)) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24000 result
= (wxPrintData
*) &_result_ref
;
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24013 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24014 PyObject
*resultobj
;
24015 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24016 wxPrintData
*arg2
= 0 ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self",(char *) "printData", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24025 if (SWIG_arg_fail(1)) SWIG_fail
;
24027 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24028 if (SWIG_arg_fail(2)) SWIG_fail
;
24029 if (arg2
== NULL
) {
24030 SWIG_null_ref("wxPrintData");
24032 if (SWIG_arg_fail(2)) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24051 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24053 return Py_BuildValue((char *)"");
24055 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxWindow
*arg1
= (wxWindow
*) 0 ;
24058 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24059 wxPrintDialog
*result
;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "parent",(char *) "data", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24068 if (SWIG_arg_fail(1)) SWIG_fail
;
24070 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24071 if (SWIG_arg_fail(2)) SWIG_fail
;
24074 if (!wxPyCheckForApp()) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24088 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24090 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24092 PyObject
* obj0
= 0 ;
24093 char *kwnames
[] = {
24094 (char *) "self", NULL
24097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24099 if (SWIG_arg_fail(1)) SWIG_fail
;
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 result
= (int)(arg1
)->ShowModal();
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_From_int((int)(result
));
24116 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24119 wxPrintDialogData
*result
;
24120 PyObject
* obj0
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24127 if (SWIG_arg_fail(1)) SWIG_fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24132 result
= (wxPrintDialogData
*) &_result_ref
;
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24145 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24147 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24148 wxPrintData
*result
;
24149 PyObject
* obj0
= 0 ;
24150 char *kwnames
[] = {
24151 (char *) "self", NULL
24154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24156 if (SWIG_arg_fail(1)) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24161 result
= (wxPrintData
*) &_result_ref
;
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24174 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24178 PyObject
* obj0
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24185 if (SWIG_arg_fail(1)) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (wxDC
*)(arg1
)->GetPrintDC();
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= wxPyMake_wxObject(result
, 1);
24202 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24205 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24207 return Py_BuildValue((char *)"");
24209 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24213 PyObject
* obj0
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "data", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24221 if (SWIG_arg_fail(1)) SWIG_fail
;
24224 if (!wxPyCheckForApp()) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (wxPrinter
*)new wxPrinter(arg1
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24238 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(1)) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 Py_INCREF(Py_None
); resultobj
= Py_None
;
24263 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24266 wxWindow
*arg2
= (wxWindow
*) 0 ;
24267 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 PyObject
* obj2
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self",(char *) "parent",(char *) "printout", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24278 if (SWIG_arg_fail(1)) SWIG_fail
;
24279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24280 if (SWIG_arg_fail(2)) SWIG_fail
;
24281 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24282 if (SWIG_arg_fail(3)) SWIG_fail
;
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= wxPyMake_wxObject(result
, 0);
24299 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24300 PyObject
*resultobj
;
24301 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24302 wxWindow
*arg2
= (wxWindow
*) 0 ;
24303 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24304 wxString
*arg4
= 0 ;
24305 bool temp4
= false ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 PyObject
* obj2
= 0 ;
24309 PyObject
* obj3
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24316 if (SWIG_arg_fail(1)) SWIG_fail
;
24317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24318 if (SWIG_arg_fail(2)) SWIG_fail
;
24319 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24320 if (SWIG_arg_fail(3)) SWIG_fail
;
24322 arg4
= wxString_in_helper(obj3
);
24323 if (arg4
== NULL
) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 Py_INCREF(Py_None
); resultobj
= Py_None
;
24348 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24351 wxWindow
*arg2
= (wxWindow
*) 0 ;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "parent", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24361 if (SWIG_arg_fail(1)) SWIG_fail
;
24362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24363 if (SWIG_arg_fail(2)) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (bool)(arg1
)->Setup(arg2
);
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24380 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24383 wxWindow
*arg2
= (wxWindow
*) 0 ;
24384 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24385 bool arg4
= (bool) true ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 PyObject
* obj2
= 0 ;
24390 PyObject
* obj3
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24397 if (SWIG_arg_fail(1)) SWIG_fail
;
24398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24399 if (SWIG_arg_fail(2)) SWIG_fail
;
24400 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24401 if (SWIG_arg_fail(3)) SWIG_fail
;
24404 arg4
= (bool)(SWIG_As_bool(obj3
));
24405 if (SWIG_arg_fail(4)) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24424 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24427 wxWindow
*arg2
= (wxWindow
*) 0 ;
24429 PyObject
* obj0
= 0 ;
24430 PyObject
* obj1
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self",(char *) "parent", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24437 if (SWIG_arg_fail(1)) SWIG_fail
;
24438 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24439 if (SWIG_arg_fail(2)) SWIG_fail
;
24441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24442 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24448 resultobj
= wxPyMake_wxObject(result
, 0);
24456 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24459 wxPrintDialogData
*result
;
24460 PyObject
* obj0
= 0 ;
24461 char *kwnames
[] = {
24462 (char *) "self", NULL
24465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24467 if (SWIG_arg_fail(1)) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24472 result
= (wxPrintDialogData
*) &_result_ref
;
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24485 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24496 if (SWIG_arg_fail(1)) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 result
= (bool)(arg1
)->GetAbort();
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24513 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24514 PyObject
*resultobj
;
24515 wxPrinterError result
;
24516 char *kwnames
[] = {
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= (wxPrinterError
)wxPrinter::GetLastError();
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= SWIG_From_int((result
));
24535 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24538 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24540 return Py_BuildValue((char *)"");
24542 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24545 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24546 wxPyPrintout
*result
;
24547 bool temp1
= false ;
24548 PyObject
* obj0
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "title", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24556 arg1
= wxString_in_helper(obj0
);
24557 if (arg1
== NULL
) SWIG_fail
;
24562 if (!wxPyCheckForApp()) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= wxPyMake_wxObject(result
, 1);
24586 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24589 PyObject
*arg2
= (PyObject
*) 0 ;
24590 PyObject
*arg3
= (PyObject
*) 0 ;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 PyObject
* obj2
= 0 ;
24594 char *kwnames
[] = {
24595 (char *) "self",(char *) "self",(char *) "_class", NULL
24598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24600 if (SWIG_arg_fail(1)) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 Py_INCREF(Py_None
); resultobj
= Py_None
;
24617 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24628 if (SWIG_arg_fail(1)) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24649 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24650 PyObject
*resultobj
;
24651 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24653 PyObject
* obj0
= 0 ;
24654 char *kwnames
[] = {
24655 (char *) "self", NULL
24658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24660 if (SWIG_arg_fail(1)) SWIG_fail
;
24662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24663 result
= (wxDC
*)(arg1
)->GetDC();
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24669 resultobj
= wxPyMake_wxObject(result
, 0);
24677 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
;
24679 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24680 wxDC
*arg2
= (wxDC
*) 0 ;
24681 PyObject
* obj0
= 0 ;
24682 PyObject
* obj1
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self",(char *) "dc", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24689 if (SWIG_arg_fail(1)) SWIG_fail
;
24690 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24691 if (SWIG_arg_fail(2)) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 (arg1
)->SetDC(arg2
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 Py_INCREF(Py_None
); resultobj
= Py_None
;
24706 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24711 PyObject
* obj0
= 0 ;
24712 PyObject
* obj1
= 0 ;
24713 PyObject
* obj2
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "w",(char *) "h", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
24723 if (SWIG_arg_fail(2)) SWIG_fail
;
24726 arg3
= (int)(SWIG_As_int(obj2
));
24727 if (SWIG_arg_fail(3)) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 Py_INCREF(Py_None
); resultobj
= Py_None
;
24743 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24746 int *arg2
= (int *) 0 ;
24747 int *arg3
= (int *) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self", NULL
24757 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24758 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24761 if (SWIG_arg_fail(1)) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 Py_INCREF(Py_None
); resultobj
= Py_None
;
24770 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24771 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24772 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24773 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24780 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 PyObject
* obj2
= 0 ;
24788 char *kwnames
[] = {
24789 (char *) "self",(char *) "w",(char *) "h", NULL
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
24797 if (SWIG_arg_fail(2)) SWIG_fail
;
24800 arg3
= (int)(SWIG_As_int(obj2
));
24801 if (SWIG_arg_fail(3)) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 Py_INCREF(Py_None
); resultobj
= Py_None
;
24817 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24820 int *arg2
= (int *) 0 ;
24821 int *arg3
= (int *) 0 ;
24826 PyObject
* obj0
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "self", NULL
24831 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24832 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24835 if (SWIG_arg_fail(1)) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 Py_INCREF(Py_None
); resultobj
= Py_None
;
24844 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24845 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24846 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24847 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24854 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24855 PyObject
*resultobj
;
24856 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24859 PyObject
* obj0
= 0 ;
24860 PyObject
* obj1
= 0 ;
24861 PyObject
* obj2
= 0 ;
24862 char *kwnames
[] = {
24863 (char *) "self",(char *) "x",(char *) "y", NULL
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
24871 if (SWIG_arg_fail(2)) SWIG_fail
;
24874 arg3
= (int)(SWIG_As_int(obj2
));
24875 if (SWIG_arg_fail(3)) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 (arg1
)->SetPPIScreen(arg2
,arg3
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24891 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24894 int *arg2
= (int *) 0 ;
24895 int *arg3
= (int *) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self", NULL
24905 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24906 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24909 if (SWIG_arg_fail(1)) SWIG_fail
;
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 (arg1
)->GetPPIScreen(arg2
,arg3
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24917 Py_INCREF(Py_None
); resultobj
= Py_None
;
24918 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24919 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24920 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24921 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24928 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 PyObject
* obj2
= 0 ;
24936 char *kwnames
[] = {
24937 (char *) "self",(char *) "x",(char *) "y", NULL
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24942 if (SWIG_arg_fail(1)) SWIG_fail
;
24944 arg2
= (int)(SWIG_As_int(obj1
));
24945 if (SWIG_arg_fail(2)) SWIG_fail
;
24948 arg3
= (int)(SWIG_As_int(obj2
));
24949 if (SWIG_arg_fail(3)) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 Py_INCREF(Py_None
); resultobj
= Py_None
;
24965 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24968 int *arg2
= (int *) 0 ;
24969 int *arg3
= (int *) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self", NULL
24979 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24980 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24983 if (SWIG_arg_fail(1)) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24991 Py_INCREF(Py_None
); resultobj
= Py_None
;
24992 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24993 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24994 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24995 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25002 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25003 PyObject
*resultobj
;
25004 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25006 PyObject
* obj0
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25013 if (SWIG_arg_fail(1)) SWIG_fail
;
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (bool)(arg1
)->IsPreview();
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25030 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "p", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25042 if (SWIG_arg_fail(1)) SWIG_fail
;
25044 arg2
= (bool)(SWIG_As_bool(obj1
));
25045 if (SWIG_arg_fail(2)) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->SetIsPreview(arg2
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 Py_INCREF(Py_None
); resultobj
= Py_None
;
25061 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 PyObject
* obj2
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25076 if (SWIG_arg_fail(1)) SWIG_fail
;
25078 arg2
= (int)(SWIG_As_int(obj1
));
25079 if (SWIG_arg_fail(2)) SWIG_fail
;
25082 arg3
= (int)(SWIG_As_int(obj2
));
25083 if (SWIG_arg_fail(3)) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25101 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25104 PyObject
* obj0
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25111 if (SWIG_arg_fail(1)) SWIG_fail
;
25113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 (arg1
)->base_OnEndDocument();
25116 wxPyEndAllowThreads(__tstate
);
25117 if (PyErr_Occurred()) SWIG_fail
;
25119 Py_INCREF(Py_None
); resultobj
= Py_None
;
25126 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25127 PyObject
*resultobj
;
25128 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25129 PyObject
* obj0
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25136 if (SWIG_arg_fail(1)) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 (arg1
)->base_OnBeginPrinting();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 Py_INCREF(Py_None
); resultobj
= Py_None
;
25151 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25154 PyObject
* obj0
= 0 ;
25155 char *kwnames
[] = {
25156 (char *) "self", NULL
25159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25161 if (SWIG_arg_fail(1)) SWIG_fail
;
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 (arg1
)->base_OnEndPrinting();
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25169 Py_INCREF(Py_None
); resultobj
= Py_None
;
25176 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25179 PyObject
* obj0
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25186 if (SWIG_arg_fail(1)) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 (arg1
)->base_OnPreparePrinting();
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 Py_INCREF(Py_None
); resultobj
= Py_None
;
25201 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self",(char *) "page", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25214 if (SWIG_arg_fail(1)) SWIG_fail
;
25216 arg2
= (int)(SWIG_As_int(obj1
));
25217 if (SWIG_arg_fail(2)) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (bool)(arg1
)->base_HasPage(arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25235 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25238 int *arg2
= (int *) 0 ;
25239 int *arg3
= (int *) 0 ;
25240 int *arg4
= (int *) 0 ;
25241 int *arg5
= (int *) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self", NULL
25255 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25256 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25257 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25258 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25261 if (SWIG_arg_fail(1)) SWIG_fail
;
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 Py_INCREF(Py_None
); resultobj
= Py_None
;
25270 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25271 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25272 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25273 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25274 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25275 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25276 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25277 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25284 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25287 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25289 return Py_BuildValue((char *)"");
25291 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
;
25293 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25294 wxWindow
*arg2
= (wxWindow
*) 0 ;
25295 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25296 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25297 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25298 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25299 long arg5
= (long) 0 ;
25300 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25301 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25302 wxPreviewCanvas
*result
;
25305 bool temp6
= false ;
25306 PyObject
* obj0
= 0 ;
25307 PyObject
* obj1
= 0 ;
25308 PyObject
* obj2
= 0 ;
25309 PyObject
* obj3
= 0 ;
25310 PyObject
* obj4
= 0 ;
25311 PyObject
* obj5
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25318 if (SWIG_arg_fail(1)) SWIG_fail
;
25319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25320 if (SWIG_arg_fail(2)) SWIG_fail
;
25324 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25330 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25335 arg5
= (long)(SWIG_As_long(obj4
));
25336 if (SWIG_arg_fail(5)) SWIG_fail
;
25341 arg6
= wxString_in_helper(obj5
);
25342 if (arg6
== NULL
) SWIG_fail
;
25347 if (!wxPyCheckForApp()) SWIG_fail
;
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25369 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25372 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25374 return Py_BuildValue((char *)"");
25376 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25379 wxFrame
*arg2
= (wxFrame
*) 0 ;
25380 wxString
*arg3
= 0 ;
25381 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25382 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25383 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25384 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25385 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25386 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25387 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25388 wxPreviewFrame
*result
;
25389 bool temp3
= false ;
25392 bool temp7
= false ;
25393 PyObject
* obj0
= 0 ;
25394 PyObject
* obj1
= 0 ;
25395 PyObject
* obj2
= 0 ;
25396 PyObject
* obj3
= 0 ;
25397 PyObject
* obj4
= 0 ;
25398 PyObject
* obj5
= 0 ;
25399 PyObject
* obj6
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25406 if (SWIG_arg_fail(1)) SWIG_fail
;
25407 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25408 if (SWIG_arg_fail(2)) SWIG_fail
;
25410 arg3
= wxString_in_helper(obj2
);
25411 if (arg3
== NULL
) SWIG_fail
;
25417 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25423 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25428 arg6
= (long)(SWIG_As_long(obj5
));
25429 if (SWIG_arg_fail(6)) SWIG_fail
;
25434 arg7
= wxString_in_helper(obj6
);
25435 if (arg7
== NULL
) SWIG_fail
;
25440 if (!wxPyCheckForApp()) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25470 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25471 PyObject
*resultobj
;
25472 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25473 PyObject
* obj0
= 0 ;
25474 char *kwnames
[] = {
25475 (char *) "self", NULL
25478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25480 if (SWIG_arg_fail(1)) SWIG_fail
;
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 (arg1
)->Initialize();
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25488 Py_INCREF(Py_None
); resultobj
= Py_None
;
25495 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25498 PyObject
* obj0
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25505 if (SWIG_arg_fail(1)) SWIG_fail
;
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->CreateControlBar();
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 Py_INCREF(Py_None
); resultobj
= Py_None
;
25520 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
;
25522 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25523 PyObject
* obj0
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25530 if (SWIG_arg_fail(1)) SWIG_fail
;
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 (arg1
)->CreateCanvas();
25535 wxPyEndAllowThreads(__tstate
);
25536 if (PyErr_Occurred()) SWIG_fail
;
25538 Py_INCREF(Py_None
); resultobj
= Py_None
;
25545 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25548 wxPreviewControlBar
*result
;
25549 PyObject
* obj0
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25571 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25574 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25576 return Py_BuildValue((char *)"");
25578 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25579 PyObject
*resultobj
;
25580 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25582 wxWindow
*arg3
= (wxWindow
*) 0 ;
25583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25587 long arg6
= (long) wxTAB_TRAVERSAL
;
25588 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25589 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25590 wxPreviewControlBar
*result
;
25593 bool temp7
= false ;
25594 PyObject
* obj0
= 0 ;
25595 PyObject
* obj1
= 0 ;
25596 PyObject
* obj2
= 0 ;
25597 PyObject
* obj3
= 0 ;
25598 PyObject
* obj4
= 0 ;
25599 PyObject
* obj5
= 0 ;
25600 PyObject
* obj6
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25607 if (SWIG_arg_fail(1)) SWIG_fail
;
25609 arg2
= (long)(SWIG_As_long(obj1
));
25610 if (SWIG_arg_fail(2)) SWIG_fail
;
25612 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25613 if (SWIG_arg_fail(3)) SWIG_fail
;
25617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25628 arg6
= (long)(SWIG_As_long(obj5
));
25629 if (SWIG_arg_fail(6)) SWIG_fail
;
25634 arg7
= wxString_in_helper(obj6
);
25635 if (arg7
== NULL
) SWIG_fail
;
25640 if (!wxPyCheckForApp()) SWIG_fail
;
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25662 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25666 PyObject
* obj0
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25673 if (SWIG_arg_fail(1)) SWIG_fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (int)(arg1
)->GetZoomControl();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= SWIG_From_int((int)(result
));
25690 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
;
25692 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self",(char *) "zoom", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25702 if (SWIG_arg_fail(1)) SWIG_fail
;
25704 arg2
= (int)(SWIG_As_int(obj1
));
25705 if (SWIG_arg_fail(2)) SWIG_fail
;
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 (arg1
)->SetZoomControl(arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 Py_INCREF(Py_None
); resultobj
= Py_None
;
25721 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25724 wxPrintPreview
*result
;
25725 PyObject
* obj0
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25732 if (SWIG_arg_fail(1)) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25747 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25750 PyObject
* obj0
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25757 if (SWIG_arg_fail(1)) SWIG_fail
;
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 Py_INCREF(Py_None
); resultobj
= Py_None
;
25772 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25775 PyObject
* obj0
= 0 ;
25776 char *kwnames
[] = {
25777 (char *) "self", NULL
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25782 if (SWIG_arg_fail(1)) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25785 (arg1
)->OnPrevious();
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 Py_INCREF(Py_None
); resultobj
= Py_None
;
25797 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25800 PyObject
* obj0
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25807 if (SWIG_arg_fail(1)) SWIG_fail
;
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25815 Py_INCREF(Py_None
); resultobj
= Py_None
;
25822 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
;
25824 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25825 PyObject
* obj0
= 0 ;
25826 char *kwnames
[] = {
25827 (char *) "self", NULL
25830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25832 if (SWIG_arg_fail(1)) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25840 Py_INCREF(Py_None
); resultobj
= Py_None
;
25847 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
;
25849 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25850 PyObject
* obj0
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25857 if (SWIG_arg_fail(1)) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 Py_INCREF(Py_None
); resultobj
= Py_None
;
25872 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25875 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25877 return Py_BuildValue((char *)"");
25879 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25880 PyObject
*resultobj
;
25881 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25882 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25883 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25884 wxPrintPreview
*result
;
25885 PyObject
* obj0
= 0 ;
25886 PyObject
* obj1
= 0 ;
25887 PyObject
* obj2
= 0 ;
25889 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25891 if (SWIG_arg_fail(1)) SWIG_fail
;
25892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25893 if (SWIG_arg_fail(2)) SWIG_fail
;
25895 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25896 if (SWIG_arg_fail(3)) SWIG_fail
;
25899 if (!wxPyCheckForApp()) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25901 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25913 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25914 PyObject
*resultobj
;
25915 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25916 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25917 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25918 wxPrintPreview
*result
;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 PyObject
* obj2
= 0 ;
25923 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25925 if (SWIG_arg_fail(1)) SWIG_fail
;
25926 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25927 if (SWIG_arg_fail(2)) SWIG_fail
;
25928 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25929 if (SWIG_arg_fail(3)) SWIG_fail
;
25931 if (!wxPyCheckForApp()) SWIG_fail
;
25932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25933 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25945 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25950 argc
= PyObject_Length(args
);
25951 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25952 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25954 if ((argc
>= 2) && (argc
<= 3)) {
25958 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25968 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25977 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25981 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25989 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25998 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26008 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26018 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26026 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26032 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26037 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
;
26039 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26042 PyObject
* obj0
= 0 ;
26043 PyObject
* obj1
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "self",(char *) "pageNum", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26050 if (SWIG_arg_fail(1)) SWIG_fail
;
26052 arg2
= (int)(SWIG_As_int(obj1
));
26053 if (SWIG_arg_fail(2)) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26071 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
;
26073 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26075 PyObject
* obj0
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26082 if (SWIG_arg_fail(1)) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 result
= (int)(arg1
)->GetCurrentPage();
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= SWIG_From_int((int)(result
));
26099 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26102 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26103 PyObject
* obj0
= 0 ;
26104 PyObject
* obj1
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self",(char *) "printout", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26111 if (SWIG_arg_fail(1)) SWIG_fail
;
26112 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26113 if (SWIG_arg_fail(2)) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 (arg1
)->SetPrintout(arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 Py_INCREF(Py_None
); resultobj
= Py_None
;
26128 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26131 wxPyPrintout
*result
;
26132 PyObject
* obj0
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26139 if (SWIG_arg_fail(1)) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26148 resultobj
= wxPyMake_wxObject(result
, 0);
26156 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
;
26158 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26159 wxPyPrintout
*result
;
26160 PyObject
* obj0
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26167 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= wxPyMake_wxObject(result
, 0);
26184 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26187 wxFrame
*arg2
= (wxFrame
*) 0 ;
26188 PyObject
* obj0
= 0 ;
26189 PyObject
* obj1
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self",(char *) "frame", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) 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_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26198 if (SWIG_arg_fail(2)) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 (arg1
)->SetFrame(arg2
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 Py_INCREF(Py_None
); resultobj
= Py_None
;
26213 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26216 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "canvas", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26225 if (SWIG_arg_fail(1)) SWIG_fail
;
26226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26227 if (SWIG_arg_fail(2)) SWIG_fail
;
26229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26230 (arg1
)->SetCanvas(arg2
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 Py_INCREF(Py_None
); resultobj
= Py_None
;
26242 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
;
26244 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26253 if (SWIG_arg_fail(1)) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (wxFrame
*)(arg1
)->GetFrame();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= wxPyMake_wxObject(result
, 0);
26270 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26273 wxPreviewCanvas
*result
;
26274 PyObject
* obj0
= 0 ;
26275 char *kwnames
[] = {
26276 (char *) "self", NULL
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26281 if (SWIG_arg_fail(1)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26296 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26299 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 PyObject
* obj2
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) 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 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26316 if (SWIG_arg_fail(3)) SWIG_fail
;
26317 if (arg3
== NULL
) {
26318 SWIG_null_ref("wxDC");
26320 if (SWIG_arg_fail(3)) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26338 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26341 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 PyObject
* obj2
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26353 if (SWIG_arg_fail(1)) SWIG_fail
;
26354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26355 if (SWIG_arg_fail(2)) SWIG_fail
;
26357 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26358 if (SWIG_arg_fail(3)) SWIG_fail
;
26359 if (arg3
== NULL
) {
26360 SWIG_null_ref("wxDC");
26362 if (SWIG_arg_fail(3)) SWIG_fail
;
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26380 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26381 PyObject
*resultobj
;
26382 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 char *kwnames
[] = {
26388 (char *) "self",(char *) "pageNum", NULL
26391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26393 if (SWIG_arg_fail(1)) SWIG_fail
;
26395 arg2
= (int)(SWIG_As_int(obj1
));
26396 if (SWIG_arg_fail(2)) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (bool)(arg1
)->RenderPage(arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26414 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26416 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26417 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "canvas", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26426 if (SWIG_arg_fail(1)) SWIG_fail
;
26427 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26428 if (SWIG_arg_fail(2)) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->AdjustScrollbars(arg2
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26446 wxPrintDialogData
*result
;
26447 PyObject
* obj0
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26454 if (SWIG_arg_fail(1)) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26458 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26459 result
= (wxPrintDialogData
*) &_result_ref
;
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26472 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26476 PyObject
* obj0
= 0 ;
26477 PyObject
* obj1
= 0 ;
26478 char *kwnames
[] = {
26479 (char *) "self",(char *) "percent", NULL
26482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26484 if (SWIG_arg_fail(1)) SWIG_fail
;
26486 arg2
= (int)(SWIG_As_int(obj1
));
26487 if (SWIG_arg_fail(2)) SWIG_fail
;
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 (arg1
)->SetZoom(arg2
);
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 Py_INCREF(Py_None
); resultobj
= Py_None
;
26503 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26507 PyObject
* obj0
= 0 ;
26508 char *kwnames
[] = {
26509 (char *) "self", NULL
26512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26514 if (SWIG_arg_fail(1)) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (int)(arg1
)->GetZoom();
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= SWIG_From_int((int)(result
));
26531 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26542 if (SWIG_arg_fail(1)) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 result
= (int)(arg1
)->GetMaxPage();
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= SWIG_From_int((int)(result
));
26559 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26563 PyObject
* obj0
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "self", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26570 if (SWIG_arg_fail(1)) SWIG_fail
;
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= (int)(arg1
)->GetMinPage();
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_From_int((int)(result
));
26587 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
;
26589 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26591 PyObject
* obj0
= 0 ;
26592 char *kwnames
[] = {
26593 (char *) "self", NULL
26596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26598 if (SWIG_arg_fail(1)) SWIG_fail
;
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 result
= (bool)(arg1
)->Ok();
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26615 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26619 PyObject
* obj0
= 0 ;
26620 PyObject
* obj1
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self",(char *) "ok", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26627 if (SWIG_arg_fail(1)) SWIG_fail
;
26629 arg2
= (bool)(SWIG_As_bool(obj1
));
26630 if (SWIG_arg_fail(2)) SWIG_fail
;
26633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26634 (arg1
)->SetOk(arg2
);
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 Py_INCREF(Py_None
); resultobj
= Py_None
;
26646 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
;
26648 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 char *kwnames
[] = {
26654 (char *) "self",(char *) "interactive", NULL
26657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26659 if (SWIG_arg_fail(1)) SWIG_fail
;
26661 arg2
= (bool)(SWIG_As_bool(obj1
));
26662 if (SWIG_arg_fail(2)) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (bool)(arg1
)->Print(arg2
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26680 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26681 PyObject
*resultobj
;
26682 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 char *kwnames
[] = {
26685 (char *) "self", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26690 if (SWIG_arg_fail(1)) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->DetermineScaling();
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 Py_INCREF(Py_None
); resultobj
= Py_None
;
26705 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26708 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26710 return Py_BuildValue((char *)"");
26712 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26713 PyObject
*resultobj
;
26714 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26715 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26716 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26717 wxPyPrintPreview
*result
;
26718 PyObject
* obj0
= 0 ;
26719 PyObject
* obj1
= 0 ;
26720 PyObject
* obj2
= 0 ;
26722 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26724 if (SWIG_arg_fail(1)) SWIG_fail
;
26725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26726 if (SWIG_arg_fail(2)) SWIG_fail
;
26728 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26729 if (SWIG_arg_fail(3)) SWIG_fail
;
26732 if (!wxPyCheckForApp()) SWIG_fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26746 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26747 PyObject
*resultobj
;
26748 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26749 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26750 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26751 wxPyPrintPreview
*result
;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 PyObject
* obj2
= 0 ;
26756 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26758 if (SWIG_arg_fail(1)) SWIG_fail
;
26759 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26760 if (SWIG_arg_fail(2)) SWIG_fail
;
26761 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26762 if (SWIG_arg_fail(3)) SWIG_fail
;
26764 if (!wxPyCheckForApp()) SWIG_fail
;
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26778 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26783 argc
= PyObject_Length(args
);
26784 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26785 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26787 if ((argc
>= 2) && (argc
<= 3)) {
26791 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26801 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26810 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26814 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26822 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26831 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26841 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26851 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26859 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26865 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26870 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26871 PyObject
*resultobj
;
26872 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26873 PyObject
*arg2
= (PyObject
*) 0 ;
26874 PyObject
*arg3
= (PyObject
*) 0 ;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 PyObject
* obj2
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self",(char *) "self",(char *) "_class", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(1)) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26894 Py_INCREF(Py_None
); resultobj
= Py_None
;
26901 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "pageNum", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26916 arg2
= (int)(SWIG_As_int(obj1
));
26917 if (SWIG_arg_fail(2)) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26935 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26938 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 PyObject
* obj2
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26950 if (SWIG_arg_fail(1)) SWIG_fail
;
26951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26952 if (SWIG_arg_fail(2)) SWIG_fail
;
26954 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26955 if (SWIG_arg_fail(3)) SWIG_fail
;
26956 if (arg3
== NULL
) {
26957 SWIG_null_ref("wxDC");
26959 if (SWIG_arg_fail(3)) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26977 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26980 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 PyObject
* obj2
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26992 if (SWIG_arg_fail(1)) SWIG_fail
;
26993 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26994 if (SWIG_arg_fail(2)) SWIG_fail
;
26996 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26997 if (SWIG_arg_fail(3)) SWIG_fail
;
26998 if (arg3
== NULL
) {
26999 SWIG_null_ref("wxDC");
27001 if (SWIG_arg_fail(3)) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27019 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char *kwnames
[] = {
27027 (char *) "self",(char *) "pageNum", NULL
27030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27032 if (SWIG_arg_fail(1)) SWIG_fail
;
27034 arg2
= (int)(SWIG_As_int(obj1
));
27035 if (SWIG_arg_fail(2)) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27053 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self",(char *) "percent", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27065 if (SWIG_arg_fail(1)) SWIG_fail
;
27067 arg2
= (int)(SWIG_As_int(obj1
));
27068 if (SWIG_arg_fail(2)) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 (arg1
)->base_SetZoom(arg2
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 Py_INCREF(Py_None
); resultobj
= Py_None
;
27084 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27085 PyObject
*resultobj
;
27086 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 char *kwnames
[] = {
27092 (char *) "self",(char *) "interactive", NULL
27095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27097 if (SWIG_arg_fail(1)) SWIG_fail
;
27099 arg2
= (bool)(SWIG_As_bool(obj1
));
27100 if (SWIG_arg_fail(2)) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (bool)(arg1
)->base_Print(arg2
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27118 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 (arg1
)->base_DetermineScaling();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 Py_INCREF(Py_None
); resultobj
= Py_None
;
27143 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27146 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27148 return Py_BuildValue((char *)"");
27150 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27153 wxFrame
*arg2
= (wxFrame
*) 0 ;
27154 wxString
*arg3
= 0 ;
27155 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27156 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27157 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27158 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27159 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27160 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27161 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27162 wxPyPreviewFrame
*result
;
27163 bool temp3
= false ;
27166 bool temp7
= false ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 PyObject
* obj2
= 0 ;
27170 PyObject
* obj3
= 0 ;
27171 PyObject
* obj4
= 0 ;
27172 PyObject
* obj5
= 0 ;
27173 PyObject
* obj6
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27180 if (SWIG_arg_fail(1)) SWIG_fail
;
27181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27182 if (SWIG_arg_fail(2)) SWIG_fail
;
27184 arg3
= wxString_in_helper(obj2
);
27185 if (arg3
== NULL
) SWIG_fail
;
27191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27202 arg6
= (long)(SWIG_As_long(obj5
));
27203 if (SWIG_arg_fail(6)) SWIG_fail
;
27208 arg7
= wxString_in_helper(obj6
);
27209 if (arg7
== NULL
) SWIG_fail
;
27214 if (!wxPyCheckForApp()) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27244 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27247 PyObject
*arg2
= (PyObject
*) 0 ;
27248 PyObject
*arg3
= (PyObject
*) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj1
= 0 ;
27251 PyObject
* obj2
= 0 ;
27252 char *kwnames
[] = {
27253 (char *) "self",(char *) "self",(char *) "_class", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27258 if (SWIG_arg_fail(1)) SWIG_fail
;
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 Py_INCREF(Py_None
); resultobj
= Py_None
;
27275 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27276 PyObject
*resultobj
;
27277 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27278 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27279 PyObject
* obj0
= 0 ;
27280 PyObject
* obj1
= 0 ;
27281 char *kwnames
[] = {
27282 (char *) "self",(char *) "canvas", NULL
27285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27287 if (SWIG_arg_fail(1)) SWIG_fail
;
27288 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27289 if (SWIG_arg_fail(2)) SWIG_fail
;
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 (arg1
)->SetPreviewCanvas(arg2
);
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 Py_INCREF(Py_None
); resultobj
= Py_None
;
27304 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
;
27306 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27307 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27308 PyObject
* obj0
= 0 ;
27309 PyObject
* obj1
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self",(char *) "bar", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27316 if (SWIG_arg_fail(1)) SWIG_fail
;
27317 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27318 if (SWIG_arg_fail(2)) SWIG_fail
;
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27321 (arg1
)->SetControlBar(arg2
);
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 Py_INCREF(Py_None
); resultobj
= Py_None
;
27333 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
;
27335 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27336 PyObject
* obj0
= 0 ;
27337 char *kwnames
[] = {
27338 (char *) "self", NULL
27341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27343 if (SWIG_arg_fail(1)) SWIG_fail
;
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 (arg1
)->base_Initialize();
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 Py_INCREF(Py_None
); resultobj
= Py_None
;
27358 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
;
27360 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27361 PyObject
* obj0
= 0 ;
27362 char *kwnames
[] = {
27363 (char *) "self", NULL
27366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27368 if (SWIG_arg_fail(1)) SWIG_fail
;
27370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27371 (arg1
)->base_CreateCanvas();
27373 wxPyEndAllowThreads(__tstate
);
27374 if (PyErr_Occurred()) SWIG_fail
;
27376 Py_INCREF(Py_None
); resultobj
= Py_None
;
27383 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27386 PyObject
* obj0
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27393 if (SWIG_arg_fail(1)) SWIG_fail
;
27395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 (arg1
)->base_CreateControlBar();
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 Py_INCREF(Py_None
); resultobj
= Py_None
;
27408 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27411 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27413 return Py_BuildValue((char *)"");
27415 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27419 wxWindow
*arg3
= (wxWindow
*) 0 ;
27420 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27421 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27422 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27423 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27424 long arg6
= (long) 0 ;
27425 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27426 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27427 wxPyPreviewControlBar
*result
;
27430 bool temp7
= false ;
27431 PyObject
* obj0
= 0 ;
27432 PyObject
* obj1
= 0 ;
27433 PyObject
* obj2
= 0 ;
27434 PyObject
* obj3
= 0 ;
27435 PyObject
* obj4
= 0 ;
27436 PyObject
* obj5
= 0 ;
27437 PyObject
* obj6
= 0 ;
27438 char *kwnames
[] = {
27439 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27444 if (SWIG_arg_fail(1)) SWIG_fail
;
27446 arg2
= (long)(SWIG_As_long(obj1
));
27447 if (SWIG_arg_fail(2)) SWIG_fail
;
27449 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27450 if (SWIG_arg_fail(3)) SWIG_fail
;
27454 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27460 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27465 arg6
= (long)(SWIG_As_long(obj5
));
27466 if (SWIG_arg_fail(6)) SWIG_fail
;
27471 arg7
= wxString_in_helper(obj6
);
27472 if (arg7
== NULL
) SWIG_fail
;
27477 if (!wxPyCheckForApp()) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27499 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27502 PyObject
*arg2
= (PyObject
*) 0 ;
27503 PyObject
*arg3
= (PyObject
*) 0 ;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 PyObject
* obj2
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self",(char *) "self",(char *) "_class", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27513 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 Py_INCREF(Py_None
); resultobj
= Py_None
;
27530 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27533 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 PyObject
* obj1
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self",(char *) "preview", NULL
27540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27542 if (SWIG_arg_fail(1)) SWIG_fail
;
27543 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27544 if (SWIG_arg_fail(2)) SWIG_fail
;
27546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27547 (arg1
)->SetPrintPreview(arg2
);
27549 wxPyEndAllowThreads(__tstate
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27552 Py_INCREF(Py_None
); resultobj
= Py_None
;
27559 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 char *kwnames
[] = {
27564 (char *) "self", NULL
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27569 if (SWIG_arg_fail(1)) SWIG_fail
;
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 (arg1
)->base_CreateButtons();
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 Py_INCREF(Py_None
); resultobj
= Py_None
;
27584 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
;
27586 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27588 PyObject
* obj0
= 0 ;
27589 PyObject
* obj1
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self",(char *) "zoom", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27596 if (SWIG_arg_fail(1)) SWIG_fail
;
27598 arg2
= (int)(SWIG_As_int(obj1
));
27599 if (SWIG_arg_fail(2)) SWIG_fail
;
27602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27603 (arg1
)->base_SetZoomControl(arg2
);
27605 wxPyEndAllowThreads(__tstate
);
27606 if (PyErr_Occurred()) SWIG_fail
;
27608 Py_INCREF(Py_None
); resultobj
= Py_None
;
27615 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27618 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27620 return Py_BuildValue((char *)"");
27622 static PyMethodDef SwigMethods
[] = {
27623 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27631 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27646 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27647 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27654 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27672 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27696 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27709 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27713 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27717 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27722 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27739 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27769 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27776 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27799 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27807 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27819 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27825 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27834 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27840 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27845 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27851 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27855 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27875 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27901 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27909 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27918 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27920 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27929 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27932 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27939 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27957 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27961 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27966 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27970 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27972 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27988 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27991 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27993 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27997 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28006 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28015 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28021 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28033 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28040 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28044 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28069 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28094 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28119 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28120 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28167 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28168 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28201 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28206 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28207 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28240 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28246 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28257 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28280 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28282 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28288 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28298 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28299 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28322 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28323 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28332 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28340 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28346 { NULL
, NULL
, 0, NULL
}
28350 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28352 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28353 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28355 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28356 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28358 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28359 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28361 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28362 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28364 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28365 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28367 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28368 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28370 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28371 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28373 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28374 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28376 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28377 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28379 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28380 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28382 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28383 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28385 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28386 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28388 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28389 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28391 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28392 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28394 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28395 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28397 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28400 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28401 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28403 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28404 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28406 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28407 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28409 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28410 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28412 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28413 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28415 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28416 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28418 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28419 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28421 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28422 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28424 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28425 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28427 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28428 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28430 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28431 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28433 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28434 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28436 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28437 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28439 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28440 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28442 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28443 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28445 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28446 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28448 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28449 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28451 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28452 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28454 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28455 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28457 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28458 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28460 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28461 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28463 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28464 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28466 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28467 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28469 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28470 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28472 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28473 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28475 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28476 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28478 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28479 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28481 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28482 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28484 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28485 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28487 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28490 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28493 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28496 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28497 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28499 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28500 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28502 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28503 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28505 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28506 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28508 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28509 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28511 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28512 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28514 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28515 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28517 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28518 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28520 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28521 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28523 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28524 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28526 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28527 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28529 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28530 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28532 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28533 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28535 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28536 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28538 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28539 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28541 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28542 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28544 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28545 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28547 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28548 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28550 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28551 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28553 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28554 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28556 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28557 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28559 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28560 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28562 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28563 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28565 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28566 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28568 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28569 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28571 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28572 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28574 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28575 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28577 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28578 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28580 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28581 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28583 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28584 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28586 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28589 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28590 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28592 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28595 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28596 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28598 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28601 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28602 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28604 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28605 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28607 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28608 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28610 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28611 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28613 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28614 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28616 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28617 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28619 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28620 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28622 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28623 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28625 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28626 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28628 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28629 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28631 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28632 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28634 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28635 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28637 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28638 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28640 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28641 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28643 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28644 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28646 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28647 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28649 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28650 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28652 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28653 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28655 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28656 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28658 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28659 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28661 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28662 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28664 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28667 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28670 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28671 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28673 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28674 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28676 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28677 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28679 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28680 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28682 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28683 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28685 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28686 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28688 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28689 return (void *)((wxObject
*) ((wxSizer
*) x
));
28691 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28692 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28694 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28695 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28697 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28700 static void *_p_wxEventTo_p_wxObject(void *x
) {
28701 return (void *)((wxObject
*) ((wxEvent
*) x
));
28703 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28704 return (void *)((wxObject
*) ((wxFontData
*) x
));
28706 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28707 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28709 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28710 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28712 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28713 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28715 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28716 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28718 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28719 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28721 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28722 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28724 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28727 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28728 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28730 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28731 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28733 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28734 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28736 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28737 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28739 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28740 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28742 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28743 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28745 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28748 static void *_p_wxControlTo_p_wxObject(void *x
) {
28749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28751 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28752 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28754 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28755 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28757 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28758 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28760 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28761 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28763 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28764 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28766 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28769 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28770 return (void *)((wxObject
*) ((wxColourData
*) x
));
28772 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28773 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28775 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28776 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28778 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28779 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28781 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28784 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28787 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28790 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28791 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28793 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28796 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28797 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28799 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28802 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28805 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28808 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28809 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28811 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28812 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28814 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28815 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28817 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28818 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28820 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28821 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28823 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28826 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28827 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28829 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28830 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28832 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28833 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28835 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28836 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28838 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28839 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28841 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28842 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28844 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28845 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28847 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28848 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28850 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28851 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28853 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28854 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28856 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28857 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28859 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28860 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28862 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28863 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28865 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28866 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28868 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28869 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28871 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28874 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28875 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28877 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28880 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28881 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28883 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28884 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28886 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28887 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28889 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28892 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28893 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28895 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28896 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28898 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28901 static void *_p_wxImageTo_p_wxObject(void *x
) {
28902 return (void *)((wxObject
*) ((wxImage
*) x
));
28904 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28905 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28907 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28908 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28910 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28911 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28913 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28914 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28916 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28919 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28922 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28925 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28926 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28928 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28929 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28931 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28932 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28934 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28935 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28937 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28940 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28943 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28946 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28949 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28952 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28955 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28958 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28961 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28964 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28967 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28970 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28973 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28976 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28979 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28980 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28982 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28983 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28985 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28986 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28988 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28991 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28994 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28997 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29000 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29001 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29003 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29004 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29006 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29007 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29009 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29012 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29013 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29015 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29018 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29019 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29021 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29022 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29024 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29025 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29027 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29030 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29033 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29036 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29039 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29042 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29045 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29048 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29051 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29054 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29057 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29060 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29063 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29064 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29066 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29067 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29069 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29070 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29072 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29073 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29075 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29076 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29078 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29079 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29081 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29082 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29084 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29085 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29087 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29088 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29090 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29091 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29093 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29094 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29096 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29097 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29099 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29100 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29102 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29103 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29105 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29106 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29108 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29109 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29111 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29112 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29114 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29115 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29117 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29118 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29120 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29121 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29123 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29124 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29126 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29127 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29129 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29130 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29132 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29133 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29135 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29136 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29138 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29139 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29141 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29142 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29144 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29145 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29147 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29148 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29150 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29151 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29153 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29154 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29156 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29157 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29159 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29160 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29162 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29163 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29165 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29166 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29168 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29169 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29171 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29174 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29175 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29177 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29178 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29180 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29181 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29183 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29184 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29186 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29187 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29189 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29190 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29192 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29193 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29195 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29196 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29198 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29199 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29201 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29202 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29204 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29205 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29207 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29208 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29210 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29211 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29213 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29214 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29216 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29217 return (void *)((wxWindow
*) ((wxControl
*) x
));
29219 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29220 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29222 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29223 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29225 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29226 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29228 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29229 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29231 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29232 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29234 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29235 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29237 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29238 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29240 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29241 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29243 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29244 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29246 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29247 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29249 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29250 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29252 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29253 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29255 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29258 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29261 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29262 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29264 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29265 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29267 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29268 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29270 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29271 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29273 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29274 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29276 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29277 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29279 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29280 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29282 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29283 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29285 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29286 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29288 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29289 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29291 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29292 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29294 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29295 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29297 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29298 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29300 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29301 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29303 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29304 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29306 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29307 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29309 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29310 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29312 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29313 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29315 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29316 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29318 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29319 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29321 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29322 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29324 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29325 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29327 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29328 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29330 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29331 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29333 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29334 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29336 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29337 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29339 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29340 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29342 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29343 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29345 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29346 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29348 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29349 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29351 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29352 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29354 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29355 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29357 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29358 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29360 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29361 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29363 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29364 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29366 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29367 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29369 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29370 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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_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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29438 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},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29439 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}};
29440 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_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_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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}};
29441 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 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}};
29470 static swig_type_info
*swig_types_initial
[] = {
29471 _swigt__p_wxQueryLayoutInfoEvent
,
29472 _swigt__p_wxPreviewFrame
,
29473 _swigt__p_wxPyPreviewFrame
,
29474 _swigt__p_wxPyPanel
,
29476 _swigt__p_wxFontData
,
29478 _swigt__p_wxPrintData
,
29479 _swigt__p_wxTaskBarIcon
,
29480 _swigt__p_wxPyTaskBarIcon
,
29481 _swigt__p_wxIconBundle
,
29482 _swigt__p_wxLayoutAlgorithm
,
29483 _swigt__p_wxFindDialogEvent
,
29484 _swigt__p_wxPreviewCanvas
,
29486 _swigt__p_wxSplitterEvent
,
29487 _swigt__p_wxRegion
,
29489 _swigt__std__ptrdiff_t
,
29490 _swigt__p_wxFindReplaceData
,
29495 _swigt__p_wxVisualAttributes
,
29496 _swigt__p_wxMDIChildFrame
,
29497 _swigt__p_wxColourData
,
29498 _swigt__p_wxNotifyEvent
,
29499 _swigt__p_wxPyWindow
,
29500 _swigt__p_form_ops_t
,
29501 _swigt__p_wxSplashScreen
,
29502 _swigt__p_wxPasswordEntryDialog
,
29503 _swigt__p_wxSingleChoiceDialog
,
29504 _swigt__p_wxMultiChoiceDialog
,
29505 _swigt__p_wxFileDialog
,
29506 _swigt__p_wxTextEntryDialog
,
29507 _swigt__p_wxMessageDialog
,
29508 _swigt__p_wxProgressDialog
,
29509 _swigt__p_wxFindReplaceDialog
,
29510 _swigt__p_wxPrinter
,
29511 _swigt__p_wxArrayInt
,
29512 _swigt__p_wxDuplexMode
,
29513 _swigt__p_wxEvtHandler
,
29514 _swigt__p_wxCalculateLayoutEvent
,
29515 _swigt__p_wxPyHtmlListBox
,
29516 _swigt__p_wxPyVListBox
,
29518 _swigt__p_wxStdDialogButtonSizer
,
29520 _swigt__p_wxMiniFrame
,
29522 _swigt__p_wxPyPrintout
,
29523 _swigt__p_wxTaskBarIconEvent
,
29524 _swigt__p_wxScrollWinEvent
,
29525 _swigt__p_wxPaperSize
,
29526 _swigt__p_wxStatusBar
,
29527 _swigt__p_wxMDIParentFrame
,
29529 _swigt__p_wxObject
,
29530 _swigt__p_unsigned_long
,
29531 _swigt__p_wxTipWindow
,
29532 _swigt__p_wxSashLayoutWindow
,
29533 _swigt__p_wxSplitterWindow
,
29534 _swigt__p_wxSplashScreenWindow
,
29535 _swigt__p_wxPyVScrolledWindow
,
29536 _swigt__p_wxPyPopupTransientWindow
,
29537 _swigt__p_wxPopupWindow
,
29538 _swigt__p_wxSashWindow
,
29539 _swigt__p_wxTopLevelWindow
,
29540 _swigt__p_wxWindow
,
29541 _swigt__p_wxScrolledWindow
,
29542 _swigt__p_wxMenuBar
,
29543 _swigt__p_wxMDIClientWindow
,
29544 _swigt__p_wxPyScrolledWindow
,
29545 _swigt__p_wxPrintPreview
,
29546 _swigt__p_wxSashEvent
,
29547 _swigt__p_wxString
,
29548 _swigt__p_wxPyPrintPreview
,
29549 _swigt__p_wxDirDialog
,
29550 _swigt__p_wxColourDialog
,
29551 _swigt__p_wxDialog
,
29553 _swigt__p_wxFontDialog
,
29554 _swigt__p_wxPageSetupDialog
,
29555 _swigt__p_wxPrintDialog
,
29556 _swigt__p_wxFileSystem
,
29557 _swigt__p_wxBitmap
,
29558 _swigt__unsigned_int
,
29559 _swigt__p_unsigned_int
,
29560 _swigt__p_unsigned_char
,
29561 _swigt__p_wxCommandEvent
,
29562 _swigt__p_wxPreviewControlBar
,
29563 _swigt__p_wxPyPreviewControlBar
,
29564 _swigt__p_wxColour
,
29565 _swigt__p_wxToolBar
,
29566 _swigt__p_wxPageSetupDialogData
,
29567 _swigt__p_wxPrintDialogData
,
29572 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29574 static swig_const_info swig_const_table
[] = {
29575 {0, 0, 0, 0.0, 0, 0}};
29586 /* Python-specific SWIG API */
29587 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29588 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29589 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29591 /* -----------------------------------------------------------------------------
29592 * global variable support code.
29593 * ----------------------------------------------------------------------------- */
29595 typedef struct swig_globalvar
{
29596 char *name
; /* Name of global variable */
29597 PyObject
*(*get_attr
)(); /* Return the current value */
29598 int (*set_attr
)(PyObject
*); /* Set the value */
29599 struct swig_globalvar
*next
;
29602 typedef struct swig_varlinkobject
{
29604 swig_globalvar
*vars
;
29605 } swig_varlinkobject
;
29608 swig_varlink_repr(swig_varlinkobject
*v
) {
29610 return PyString_FromString("<Swig global variables>");
29614 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29615 swig_globalvar
*var
;
29617 fprintf(fp
,"Swig global variables { ");
29618 for (var
= v
->vars
; var
; var
=var
->next
) {
29619 fprintf(fp
,"%s", var
->name
);
29620 if (var
->next
) fprintf(fp
,", ");
29622 fprintf(fp
," }\n");
29627 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29628 swig_globalvar
*var
= v
->vars
;
29630 if (strcmp(var
->name
,n
) == 0) {
29631 return (*var
->get_attr
)();
29635 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29640 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29641 swig_globalvar
*var
= v
->vars
;
29643 if (strcmp(var
->name
,n
) == 0) {
29644 return (*var
->set_attr
)(p
);
29648 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29652 static PyTypeObject varlinktype
= {
29653 PyObject_HEAD_INIT(0)
29654 0, /* Number of items in variable part (ob_size) */
29655 (char *)"swigvarlink", /* Type name (tp_name) */
29656 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29657 0, /* Itemsize (tp_itemsize) */
29658 0, /* Deallocator (tp_dealloc) */
29659 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29660 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29661 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29662 0, /* tp_compare */
29663 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29664 0, /* tp_as_number */
29665 0, /* tp_as_sequence */
29666 0, /* tp_as_mapping */
29670 0, /* tp_getattro */
29671 0, /* tp_setattro */
29672 0, /* tp_as_buffer */
29675 #if PY_VERSION_HEX >= 0x02000000
29676 0, /* tp_traverse */
29679 #if PY_VERSION_HEX >= 0x02010000
29680 0, /* tp_richcompare */
29681 0, /* tp_weaklistoffset */
29683 #if PY_VERSION_HEX >= 0x02020000
29684 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29686 #if PY_VERSION_HEX >= 0x02030000
29689 #ifdef COUNT_ALLOCS
29690 0,0,0,0 /* tp_alloc -> tp_next */
29694 /* Create a variable linking object for use later */
29696 SWIG_Python_newvarlink(void) {
29697 swig_varlinkobject
*result
= 0;
29698 result
= PyMem_NEW(swig_varlinkobject
,1);
29699 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29700 result
->ob_type
= &varlinktype
;
29702 result
->ob_refcnt
= 0;
29703 Py_XINCREF((PyObject
*) result
);
29704 return ((PyObject
*) result
);
29708 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29709 swig_varlinkobject
*v
;
29710 swig_globalvar
*gv
;
29711 v
= (swig_varlinkobject
*) p
;
29712 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29713 gv
->name
= (char *) malloc(strlen(name
)+1);
29714 strcpy(gv
->name
,name
);
29715 gv
->get_attr
= get_attr
;
29716 gv
->set_attr
= set_attr
;
29717 gv
->next
= v
->vars
;
29721 /* -----------------------------------------------------------------------------
29722 * constants/methods manipulation
29723 * ----------------------------------------------------------------------------- */
29725 /* Install Constants */
29727 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29730 for (i
= 0; constants
[i
].type
; i
++) {
29731 switch(constants
[i
].type
) {
29733 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29735 case SWIG_PY_FLOAT
:
29736 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29738 case SWIG_PY_STRING
:
29739 if (constants
[i
].pvalue
) {
29740 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29742 Py_INCREF(Py_None
);
29746 case SWIG_PY_POINTER
:
29747 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29749 case SWIG_PY_BINARY
:
29750 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29757 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29763 /* -----------------------------------------------------------------------------*/
29764 /* Fix SwigMethods to carry the callback ptrs when needed */
29765 /* -----------------------------------------------------------------------------*/
29768 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29769 swig_const_info
*const_table
,
29770 swig_type_info
**types
,
29771 swig_type_info
**types_initial
) {
29773 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29774 char *c
= methods
[i
].ml_doc
;
29775 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29777 swig_const_info
*ci
= 0;
29778 char *name
= c
+ 10;
29779 for (j
= 0; const_table
[j
].type
; j
++) {
29780 if (strncmp(const_table
[j
].name
, name
,
29781 strlen(const_table
[j
].name
)) == 0) {
29782 ci
= &(const_table
[j
]);
29787 size_t shift
= (ci
->ptype
) - types
;
29788 swig_type_info
*ty
= types_initial
[shift
];
29789 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29790 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29791 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29793 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29794 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29796 strncpy(buff
, "swig_ptr: ", 10);
29798 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29799 methods
[i
].ml_doc
= ndoc
;
29805 /* -----------------------------------------------------------------------------*
29806 * Initialize type list
29807 * -----------------------------------------------------------------------------*/
29809 #if PY_MAJOR_VERSION < 2
29810 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29811 is copied out of Python/modsupport.c in python version 2.3.4 */
29813 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29816 if (!PyModule_Check(m
)) {
29817 PyErr_SetString(PyExc_TypeError
,
29818 "PyModule_AddObject() needs module as first arg");
29822 PyErr_SetString(PyExc_TypeError
,
29823 "PyModule_AddObject() needs non-NULL value");
29827 dict
= PyModule_GetDict(m
);
29828 if (dict
== NULL
) {
29829 /* Internal error -- modules must have a dict! */
29830 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29831 PyModule_GetName(m
));
29834 if (PyDict_SetItemString(dict
, name
, o
))
29841 static swig_type_info
**
29842 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29843 static PyMethodDef swig_empty_runtime_method_table
[] = {
29845 NULL
, NULL
, 0, NULL
29849 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29850 swig_empty_runtime_method_table
);
29851 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29852 if (pointer
&& module) {
29853 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29855 return type_list_handle
;
29858 static swig_type_info
**
29859 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29860 swig_type_info
**type_pointer
;
29862 /* first check if module already created */
29863 type_pointer
= SWIG_Python_GetTypeListHandle();
29864 if (type_pointer
) {
29865 return type_pointer
;
29867 /* create a new module and variable */
29868 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29876 /* -----------------------------------------------------------------------------*
29877 * Partial Init method
29878 * -----------------------------------------------------------------------------*/
29880 #ifdef SWIG_LINK_RUNTIME
29884 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29890 SWIGEXPORT(void) SWIG_init(void) {
29891 static PyObject
*SWIG_globals
= 0;
29892 static int typeinit
= 0;
29895 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29897 /* Fix SwigMethods to carry the callback ptrs when needed */
29898 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29900 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29901 d
= PyModule_GetDict(m
);
29904 #ifdef SWIG_LINK_RUNTIME
29905 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29907 # ifndef SWIG_STATIC_RUNTIME
29908 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29911 for (i
= 0; swig_types_initial
[i
]; i
++) {
29912 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29916 SWIG_InstallConstants(d
,swig_const_table
);
29918 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29919 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29920 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29921 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29922 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29924 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29927 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29930 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29933 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29936 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29939 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29942 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29945 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29948 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29951 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29954 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29957 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29960 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29963 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29966 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29969 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29972 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29975 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29978 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29981 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29984 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29987 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29990 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int((int)(wxFRAME_EX_METAL
)));
29993 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int((int)(wxDIALOG_EX_METAL
)));
29996 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29999 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
30002 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
30005 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
30008 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
30011 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
30014 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
30017 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
30020 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
30023 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
30026 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
30029 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
30032 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
30035 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
30038 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
30041 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
30044 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
30047 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
30050 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
30053 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
30056 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
30058 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30060 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
30063 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
30066 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
30069 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
30072 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
30075 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
30078 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
30081 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
30084 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30087 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30090 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30093 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30096 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30099 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30101 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30102 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30103 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30104 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30105 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30106 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30108 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30111 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30114 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30117 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30120 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30123 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30126 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30129 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30132 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30135 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30138 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30141 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30144 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30147 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30150 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30152 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30154 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30157 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30160 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30163 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30166 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30169 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30172 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30175 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30178 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30181 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30184 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30186 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30187 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30188 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30190 // Map renamed classes back to their common name for OOR
30191 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30192 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30193 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30195 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30196 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30197 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30198 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30199 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30200 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30201 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30202 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30203 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30204 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30205 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30206 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30207 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30209 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30212 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30214 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30216 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30219 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30222 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30225 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30228 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30231 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30234 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30236 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30237 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30238 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30239 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30240 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30242 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30245 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30248 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30251 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30254 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30257 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30260 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int((int)(4006)));
30263 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30266 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30268 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30269 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30271 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30274 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30277 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30280 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30283 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30286 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30289 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30292 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30295 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30298 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30301 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30304 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30307 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30310 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30313 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30316 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30319 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30322 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30325 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30328 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30331 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30334 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30337 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30340 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30343 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30346 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30349 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30352 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30355 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30358 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30361 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30364 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30367 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30370 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30373 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30376 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30379 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30382 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30385 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30388 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");