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 * ----------------------------------------------------------------------------- */
12 #define SWIG_VERSION 0x010327
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /***********************************************************************
32 * This section contains generic SWIG labels for method/variable
33 * declarations/attributes, and other compiler dependent labels.
35 ************************************************************************/
37 /* template workaround for compilers that cannot correctly implement the C++ standard */
38 #ifndef SWIGTEMPLATEDISAMBIGUATOR
39 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
40 # define SWIGTEMPLATEDISAMBIGUATOR template
42 # define SWIGTEMPLATEDISAMBIGUATOR
46 /* inline attribute */
48 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
49 # define SWIGINLINE inline
55 /* attribute recognised by some compilers to avoid 'unused' warnings */
57 # if defined(__GNUC__) || defined(__ICC)
58 # define SWIGUNUSED __attribute__ ((unused))
64 /* internal SWIG method */
66 # define SWIGINTERN static SWIGUNUSED
69 /* internal inline SWIG method */
70 #ifndef SWIGINTERNINLINE
71 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
74 /* exporting methods for Windows DLLs */
76 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
77 # if defined(STATIC_LINKED)
80 # define SWIGEXPORT __declspec(dllexport)
87 /* calling conventions for Windows */
89 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
90 # define SWIGSTDCALL __stdcall
100 /***********************************************************************
103 * This file contains generic CAPI SWIG runtime support for pointer
106 ************************************************************************/
108 /* This should only be incremented when either the layout of swig_type_info changes,
109 or for whatever reason, the runtime changes incompatibly */
110 #define SWIG_RUNTIME_VERSION "2"
112 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
113 #ifdef SWIG_TYPE_TABLE
114 # define SWIG_QUOTE_STRING(x) #x
115 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
116 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
118 # define SWIG_TYPE_TABLE_NAME
122 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
123 creating a static or dynamic library from the swig runtime code.
124 In 99.9% of the cases, swig just needs to declare them as 'static'.
126 But only do this if is strictly necessary, ie, if you have problems
127 with your compiler or so.
131 # define SWIGRUNTIME SWIGINTERN
134 #ifndef SWIGRUNTIMEINLINE
135 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
144 typedef void *(*swig_converter_func
)(void *);
145 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
147 /* Structure to store inforomation on one type */
148 typedef struct swig_type_info
{
149 const char *name
; /* mangled name of this type */
150 const char *str
; /* human readable name of this type */
151 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
152 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
153 void *clientdata
; /* language specific type data */
156 /* Structure to store a type and conversion function used for casting */
157 typedef struct swig_cast_info
{
158 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
159 swig_converter_func converter
; /* function to cast the void pointers */
160 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
161 struct swig_cast_info
*prev
; /* pointer to the previous cast */
164 /* Structure used to store module information
165 * Each module generates one structure like this, and the runtime collects
166 * all of these structures and stores them in a circularly linked list.*/
167 typedef struct swig_module_info
{
168 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
169 size_t size
; /* Number of types in this module */
170 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
171 swig_type_info
**type_initial
; /* Array of initially generated type structures */
172 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
173 void *clientdata
; /* Language specific module data */
178 Compare two type names skipping the space characters, therefore
179 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
181 Return 0 when the two name types are equivalent, as in
182 strncmp, but skipping ' '.
185 SWIG_TypeNameComp(const char *f1
, const char *l1
,
186 const char *f2
, const char *l2
) {
187 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
188 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
189 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
190 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
192 return (l1
- f1
) - (l2
- f2
);
196 Check type equivalence in a name list like <name1>|<name2>|...
197 Return 0 if not equal, 1 if equal
200 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
202 const char* te
= tb
+ strlen(tb
);
204 while (!equiv
&& *ne
) {
205 for (nb
= ne
; *ne
; ++ne
) {
206 if (*ne
== '|') break;
208 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
215 Check type equivalence in a name list like <name1>|<name2>|...
216 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
219 SWIG_TypeCompare(const char *nb
, const char *tb
) {
221 const char* te
= tb
+ strlen(tb
);
223 while (!equiv
&& *ne
) {
224 for (nb
= ne
; *ne
; ++ne
) {
225 if (*ne
== '|') break;
227 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
234 /* think of this as a c++ template<> or a scheme macro */
235 #define SWIG_TypeCheck_Template(comparison, ty) \
237 swig_cast_info *iter = ty->cast; \
240 if (iter == ty->cast) return iter; \
241 /* Move iter to the top of the linked list */ \
242 iter->prev->next = iter->next; \
244 iter->next->prev = iter->prev; \
245 iter->next = ty->cast; \
247 if (ty->cast) ty->cast->prev = iter; \
259 SWIGRUNTIME swig_cast_info
*
260 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
261 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
264 /* Same as previous function, except strcmp is replaced with a pointer comparison */
265 SWIGRUNTIME swig_cast_info
*
266 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
267 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
271 Cast a pointer up an inheritance hierarchy
273 SWIGRUNTIMEINLINE
void *
274 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
275 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
279 Dynamic pointer casting. Down an inheritance hierarchy
281 SWIGRUNTIME swig_type_info
*
282 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
283 swig_type_info
*lastty
= ty
;
284 if (!ty
|| !ty
->dcast
) return ty
;
285 while (ty
&& (ty
->dcast
)) {
286 ty
= (*ty
->dcast
)(ptr
);
293 Return the name associated with this type
295 SWIGRUNTIMEINLINE
const char *
296 SWIG_TypeName(const swig_type_info
*ty
) {
301 Return the pretty name associated with this type,
302 that is an unmangled type name in a form presentable to the user.
304 SWIGRUNTIME
const char *
305 SWIG_TypePrettyName(const swig_type_info
*type
) {
306 /* The "str" field contains the equivalent pretty names of the
307 type, separated by vertical-bar characters. We choose
308 to print the last name, as it is often (?) the most
310 if (type
->str
!= NULL
) {
311 const char *last_name
= type
->str
;
313 for (s
= type
->str
; *s
; s
++)
314 if (*s
== '|') last_name
= s
+1;
322 Set the clientdata field for a type
325 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
326 swig_cast_info
*cast
= ti
->cast
;
327 /* if (ti->clientdata == clientdata) return; */
328 ti
->clientdata
= clientdata
;
331 if (!cast
->converter
) {
332 swig_type_info
*tc
= cast
->type
;
333 if (!tc
->clientdata
) {
334 SWIG_TypeClientData(tc
, clientdata
);
342 Search for a swig_type_info structure only by mangled name
343 Search is a O(log #types)
345 We start searching at module start, and finish searching when start == end.
346 Note: if start == end at the beginning of the function, we go all the way around
349 SWIGRUNTIME swig_type_info
*
350 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
351 swig_module_info
*end
,
353 swig_module_info
*iter
= start
;
356 register size_t l
= 0;
357 register size_t r
= iter
->size
- 1;
359 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
360 register size_t i
= (l
+ r
) >> 1;
361 const char *iname
= iter
->types
[i
]->name
;
363 register int compare
= strcmp(name
, iname
);
365 return iter
->types
[i
];
366 } else if (compare
< 0) {
372 } else if (compare
> 0) {
376 break; /* should never happen */
381 } while (iter
!= end
);
386 Search for a swig_type_info structure for either a mangled name or a human readable name.
387 It first searches the mangled names of the types, which is a O(log #types)
388 If a type is not found it then searches the human readable names, which is O(#types).
390 We start searching at module start, and finish searching when start == end.
391 Note: if start == end at the beginning of the function, we go all the way around
394 SWIGRUNTIME swig_type_info
*
395 SWIG_TypeQueryModule(swig_module_info
*start
,
396 swig_module_info
*end
,
398 /* STEP 1: Search the name field using binary search */
399 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
403 /* STEP 2: If the type hasn't been found, do a complete search
404 of the str field (the human readable name) */
405 swig_module_info
*iter
= start
;
407 register size_t i
= 0;
408 for (; i
< iter
->size
; ++i
) {
409 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
410 return iter
->types
[i
];
413 } while (iter
!= end
);
416 /* neither found a match */
422 Pack binary data into a string
425 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
426 static const char hex
[17] = "0123456789abcdef";
427 register const unsigned char *u
= (unsigned char *) ptr
;
428 register const unsigned char *eu
= u
+ sz
;
429 for (; u
!= eu
; ++u
) {
430 register unsigned char uu
= *u
;
431 *(c
++) = hex
[(uu
& 0xf0) >> 4];
432 *(c
++) = hex
[uu
& 0xf];
438 Unpack binary data from a string
440 SWIGRUNTIME
const char *
441 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
442 register unsigned char *u
= (unsigned char *) ptr
;
443 register const unsigned char *eu
= u
+ sz
;
444 for (; u
!= eu
; ++u
) {
445 register char d
= *(c
++);
446 register unsigned char uu
= 0;
447 if ((d
>= '0') && (d
<= '9'))
448 uu
= ((d
- '0') << 4);
449 else if ((d
>= 'a') && (d
<= 'f'))
450 uu
= ((d
- ('a'-10)) << 4);
454 if ((d
>= '0') && (d
<= '9'))
456 else if ((d
>= 'a') && (d
<= 'f'))
457 uu
|= (d
- ('a'-10));
466 Pack 'void *' into a string buffer.
469 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
471 if ((2*sizeof(void *) + 2) > bsz
) return 0;
473 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
474 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
479 SWIGRUNTIME
const char *
480 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
482 if (strcmp(c
,"NULL") == 0) {
489 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
493 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
495 size_t lname
= (name
? strlen(name
) : 0);
496 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
498 r
= SWIG_PackData(r
,ptr
,sz
);
500 strncpy(r
,name
,lname
+1);
507 SWIGRUNTIME
const char *
508 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
510 if (strcmp(c
,"NULL") == 0) {
517 return SWIG_UnpackData(++c
,ptr
,sz
);
524 /* -----------------------------------------------------------------------------
525 * SWIG API. Portion that goes into the runtime
526 * ----------------------------------------------------------------------------- */
532 /* -----------------------------------------------------------------------------
533 * for internal method declarations
534 * ----------------------------------------------------------------------------- */
537 # define SWIGINTERN static SWIGUNUSED
540 #ifndef SWIGINTERNINLINE
541 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
545 Exception handling in wrappers
547 #define SWIG_fail goto fail
548 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
549 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
550 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
551 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
552 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
557 #define SWIG_contract_assert(expr, msg) \
558 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
560 /* -----------------------------------------------------------------------------
561 * Constant declarations
562 * ----------------------------------------------------------------------------- */
565 #define SWIG_PY_INT 1
566 #define SWIG_PY_FLOAT 2
567 #define SWIG_PY_STRING 3
568 #define SWIG_PY_POINTER 4
569 #define SWIG_PY_BINARY 5
571 /* Constant information structure */
572 typedef struct swig_const_info
{
578 swig_type_info
**ptype
;
582 /* -----------------------------------------------------------------------------
583 * Alloc. memory flags
584 * ----------------------------------------------------------------------------- */
585 #define SWIG_OLDOBJ 1
586 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
587 #define SWIG_PYSTR SWIG_NEWOBJ + 1
594 /***********************************************************************
597 * This file contains the runtime support for Python modules
598 * and includes code for managing global variables and pointer
601 * Author : David Beazley (beazley@cs.uchicago.edu)
602 ************************************************************************/
604 /* Common SWIG API */
605 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
606 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
607 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
610 /* Python-specific SWIG API */
611 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
612 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
615 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
616 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
618 /* -----------------------------------------------------------------------------
619 * Pointer declarations
620 * ----------------------------------------------------------------------------- */
622 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
623 C/C++ pointers in the python side. Very useful for debugging, but
626 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
627 # define SWIG_COBJECT_TYPES
630 /* Flags for pointer conversion */
631 #define SWIG_POINTER_EXCEPTION 0x1
632 #define SWIG_POINTER_DISOWN 0x2
635 /* Add PyOS_snprintf for old Pythons */
636 #if PY_VERSION_HEX < 0x02020000
637 #define PyOS_snprintf snprintf
644 /* -----------------------------------------------------------------------------
645 * Create a new pointer string
646 * ----------------------------------------------------------------------------- */
647 #ifndef SWIG_BUFFER_SIZE
648 #define SWIG_BUFFER_SIZE 1024
651 /* A crude PyString_FromFormat implementation for old Pythons */
652 #if PY_VERSION_HEX < 0x02020000
654 PyString_FromFormat(const char *fmt
, ...) {
656 char buf
[SWIG_BUFFER_SIZE
* 2];
659 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
661 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
665 #if PY_VERSION_HEX < 0x01060000
666 #define PyObject_Del(op) PyMem_DEL((op))
669 #if defined(SWIG_COBJECT_TYPES)
670 #if !defined(SWIG_COBJECT_PYTHON)
671 /* -----------------------------------------------------------------------------
672 * Implements a simple Swig Object type, and use it instead of PyCObject
673 * ----------------------------------------------------------------------------- */
681 /* Declarations for objects of type PySwigObject */
684 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
686 char result
[SWIG_BUFFER_SIZE
];
688 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
689 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
696 SWIGRUNTIME PyObject
*
697 PySwigObject_repr(PySwigObject
*v
)
699 char result
[SWIG_BUFFER_SIZE
];
700 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
701 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
704 SWIGRUNTIME PyObject
*
705 PySwigObject_str(PySwigObject
*v
)
707 char result
[SWIG_BUFFER_SIZE
];
708 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
709 PyString_FromString(result
) : 0;
712 SWIGRUNTIME PyObject
*
713 PySwigObject_long(PySwigObject
*v
)
715 return PyLong_FromVoidPtr(v
->ptr
);
718 SWIGRUNTIME PyObject
*
719 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
721 PyObject
*res
= NULL
;
722 PyObject
*args
= PyTuple_New(1);
723 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
724 PyObject
*ofmt
= PyString_FromString(fmt
);
726 res
= PyString_Format(ofmt
,args
);
734 SWIGRUNTIME PyObject
*
735 PySwigObject_oct(PySwigObject
*v
)
737 return PySwigObject_format("%o",v
);
740 SWIGRUNTIME PyObject
*
741 PySwigObject_hex(PySwigObject
*v
)
743 return PySwigObject_format("%x",v
);
747 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
749 int c
= strcmp(v
->desc
, w
->desc
);
751 return (c
> 0) ? 1 : -1;
755 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
760 PySwigObject_dealloc(PySwigObject
*self
)
765 SWIGRUNTIME PyTypeObject
*
766 PySwigObject_type(void) {
767 static char pyswigobject_type__doc__
[] =
768 "Swig object carries a C/C++ instance pointer";
770 static PyNumberMethods PySwigObject_as_number
= {
771 (binaryfunc
)0, /*nb_add*/
772 (binaryfunc
)0, /*nb_subtract*/
773 (binaryfunc
)0, /*nb_multiply*/
774 (binaryfunc
)0, /*nb_divide*/
775 (binaryfunc
)0, /*nb_remainder*/
776 (binaryfunc
)0, /*nb_divmod*/
777 (ternaryfunc
)0,/*nb_power*/
778 (unaryfunc
)0, /*nb_negative*/
779 (unaryfunc
)0, /*nb_positive*/
780 (unaryfunc
)0, /*nb_absolute*/
781 (inquiry
)0, /*nb_nonzero*/
788 (coercion
)0, /*nb_coerce*/
789 (unaryfunc
)PySwigObject_long
, /*nb_int*/
790 (unaryfunc
)PySwigObject_long
, /*nb_long*/
791 (unaryfunc
)0, /*nb_float*/
792 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
793 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
794 #if PY_VERSION_HEX >= 0x02020000
795 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
796 #elif PY_VERSION_HEX >= 0x02000000
797 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
801 static PyTypeObject pyswigobject_type
802 #if !defined(__cplusplus)
804 static int type_init
= 0;
809 PyObject_HEAD_INIT(&PyType_Type
)
811 (char *)"PySwigObject", /*tp_name*/
812 sizeof(PySwigObject
), /*tp_basicsize*/
815 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
816 (printfunc
)PySwigObject_print
, /*tp_print*/
817 (getattrfunc
)0, /*tp_getattr*/
818 (setattrfunc
)0, /*tp_setattr*/
819 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
820 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
821 &PySwigObject_as_number
, /*tp_as_number*/
822 0, /*tp_as_sequence*/
824 (hashfunc
)0, /*tp_hash*/
825 (ternaryfunc
)0, /*tp_call*/
826 (reprfunc
)PySwigObject_str
, /*tp_str*/
827 /* Space for future expansion */
829 pyswigobject_type__doc__
, /* Documentation string */
830 #if PY_VERSION_HEX >= 0x02000000
834 #if PY_VERSION_HEX >= 0x02010000
835 0, /* tp_richcompare */
836 0, /* tp_weaklistoffset */
838 #if PY_VERSION_HEX >= 0x02020000
839 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
841 #if PY_VERSION_HEX >= 0x02030000
845 0,0,0,0 /* tp_alloc -> tp_next */
848 #if !defined(__cplusplus)
849 pyswigobject_type
= tmp
;
853 return &pyswigobject_type
;
856 SWIGRUNTIME PyObject
*
857 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
859 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
864 return (PyObject
*)self
;
867 SWIGRUNTIMEINLINE
void *
868 PySwigObject_AsVoidPtr(PyObject
*self
)
870 return ((PySwigObject
*)self
)->ptr
;
873 SWIGRUNTIMEINLINE
const char *
874 PySwigObject_GetDesc(PyObject
*self
)
876 return ((PySwigObject
*)self
)->desc
;
879 SWIGRUNTIMEINLINE
int
880 PySwigObject_Check(PyObject
*op
) {
881 return ((op
)->ob_type
== PySwigObject_type())
882 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
885 /* -----------------------------------------------------------------------------
886 * Implements a simple Swig Packed type, and use it instead of string
887 * ----------------------------------------------------------------------------- */
897 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
899 char result
[SWIG_BUFFER_SIZE
];
901 fputs("<Swig Packed ", fp
);
902 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
911 SWIGRUNTIME PyObject
*
912 PySwigPacked_repr(PySwigPacked
*v
)
914 char result
[SWIG_BUFFER_SIZE
];
915 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
916 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
918 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
922 SWIGRUNTIME PyObject
*
923 PySwigPacked_str(PySwigPacked
*v
)
925 char result
[SWIG_BUFFER_SIZE
];
926 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
927 return PyString_FromFormat("%s%s", result
, v
->desc
);
929 return PyString_FromString(v
->desc
);
934 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
936 int c
= strcmp(v
->desc
, w
->desc
);
938 return (c
> 0) ? 1 : -1;
942 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
943 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
948 PySwigPacked_dealloc(PySwigPacked
*self
)
954 SWIGRUNTIME PyTypeObject
*
955 PySwigPacked_type(void) {
956 static char pyswigpacked_type__doc__
[] =
957 "Swig object carries a C/C++ instance pointer";
958 static PyTypeObject pyswigpacked_type
959 #if !defined(__cplusplus)
961 static int type_init
= 0;
966 PyObject_HEAD_INIT(&PyType_Type
)
968 (char *)"PySwigPacked", /*tp_name*/
969 sizeof(PySwigPacked
), /*tp_basicsize*/
972 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
973 (printfunc
)PySwigPacked_print
, /*tp_print*/
974 (getattrfunc
)0, /*tp_getattr*/
975 (setattrfunc
)0, /*tp_setattr*/
976 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
977 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
979 0, /*tp_as_sequence*/
981 (hashfunc
)0, /*tp_hash*/
982 (ternaryfunc
)0, /*tp_call*/
983 (reprfunc
)PySwigPacked_str
, /*tp_str*/
984 /* Space for future expansion */
986 pyswigpacked_type__doc__
, /* Documentation string */
987 #if PY_VERSION_HEX >= 0x02000000
991 #if PY_VERSION_HEX >= 0x02010000
992 0, /* tp_richcompare */
993 0, /* tp_weaklistoffset */
995 #if PY_VERSION_HEX >= 0x02020000
996 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
998 #if PY_VERSION_HEX >= 0x02030000
1002 0,0,0,0 /* tp_alloc -> tp_next */
1005 #if !defined(__cplusplus)
1006 pyswigpacked_type
= tmp
;
1010 return &pyswigpacked_type
;
1013 SWIGRUNTIME PyObject
*
1014 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1016 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1020 void *pack
= malloc(size
);
1022 memcpy(pack
, ptr
, size
);
1026 return (PyObject
*) self
;
1032 SWIGRUNTIMEINLINE
const char *
1033 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1035 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1036 if (self
->size
!= size
) return 0;
1037 memcpy(ptr
, self
->pack
, size
);
1041 SWIGRUNTIMEINLINE
const char *
1042 PySwigPacked_GetDesc(PyObject
*self
)
1044 return ((PySwigPacked
*)self
)->desc
;
1047 SWIGRUNTIMEINLINE
int
1048 PySwigPacked_Check(PyObject
*op
) {
1049 return ((op
)->ob_type
== PySwigPacked_type())
1050 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1054 /* -----------------------------------------------------------------------------
1055 * Use the old Python PyCObject instead of PySwigObject
1056 * ----------------------------------------------------------------------------- */
1058 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1059 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1060 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1061 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1067 /* -----------------------------------------------------------------------------
1068 * errors manipulation
1069 * ----------------------------------------------------------------------------- */
1072 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1075 #if defined(SWIG_COBJECT_TYPES)
1076 if (obj
&& PySwigObject_Check(obj
)) {
1077 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1079 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1086 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1088 PyObject
*str
= PyObject_Str(obj
);
1089 const char *cstr
= str
? PyString_AsString(str
) : 0;
1091 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1094 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1101 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1103 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1107 SWIGRUNTIMEINLINE
void
1108 SWIG_Python_NullRef(const char *type
)
1111 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1113 PyErr_Format(PyExc_TypeError
, "null reference was received");
1118 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1120 if (PyErr_Occurred()) {
1122 PyObject
*value
= 0;
1123 PyObject
*traceback
= 0;
1124 PyErr_Fetch(&type
, &value
, &traceback
);
1126 PyObject
*old_str
= PyObject_Str(value
);
1130 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1132 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1143 SWIG_Python_ArgFail(int argnum
)
1145 if (PyErr_Occurred()) {
1146 /* add information about failing argument */
1148 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1149 return SWIG_Python_AddErrMesg(mesg
, 1);
1156 /* -----------------------------------------------------------------------------
1157 * pointers/data manipulation
1158 * ----------------------------------------------------------------------------- */
1160 /* Convert a pointer value */
1162 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1165 static PyObject
*SWIG_this
= 0;
1167 PyObject
*pyobj
= 0;
1171 if (obj
== Py_None
) {
1176 #ifdef SWIG_COBJECT_TYPES
1177 if (!(PySwigObject_Check(obj
))) {
1179 SWIG_this
= PyString_FromString("this");
1181 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1183 if (!obj
) goto type_error
;
1184 if (!PySwigObject_Check(obj
)) {
1189 vptr
= PySwigObject_AsVoidPtr(obj
);
1190 c
= (const char *) PySwigObject_GetDesc(obj
);
1191 if (newref
) { Py_DECREF(obj
); }
1194 if (!(PyString_Check(obj
))) {
1196 SWIG_this
= PyString_FromString("this");
1198 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1200 if (!obj
) goto type_error
;
1201 if (!PyString_Check(obj
)) {
1206 c
= PyString_AsString(obj
);
1207 /* Pointer values must start with leading underscore */
1208 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1209 if (newref
) { Py_DECREF(obj
); }
1210 if (!c
) goto type_error
;
1215 tc
= SWIG_TypeCheck(c
,ty
);
1216 if (!tc
) goto type_error
;
1217 *ptr
= SWIG_TypeCast(tc
,vptr
);
1221 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1222 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1228 if (pyobj
&& !obj
) {
1230 if (PyCFunction_Check(obj
)) {
1231 /* here we get the method pointer for callbacks */
1232 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1233 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1235 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1236 if (!c
) goto type_error
;
1241 if (flags
& SWIG_POINTER_EXCEPTION
) {
1243 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1245 SWIG_Python_TypeError("C/C++ pointer", obj
);
1251 /* Convert a pointer value, signal an exception on a type mismatch */
1253 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1255 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1257 if (flags
& SWIG_POINTER_EXCEPTION
) {
1258 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1259 SWIG_Python_ArgFail(argnum
);
1265 /* Convert a packed value value */
1267 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1271 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1272 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1274 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1275 c
= PyString_AsString(obj
);
1276 /* Pointer values must start with leading underscore */
1277 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1279 if (!c
) goto type_error
;
1281 tc
= SWIG_TypeCheck(c
,ty
);
1282 if (!tc
) goto type_error
;
1288 if (flags
& SWIG_POINTER_EXCEPTION
) {
1290 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1292 SWIG_Python_TypeError("C/C++ packed data", obj
);
1298 /* Create a new array object */
1299 SWIGRUNTIME PyObject
*
1300 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1303 if (!PyErr_Occurred()) {
1304 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1312 #ifdef SWIG_COBJECT_TYPES
1313 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1316 char result
[SWIG_BUFFER_SIZE
];
1317 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1318 PyString_FromString(result
) : 0;
1321 if (!robj
|| (robj
== Py_None
)) return robj
;
1322 if (type
->clientdata
) {
1324 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1326 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1330 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1338 SWIGRUNTIME PyObject
*
1339 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1345 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1346 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1349 char result
[SWIG_BUFFER_SIZE
];
1350 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1351 PyString_FromString(result
) : 0;
1357 /* -----------------------------------------------------------------------------*
1359 * -----------------------------------------------------------------------------*/
1361 #ifdef SWIG_LINK_RUNTIME
1362 void *SWIG_ReturnGlobalTypeList(void *);
1365 SWIGRUNTIME swig_module_info
*
1366 SWIG_Python_GetModule(void) {
1367 static void *type_pointer
= (void *)0;
1368 /* first check if module already created */
1369 if (!type_pointer
) {
1370 #ifdef SWIG_LINK_RUNTIME
1371 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1373 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1374 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1375 if (PyErr_Occurred()) {
1377 type_pointer
= (void *)0;
1381 return (swig_module_info
*) type_pointer
;
1384 #if PY_MAJOR_VERSION < 2
1385 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1386 is copied out of Python/modsupport.c in python version 2.3.4 */
1388 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1391 if (!PyModule_Check(m
)) {
1392 PyErr_SetString(PyExc_TypeError
,
1393 "PyModule_AddObject() needs module as first arg");
1397 PyErr_SetString(PyExc_TypeError
,
1398 "PyModule_AddObject() needs non-NULL value");
1402 dict
= PyModule_GetDict(m
);
1404 /* Internal error -- modules must have a dict! */
1405 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1406 PyModule_GetName(m
));
1409 if (PyDict_SetItemString(dict
, name
, o
))
1417 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1418 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1420 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1421 swig_empty_runtime_method_table
);
1422 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1423 if (pointer
&& module) {
1424 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1433 /* -------- TYPES TABLE (BEGIN) -------- */
1435 #define SWIGTYPE_p_char swig_types[0]
1436 #define SWIGTYPE_p_form_ops_t swig_types[1]
1437 #define SWIGTYPE_p_int swig_types[2]
1438 #define SWIGTYPE_p_unsigned_char swig_types[3]
1439 #define SWIGTYPE_p_unsigned_int swig_types[4]
1440 #define SWIGTYPE_p_unsigned_long swig_types[5]
1441 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1442 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1443 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1444 #define SWIGTYPE_p_wxArrayInt swig_types[9]
1445 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1446 #define SWIGTYPE_p_wxBitmap swig_types[11]
1447 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1448 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1449 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1450 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1451 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1452 #define SWIGTYPE_p_wxColour swig_types[17]
1453 #define SWIGTYPE_p_wxColourData swig_types[18]
1454 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1455 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1456 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1457 #define SWIGTYPE_p_wxControl swig_types[22]
1458 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1459 #define SWIGTYPE_p_wxDC swig_types[24]
1460 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1461 #define SWIGTYPE_p_wxDialog swig_types[26]
1462 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1463 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1464 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1465 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1466 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1467 #define SWIGTYPE_p_wxEvent swig_types[32]
1468 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1469 #define SWIGTYPE_p_wxFSFile swig_types[34]
1470 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1471 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1472 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1473 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1474 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1475 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1476 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1477 #define SWIGTYPE_p_wxFont swig_types[42]
1478 #define SWIGTYPE_p_wxFontData swig_types[43]
1479 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1480 #define SWIGTYPE_p_wxFrame swig_types[45]
1481 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1482 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1483 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1484 #define SWIGTYPE_p_wxGridSizer swig_types[49]
1485 #define SWIGTYPE_p_wxICOHandler swig_types[50]
1486 #define SWIGTYPE_p_wxIcon swig_types[51]
1487 #define SWIGTYPE_p_wxIconBundle swig_types[52]
1488 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1489 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
1490 #define SWIGTYPE_p_wxImage swig_types[55]
1491 #define SWIGTYPE_p_wxImageHandler swig_types[56]
1492 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1493 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1494 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1495 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
1496 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1497 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1498 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1499 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1500 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1501 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1502 #define SWIGTYPE_p_wxMenu swig_types[67]
1503 #define SWIGTYPE_p_wxMenuBar swig_types[68]
1504 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
1505 #define SWIGTYPE_p_wxMenuItem swig_types[70]
1506 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
1507 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
1508 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1509 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
1510 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
1511 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1512 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1513 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1514 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1515 #define SWIGTYPE_p_wxObject swig_types[80]
1516 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
1517 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
1518 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
1519 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1520 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1521 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
1522 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1523 #define SWIGTYPE_p_wxPanel swig_types[88]
1524 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1525 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1526 #define SWIGTYPE_p_wxPoint swig_types[91]
1527 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
1528 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1529 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1530 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1531 #define SWIGTYPE_p_wxPrintData swig_types[96]
1532 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
1533 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1534 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
1535 #define SWIGTYPE_p_wxPrinter swig_types[100]
1536 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
1537 #define SWIGTYPE_p_wxPyApp swig_types[102]
1538 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1539 #define SWIGTYPE_p_wxPyEvent swig_types[104]
1540 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1541 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1542 #define SWIGTYPE_p_wxPyPanel swig_types[107]
1543 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1544 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1545 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1546 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1547 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
1548 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1549 #define SWIGTYPE_p_wxPySizer swig_types[114]
1550 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1551 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
1552 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1553 #define SWIGTYPE_p_wxPyValidator swig_types[118]
1554 #define SWIGTYPE_p_wxPyWindow swig_types[119]
1555 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1556 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1557 #define SWIGTYPE_p_wxRect swig_types[122]
1558 #define SWIGTYPE_p_wxRegion swig_types[123]
1559 #define SWIGTYPE_p_wxSashEvent swig_types[124]
1560 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1561 #define SWIGTYPE_p_wxSashWindow swig_types[126]
1562 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
1563 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1564 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1565 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1566 #define SWIGTYPE_p_wxShowEvent swig_types[131]
1567 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1568 #define SWIGTYPE_p_wxSize swig_types[133]
1569 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
1570 #define SWIGTYPE_p_wxSizer swig_types[135]
1571 #define SWIGTYPE_p_wxSizerItem swig_types[136]
1572 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
1573 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1574 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1575 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1576 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1577 #define SWIGTYPE_p_wxStatusBar swig_types[142]
1578 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1579 #define SWIGTYPE_p_wxString swig_types[144]
1580 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1581 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1582 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1583 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1584 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1585 #define SWIGTYPE_p_wxTipWindow swig_types[150]
1586 #define SWIGTYPE_p_wxToolBar swig_types[151]
1587 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1588 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1589 #define SWIGTYPE_p_wxValidator swig_types[154]
1590 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1591 #define SWIGTYPE_p_wxWindow swig_types[156]
1592 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1593 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1594 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
1595 #define SWIGTYPE_ptrdiff_t swig_types[160]
1596 #define SWIGTYPE_std__ptrdiff_t swig_types[161]
1597 #define SWIGTYPE_unsigned_int swig_types[162]
1598 static swig_type_info
*swig_types
[164];
1599 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
1600 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1601 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1603 /* -------- TYPES TABLE (END) -------- */
1606 /*-----------------------------------------------
1607 @(target):= _windows_.so
1608 ------------------------------------------------*/
1609 #define SWIG_init init_windows_
1611 #define SWIG_name "_windows_"
1613 #include "wx/wxPython/wxPython.h"
1614 #include "wx/wxPython/pyclasses.h"
1617 static const wxString
wxPyEmptyString(wxEmptyString
);
1618 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1626 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1629 if (value
< min_value
) {
1631 PyErr_Format(PyExc_OverflowError
,
1632 "value %ld is less than '%s' minimum %ld",
1633 value
, errmsg
, min_value
);
1636 } else if (value
> max_value
) {
1638 PyErr_Format(PyExc_OverflowError
,
1639 "value %ld is greater than '%s' maximum %ld",
1640 value
, errmsg
, max_value
);
1649 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1651 if (PyNumber_Check(obj
)) {
1652 if (val
) *val
= PyInt_AsLong(obj
);
1656 SWIG_Python_TypeError("number", obj
);
1662 #if INT_MAX != LONG_MAX
1664 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1666 const char* errmsg
= val
? "int" : (char*)0;
1668 if (SWIG_AsVal_long(obj
, &v
)) {
1669 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1670 if (val
) *val
= static_cast<int >(v
);
1679 SWIG_type_error(errmsg
, obj
);
1684 SWIGINTERNINLINE
int
1685 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1687 return SWIG_AsVal_long(obj
,(long*)val
);
1692 SWIGINTERNINLINE
int
1693 SWIG_As_int(PyObject
* obj
)
1696 if (!SWIG_AsVal_int(obj
, &v
)) {
1698 this is needed to make valgrind/purify happier.
1700 memset((void*)&v
, 0, sizeof(int));
1706 SWIGINTERNINLINE
long
1707 SWIG_As_long(PyObject
* obj
)
1710 if (!SWIG_AsVal_long(obj
, &v
)) {
1712 this is needed to make valgrind/purify happier.
1714 memset((void*)&v
, 0, sizeof(long));
1720 SWIGINTERNINLINE
int
1721 SWIG_Check_int(PyObject
* obj
)
1723 return SWIG_AsVal_int(obj
, (int*)0);
1727 SWIGINTERNINLINE
int
1728 SWIG_Check_long(PyObject
* obj
)
1730 return SWIG_AsVal_long(obj
, (long*)0);
1735 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1737 if (obj
== Py_True
) {
1738 if (val
) *val
= true;
1741 if (obj
== Py_False
) {
1742 if (val
) *val
= false;
1746 if (SWIG_AsVal_int(obj
, &res
)) {
1747 if (val
) *val
= res
? true : false;
1753 SWIG_type_error("bool", obj
);
1759 SWIGINTERNINLINE
bool
1760 SWIG_As_bool(PyObject
* obj
)
1763 if (!SWIG_AsVal_bool(obj
, &v
)) {
1765 this is needed to make valgrind/purify happier.
1767 memset((void*)&v
, 0, sizeof(bool));
1773 SWIGINTERNINLINE
int
1774 SWIG_Check_bool(PyObject
* obj
)
1776 return SWIG_AsVal_bool(obj
, (bool*)0);
1780 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1781 #define SWIG_From_int PyInt_FromLong
1785 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1791 } else if (result
== Py_None
) {
1795 if (!PyTuple_Check(result
)) {
1797 result
= PyTuple_New(1);
1798 PyTuple_SET_ITEM(result
, 0, o2
);
1800 o3
= PyTuple_New(1);
1801 PyTuple_SetItem(o3
, 0, obj
);
1803 result
= PySequence_Concat(o2
, o3
);
1813 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1815 if (PyNumber_Check(obj
)) {
1816 if (val
) *val
= PyFloat_AsDouble(obj
);
1820 SWIG_Python_TypeError("number", obj
);
1826 SWIGINTERNINLINE
double
1827 SWIG_As_double(PyObject
* obj
)
1830 if (!SWIG_AsVal_double(obj
, &v
)) {
1832 this is needed to make valgrind/purify happier.
1834 memset((void*)&v
, 0, sizeof(double));
1840 SWIGINTERNINLINE
int
1841 SWIG_Check_double(PyObject
* obj
)
1843 return SWIG_AsVal_double(obj
, (double*)0);
1847 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1848 #define SWIG_From_double PyFloat_FromDouble
1851 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1852 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1853 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1854 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1855 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1856 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1858 /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1859 #define SWIG_From_long PyInt_FromLong
1864 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1866 self
->GetFieldRect(i
, r
);
1869 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1870 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1871 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1873 #include <wx/popupwin.h>
1876 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1879 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1880 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1881 : wxPopupTransientWindow(parent
, style
) {}
1883 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1884 DEC_PYCALLBACK__(OnDismiss
);
1885 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1890 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1891 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1892 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1895 #include <wx/tipwin.h>
1897 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1898 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1901 #include <wx/tipwin.h>
1904 #include <wx/vscroll.h>
1907 class wxPyVScrolledWindow
: public wxVScrolledWindow
1909 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
1911 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1913 wxPyVScrolledWindow(wxWindow
*parent
,
1914 wxWindowID id
= wxID_ANY
,
1915 const wxPoint
& pos
= wxDefaultPosition
,
1916 const wxSize
& size
= wxDefaultSize
,
1918 const wxString
& name
= wxPyPanelNameStr
)
1919 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1922 // Overridable virtuals
1924 // this function must be overridden in the derived class and it should
1925 // return the height of the given line in pixels
1926 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1929 // this function doesn't have to be overridden but it may be useful to do
1930 // it if calculating the lines heights is a relatively expensive operation
1931 // as it gives the user code a possibility to calculate several of them at
1934 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1935 // shouldn't rely on the latter being called for all lines in the interval
1936 // specified here. It is also possible that OnGetLineHeight() will be
1937 // called for the lines outside of this interval, so this is really just a
1938 // hint, not a promise.
1940 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1942 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1945 // when the number of lines changes, we try to estimate the total height
1946 // of all lines which is a rather expensive operation in terms of lines
1947 // access, so if the user code may estimate the average height
1948 // better/faster than we do, it should override this function to implement
1951 // this function should return the best guess for the total height it may
1953 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1956 // Also expose some other interesting protected methods
1959 // find the index of the line we need to show at the top of the window such
1960 // that the last (fully or partially) visible line is the given one
1961 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1962 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1964 // get the total height of the lines between lineMin (inclusive) and
1965 // lineMax (exclusive)
1966 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1967 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1973 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1975 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1976 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1977 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1981 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1984 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1985 SWIG_Python_TypeError("unsigned number", obj
);
1988 *val
= (unsigned long)v
;
1993 SWIGINTERNINLINE
unsigned long
1994 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1997 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1999 this is needed to make valgrind/purify happier.
2001 memset((void*)&v
, 0, sizeof(unsigned long));
2007 SWIGINTERNINLINE
int
2008 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2010 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2014 SWIGINTERNINLINE PyObject
*
2015 SWIG_From_unsigned_SS_long(unsigned long value
)
2017 return (value
> LONG_MAX
) ?
2018 PyLong_FromUnsignedLong(value
)
2019 : PyInt_FromLong(static_cast<long >(value
));
2023 #include <wx/vlbox.h>
2025 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2027 class wxPyVListBox
: public wxVListBox
2029 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2031 wxPyVListBox() : wxVListBox() {}
2033 wxPyVListBox(wxWindow
*parent
,
2034 wxWindowID id
= wxID_ANY
,
2035 const wxPoint
& pos
= wxDefaultPosition
,
2036 const wxSize
& size
= wxDefaultSize
,
2038 const wxString
& name
= wxPyVListBoxNameStr
)
2039 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2042 // Overridable virtuals
2044 // the derived class must implement this function to actually draw the item
2045 // with the given index on the provided DC
2046 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2047 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2050 // the derived class must implement this method to return the height of the
2052 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2053 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
2056 // this method may be used to draw separators between the lines; note that
2057 // the rectangle may be modified, typically to deflate it a bit before
2058 // passing to OnDrawItem()
2060 // the base class version doesn't do anything
2061 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2062 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
2065 // this method is used to draw the items background and, maybe, a border
2068 // the base class version implements a reasonable default behaviour which
2069 // consists in drawing the selected item with the standard background
2070 // colour and drawing a border around the item if it is either selected or
2072 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2073 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
2079 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
2081 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
2082 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
2083 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
2084 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
2087 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
2088 unsigned long cookie
= 0;
2089 int selected
= self
->GetFirstSelected(cookie
);
2090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2091 PyObject
* tup
= PyTuple_New(2);
2092 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2093 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2094 wxPyEndBlockThreads(blocked
);
2097 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
2098 int selected
= self
->GetNextSelected(cookie
);
2099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2100 PyObject
* tup
= PyTuple_New(2);
2101 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2102 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2103 wxPyEndBlockThreads(blocked
);
2107 #include <wx/htmllbox.h>
2110 class wxPyHtmlListBox
: public wxHtmlListBox
2112 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
2114 wxPyHtmlListBox() : wxHtmlListBox() {}
2116 wxPyHtmlListBox(wxWindow
*parent
,
2117 wxWindowID id
= wxID_ANY
,
2118 const wxPoint
& pos
= wxDefaultPosition
,
2119 const wxSize
& size
= wxDefaultSize
,
2121 const wxString
& name
= wxPyVListBoxNameStr
)
2122 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
2125 // Overridable virtuals
2127 // this method must be implemented in the derived class and should return
2128 // the body (i.e. without <html>) of the HTML for the given item
2129 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
2131 // this function may be overridden to decorate HTML returned by OnGetItem()
2132 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
2135 // // this method allows to customize the selection appearance: it may be used
2136 // // to specify the colour of the text which normally has the given colour
2137 // // colFg when it is inside the selection
2139 // // by default, the original colour is not used at all and all text has the
2140 // // same (default for this system) colour inside selection
2141 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2143 // // this is the same as GetSelectedTextColour() but allows to customize the
2144 // // background colour -- this is even more rarely used as you can change it
2145 // // globally using SetSelectionBackground()
2146 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2153 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
2155 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
2156 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2162 #ifndef wxHAS_TASK_BAR_ICON
2163 // implement dummy classes for platforms that don't have it
2165 class wxTaskBarIcon
: public wxEvtHandler
2168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2172 class wxTaskBarIconEvent
: public wxEvent
2175 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2176 { wxPyRaiseNotImplemented(); }
2177 virtual wxEvent
* Clone() const { return NULL
; }
2178 bool IsOk() const { return false; }
2179 bool IsIconInstalled() const { return false; }
2180 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2181 bool RemoveIcon() { return false; }
2182 bool PopupMenu(wxMenu
*menu
) { return false; }
2186 wxEVT_TASKBAR_MOVE
= 0,
2187 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2188 wxEVT_TASKBAR_LEFT_UP
= 0,
2189 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2190 wxEVT_TASKBAR_RIGHT_UP
= 0,
2191 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2192 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2197 // Otherwise make a class that can virtualize CreatePopupMenu
2198 class wxPyTaskBarIcon
: public wxTaskBarIcon
2200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
2202 wxPyTaskBarIcon() : wxTaskBarIcon()
2205 wxMenu
* CreatePopupMenu() {
2206 wxMenu
*rval
= NULL
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2212 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2214 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2219 wxPyEndBlockThreads(blocked
);
2221 rval
= wxTaskBarIcon::CreatePopupMenu();
2228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2232 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2236 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2237 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2238 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2239 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2240 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2241 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2242 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2244 self
->GetFilenames(arr
);
2245 return wxArrayString2PyList_helper(arr
);
2247 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2249 self
->GetPaths(arr
);
2250 return wxArrayString2PyList_helper(arr
);
2252 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2253 return wxArrayInt2PyList_helper(self
->GetSelections());
2255 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
){
2256 return new wxSingleChoiceDialog(parent
, message
, caption
,
2257 choices
, choices_array
, NULL
, style
, pos
);
2259 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2263 // C++ version of Python aware wxWindow
2264 class wxPyWindow
: public wxWindow
2266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2268 wxPyWindow() : wxWindow() {}
2269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2270 const wxPoint
& pos
= wxDefaultPosition
,
2271 const wxSize
& size
= wxDefaultSize
,
2273 const wxString
& name
= wxPyPanelNameStr
)
2274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2278 bool DoEraseBackground(wxDC
* dc
) {
2280 return wxWindow::DoEraseBackground(dc
->GetHDC());
2282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2300 DEC_PYCALLBACK__(InitDialog
);
2301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2303 DEC_PYCALLBACK_BOOL_(Validate
);
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2355 // C++ version of Python aware wxPanel
2356 class wxPyPanel
: public wxPanel
2358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2360 wxPyPanel() : wxPanel() {}
2361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2362 const wxPoint
& pos
= wxDefaultPosition
,
2363 const wxSize
& size
= wxDefaultSize
,
2365 const wxString
& name
= wxPyPanelNameStr
)
2366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2369 bool DoEraseBackground(wxDC
* dc
) {
2371 return wxWindow::DoEraseBackground(dc
->GetHDC());
2373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2392 DEC_PYCALLBACK__(InitDialog
);
2393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2395 DEC_PYCALLBACK_BOOL_(Validate
);
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2447 // C++ version of Python aware wxScrolledWindow
2448 class wxPyScrolledWindow
: public wxScrolledWindow
2450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2452 wxPyScrolledWindow() : wxScrolledWindow() {}
2453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2454 const wxPoint
& pos
= wxDefaultPosition
,
2455 const wxSize
& size
= wxDefaultSize
,
2457 const wxString
& name
= wxPyPanelNameStr
)
2458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2461 bool DoEraseBackground(wxDC
* dc
) {
2463 return wxWindow::DoEraseBackground(dc
->GetHDC());
2465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2483 DEC_PYCALLBACK__(InitDialog
);
2484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2486 DEC_PYCALLBACK_BOOL_(Validate
);
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2539 #include "wx/wxPython/printfw.h"
2542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2544 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2548 self
->GetPrivDataLen());
2549 wxPyEndBlockThreads(blocked
);
2552 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2553 if (! PyString_Check(data
)) {
2554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2555 "Expected string object"));
2559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2561 wxPyEndBlockThreads(blocked
);
2565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2567 // Since this one would be tough and ugly to do with the Macros...
2568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2569 bool hadErr
= false;
2572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2578 val
= PyTuple_GetItem(result
, 0);
2579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2582 val
= PyTuple_GetItem(result
, 1);
2583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2586 val
= PyTuple_GetItem(result
, 2);
2587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2590 val
= PyTuple_GetItem(result
, 3);
2591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2603 wxPyEndBlockThreads(blocked
);
2605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
2626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2632 PyObject* win = wxPyMake_wxObject(a,false); \
2633 PyObject* dc = wxPyMake_wxObject(&b,false); \
2634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2638 wxPyEndBlockThreads(blocked); \
2640 rval = PCLASS::CBNAME(a, b); \
2647 class wxPyPrintPreview
: public wxPrintPreview
2649 DECLARE_CLASS(wxPyPrintPreview
)
2651 wxPyPrintPreview(wxPyPrintout
* printout
,
2652 wxPyPrintout
* printoutForPrinting
,
2653 wxPrintDialogData
* data
=NULL
)
2654 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2656 wxPyPrintPreview(wxPyPrintout
* printout
,
2657 wxPyPrintout
* printoutForPrinting
,
2659 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2665 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2666 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2667 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2668 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2673 // Stupid renamed classes... Fix this in 2.5...
2674 #if defined(__WXMSW__)
2675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2676 #elif defined(__WXMAC__)
2677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2691 class wxPyPreviewFrame
: public wxPreviewFrame
2693 DECLARE_CLASS(wxPyPreviewFrame
)
2695 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2696 const wxString
& title
,
2697 const wxPoint
& pos
= wxDefaultPosition
,
2698 const wxSize
& size
= wxDefaultSize
,
2699 long style
= wxDEFAULT_FRAME_STYLE
,
2700 const wxString
& name
= wxPyFrameNameStr
)
2701 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2704 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2705 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2707 DEC_PYCALLBACK_VOID_(Initialize
);
2708 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2709 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2714 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2721 class wxPyPreviewControlBar
: public wxPreviewControlBar
2723 DECLARE_CLASS(wxPyPreviewControlBar
)
2725 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2728 const wxPoint
& pos
= wxDefaultPosition
,
2729 const wxSize
& size
= wxDefaultSize
,
2731 const wxString
& name
= wxPyPanelNameStr
)
2732 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2735 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2737 DEC_PYCALLBACK_VOID_(CreateButtons
);
2738 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2743 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2750 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
= NULL
;
2752 wxWindow
*arg1
= (wxWindow
*) 0 ;
2753 int arg2
= (int) (int)-1 ;
2754 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2755 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2756 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2757 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2758 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2759 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2760 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2764 bool temp6
= false ;
2765 PyObject
* obj0
= 0 ;
2766 PyObject
* obj1
= 0 ;
2767 PyObject
* obj2
= 0 ;
2768 PyObject
* obj3
= 0 ;
2769 PyObject
* obj4
= 0 ;
2770 PyObject
* obj5
= 0 ;
2772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail
;
2780 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
2781 if (SWIG_arg_fail(2)) SWIG_fail
;
2787 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2793 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2798 arg5
= static_cast<long >(SWIG_As_long(obj4
));
2799 if (SWIG_arg_fail(5)) SWIG_fail
;
2804 arg6
= wxString_in_helper(obj5
);
2805 if (arg6
== NULL
) SWIG_fail
;
2810 if (!wxPyCheckForApp()) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2832 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
= NULL
;
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2841 if (!wxPyCheckForApp()) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 result
= (wxPanel
*)new wxPanel();
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2855 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
= NULL
;
2857 wxPanel
*arg1
= (wxPanel
*) 0 ;
2858 wxWindow
*arg2
= (wxWindow
*) 0 ;
2859 int arg3
= (int) (int)-1 ;
2860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2864 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2865 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2870 bool temp7
= false ;
2871 PyObject
* obj0
= 0 ;
2872 PyObject
* obj1
= 0 ;
2873 PyObject
* obj2
= 0 ;
2874 PyObject
* obj3
= 0 ;
2875 PyObject
* obj4
= 0 ;
2876 PyObject
* obj5
= 0 ;
2877 PyObject
* obj6
= 0 ;
2879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2884 if (SWIG_arg_fail(1)) SWIG_fail
;
2885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2886 if (SWIG_arg_fail(2)) SWIG_fail
;
2889 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
2890 if (SWIG_arg_fail(3)) SWIG_fail
;
2896 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2902 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2907 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2908 if (SWIG_arg_fail(6)) SWIG_fail
;
2913 arg7
= wxString_in_helper(obj6
);
2914 if (arg7
== NULL
) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2942 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
= NULL
;
2944 wxPanel
*arg1
= (wxPanel
*) 0 ;
2945 PyObject
* obj0
= 0 ;
2947 (char *) "self", NULL
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2952 if (SWIG_arg_fail(1)) SWIG_fail
;
2954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2955 (arg1
)->InitDialog();
2957 wxPyEndAllowThreads(__tstate
);
2958 if (PyErr_Occurred()) SWIG_fail
;
2960 Py_INCREF(Py_None
); resultobj
= Py_None
;
2967 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
= NULL
;
2969 wxPanel
*arg1
= (wxPanel
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2972 (char *) "self", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2977 if (SWIG_arg_fail(1)) SWIG_fail
;
2979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2982 wxPyEndAllowThreads(__tstate
);
2983 if (PyErr_Occurred()) SWIG_fail
;
2985 Py_INCREF(Py_None
); resultobj
= Py_None
;
2992 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2993 PyObject
*resultobj
= NULL
;
2994 wxPanel
*arg1
= (wxPanel
*) 0 ;
2995 PyObject
* obj0
= 0 ;
2997 (char *) "self", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
3001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
3002 if (SWIG_arg_fail(1)) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 (arg1
)->SetFocusIgnoringChildren();
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 Py_INCREF(Py_None
); resultobj
= Py_None
;
3017 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
= NULL
;
3019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3020 wxVisualAttributes result
;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "variant", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3029 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3030 if (SWIG_arg_fail(1)) SWIG_fail
;
3034 if (!wxPyCheckForApp()) SWIG_fail
;
3035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3036 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3038 wxPyEndAllowThreads(__tstate
);
3039 if (PyErr_Occurred()) SWIG_fail
;
3042 wxVisualAttributes
* resultptr
;
3043 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3052 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
3054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3055 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
3057 return Py_BuildValue((char *)"");
3059 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
= NULL
;
3061 wxWindow
*arg1
= (wxWindow
*) 0 ;
3062 int arg2
= (int) (int)-1 ;
3063 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3064 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3065 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3066 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3067 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3068 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3069 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3070 wxScrolledWindow
*result
;
3073 bool temp6
= false ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3076 PyObject
* obj2
= 0 ;
3077 PyObject
* obj3
= 0 ;
3078 PyObject
* obj4
= 0 ;
3079 PyObject
* obj5
= 0 ;
3081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3086 if (SWIG_arg_fail(1)) SWIG_fail
;
3089 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
3090 if (SWIG_arg_fail(2)) SWIG_fail
;
3096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3107 arg5
= static_cast<long >(SWIG_As_long(obj4
));
3108 if (SWIG_arg_fail(5)) SWIG_fail
;
3113 arg6
= wxString_in_helper(obj5
);
3114 if (arg6
== NULL
) SWIG_fail
;
3119 if (!wxPyCheckForApp()) SWIG_fail
;
3120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3121 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3123 wxPyEndAllowThreads(__tstate
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3141 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
= NULL
;
3143 wxScrolledWindow
*result
;
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
3150 if (!wxPyCheckForApp()) SWIG_fail
;
3151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3152 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3154 wxPyEndAllowThreads(__tstate
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3164 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
= NULL
;
3166 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3167 wxWindow
*arg2
= (wxWindow
*) 0 ;
3168 int arg3
= (int) (int)-1 ;
3169 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3170 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3171 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3172 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3173 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3174 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3175 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3179 bool temp7
= false ;
3180 PyObject
* obj0
= 0 ;
3181 PyObject
* obj1
= 0 ;
3182 PyObject
* obj2
= 0 ;
3183 PyObject
* obj3
= 0 ;
3184 PyObject
* obj4
= 0 ;
3185 PyObject
* obj5
= 0 ;
3186 PyObject
* obj6
= 0 ;
3188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3193 if (SWIG_arg_fail(1)) SWIG_fail
;
3194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3195 if (SWIG_arg_fail(2)) SWIG_fail
;
3198 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
3199 if (SWIG_arg_fail(3)) SWIG_fail
;
3205 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3211 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3216 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3217 if (SWIG_arg_fail(6)) SWIG_fail
;
3222 arg7
= wxString_in_helper(obj6
);
3223 if (arg7
== NULL
) SWIG_fail
;
3228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3231 wxPyEndAllowThreads(__tstate
);
3232 if (PyErr_Occurred()) SWIG_fail
;
3235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3251 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
= NULL
;
3253 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3258 int arg6
= (int) 0 ;
3259 int arg7
= (int) 0 ;
3260 bool arg8
= (bool) false ;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3263 PyObject
* obj2
= 0 ;
3264 PyObject
* obj3
= 0 ;
3265 PyObject
* obj4
= 0 ;
3266 PyObject
* obj5
= 0 ;
3267 PyObject
* obj6
= 0 ;
3268 PyObject
* obj7
= 0 ;
3270 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail
;
3277 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3278 if (SWIG_arg_fail(2)) SWIG_fail
;
3281 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3282 if (SWIG_arg_fail(3)) SWIG_fail
;
3285 arg4
= static_cast<int >(SWIG_As_int(obj3
));
3286 if (SWIG_arg_fail(4)) SWIG_fail
;
3289 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3290 if (SWIG_arg_fail(5)) SWIG_fail
;
3294 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3295 if (SWIG_arg_fail(6)) SWIG_fail
;
3300 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3301 if (SWIG_arg_fail(7)) SWIG_fail
;
3306 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3307 if (SWIG_arg_fail(8)) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
= NULL
;
3326 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3330 PyObject
* obj1
= 0 ;
3331 PyObject
* obj2
= 0 ;
3333 (char *) "self",(char *) "x",(char *) "y", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail
;
3340 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3341 if (SWIG_arg_fail(2)) SWIG_fail
;
3344 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3345 if (SWIG_arg_fail(3)) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3349 (arg1
)->Scroll(arg2
,arg3
);
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
= NULL
;
3363 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3366 PyObject
* obj0
= 0 ;
3367 PyObject
* obj1
= 0 ;
3369 (char *) "self",(char *) "orient", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3374 if (SWIG_arg_fail(1)) SWIG_fail
;
3376 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3377 if (SWIG_arg_fail(2)) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3387 resultobj
= SWIG_From_int(static_cast<int >(result
));
3395 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
= NULL
;
3397 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3402 PyObject
* obj2
= 0 ;
3404 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3409 if (SWIG_arg_fail(1)) SWIG_fail
;
3411 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3412 if (SWIG_arg_fail(2)) SWIG_fail
;
3415 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3416 if (SWIG_arg_fail(3)) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
= NULL
;
3434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3438 PyObject
* obj1
= 0 ;
3439 PyObject
* obj2
= 0 ;
3441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3446 if (SWIG_arg_fail(1)) SWIG_fail
;
3448 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3449 if (SWIG_arg_fail(2)) SWIG_fail
;
3452 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3453 if (SWIG_arg_fail(3)) SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 (arg1
)->SetScrollRate(arg2
,arg3
);
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 Py_INCREF(Py_None
); resultobj
= Py_None
;
3469 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
= NULL
;
3471 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3472 int *arg2
= (int *) 0 ;
3473 int *arg3
= (int *) 0 ;
3478 PyObject
* obj0
= 0 ;
3480 (char *) "self", NULL
3483 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3484 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3487 if (SWIG_arg_fail(1)) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3496 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3497 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3498 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3499 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3506 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
= NULL
;
3508 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3511 PyObject
* obj0
= 0 ;
3512 PyObject
* obj1
= 0 ;
3513 PyObject
* obj2
= 0 ;
3515 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3520 if (SWIG_arg_fail(1)) SWIG_fail
;
3522 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3523 if (SWIG_arg_fail(2)) SWIG_fail
;
3526 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
3527 if (SWIG_arg_fail(3)) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 (arg1
)->EnableScrolling(arg2
,arg3
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 Py_INCREF(Py_None
); resultobj
= Py_None
;
3543 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
= NULL
;
3545 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3546 int *arg2
= (int *) 0 ;
3547 int *arg3
= (int *) 0 ;
3552 PyObject
* obj0
= 0 ;
3554 (char *) "self", NULL
3557 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3558 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3561 if (SWIG_arg_fail(1)) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3569 Py_INCREF(Py_None
); resultobj
= Py_None
;
3570 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3571 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3572 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3573 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3580 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
= NULL
;
3582 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3586 PyObject
* obj1
= 0 ;
3587 PyObject
* obj2
= 0 ;
3589 (char *) "self",(char *) "xs",(char *) "ys", NULL
3592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3594 if (SWIG_arg_fail(1)) SWIG_fail
;
3596 arg2
= static_cast<double >(SWIG_As_double(obj1
));
3597 if (SWIG_arg_fail(2)) SWIG_fail
;
3600 arg3
= static_cast<double >(SWIG_As_double(obj2
));
3601 if (SWIG_arg_fail(3)) SWIG_fail
;
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 (arg1
)->SetScale(arg2
,arg3
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) SWIG_fail
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
= NULL
;
3619 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3623 (char *) "self", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3628 if (SWIG_arg_fail(1)) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3637 resultobj
= SWIG_From_double(static_cast<double >(result
));
3645 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
= NULL
;
3647 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "self", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3656 if (SWIG_arg_fail(1)) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 resultobj
= SWIG_From_double(static_cast<double >(result
));
3673 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3674 PyObject
*resultobj
= NULL
;
3675 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail
;
3687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3697 wxPoint
* resultptr
;
3698 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3707 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3708 PyObject
*resultobj
= NULL
;
3709 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3712 int *arg4
= (int *) 0 ;
3713 int *arg5
= (int *) 0 ;
3718 PyObject
* obj0
= 0 ;
3719 PyObject
* obj1
= 0 ;
3720 PyObject
* obj2
= 0 ;
3722 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3723 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3724 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3726 if (SWIG_arg_fail(1)) SWIG_fail
;
3728 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3729 if (SWIG_arg_fail(2)) SWIG_fail
;
3732 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3733 if (SWIG_arg_fail(3)) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3739 wxPyEndAllowThreads(__tstate
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3742 Py_INCREF(Py_None
); resultobj
= Py_None
;
3743 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3744 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3745 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3746 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3753 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3758 argc
= PyObject_Length(args
);
3759 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3760 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3766 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3775 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3778 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3786 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3794 _v
= SWIG_Check_int(argv
[1]);
3796 _v
= SWIG_Check_int(argv
[2]);
3798 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3804 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3809 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3810 PyObject
*resultobj
= NULL
;
3811 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3815 PyObject
* obj0
= 0 ;
3816 PyObject
* obj1
= 0 ;
3818 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3820 if (SWIG_arg_fail(1)) SWIG_fail
;
3823 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 wxPoint
* resultptr
;
3834 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3843 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3844 PyObject
*resultobj
= NULL
;
3845 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3848 int *arg4
= (int *) 0 ;
3849 int *arg5
= (int *) 0 ;
3854 PyObject
* obj0
= 0 ;
3855 PyObject
* obj1
= 0 ;
3856 PyObject
* obj2
= 0 ;
3858 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3859 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3860 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3862 if (SWIG_arg_fail(1)) SWIG_fail
;
3864 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3865 if (SWIG_arg_fail(2)) SWIG_fail
;
3868 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3869 if (SWIG_arg_fail(3)) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 Py_INCREF(Py_None
); resultobj
= Py_None
;
3879 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3880 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3881 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3882 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3889 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3894 argc
= PyObject_Length(args
);
3895 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3896 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3902 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3911 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3914 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3922 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3930 _v
= SWIG_Check_int(argv
[1]);
3932 _v
= SWIG_Check_int(argv
[2]);
3934 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3940 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3945 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
= NULL
;
3947 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "self", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 (arg1
)->AdjustScrollbars();
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
= NULL
;
3972 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3973 wxScrollWinEvent
*arg2
= 0 ;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3978 (char *) "self",(char *) "event", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3983 if (SWIG_arg_fail(1)) SWIG_fail
;
3985 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3986 if (SWIG_arg_fail(2)) SWIG_fail
;
3988 SWIG_null_ref("wxScrollWinEvent");
3990 if (SWIG_arg_fail(2)) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_From_int(static_cast<int >(result
));
4008 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
= NULL
;
4010 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4011 wxWindow
*arg2
= (wxWindow
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4015 (char *) "self",(char *) "target", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
4019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4020 if (SWIG_arg_fail(1)) SWIG_fail
;
4021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4022 if (SWIG_arg_fail(2)) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 (arg1
)->SetTargetWindow(arg2
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 Py_INCREF(Py_None
); resultobj
= Py_None
;
4037 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
= NULL
;
4039 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4043 (char *) "self", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
4047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4048 if (SWIG_arg_fail(1)) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4057 resultobj
= wxPyMake_wxObject(result
, 0);
4065 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
= NULL
;
4067 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4073 (char *) "self",(char *) "rect", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail
;
4081 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
= NULL
;
4099 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "self", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
4107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4108 if (SWIG_arg_fail(1)) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4118 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
4119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4127 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
= NULL
;
4129 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "dc", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail
;
4141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4142 if (SWIG_arg_fail(2)) SWIG_fail
;
4144 SWIG_null_ref("wxDC");
4146 if (SWIG_arg_fail(2)) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 (arg1
)->DoPrepareDC(*arg2
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
= NULL
;
4164 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4165 wxVisualAttributes result
;
4166 PyObject
* obj0
= 0 ;
4168 (char *) "variant", NULL
4171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4174 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4175 if (SWIG_arg_fail(1)) SWIG_fail
;
4179 if (!wxPyCheckForApp()) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4187 wxVisualAttributes
* resultptr
;
4188 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4197 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4200 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4202 return Py_BuildValue((char *)"");
4204 static int _wrap_FrameNameStr_set(PyObject
*) {
4205 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4210 static PyObject
*_wrap_FrameNameStr_get(void) {
4211 PyObject
*pyobj
= NULL
;
4215 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4217 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4224 static int _wrap_DialogNameStr_set(PyObject
*) {
4225 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4230 static PyObject
*_wrap_DialogNameStr_get(void) {
4231 PyObject
*pyobj
= NULL
;
4235 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4237 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4244 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4245 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4250 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4251 PyObject
*pyobj
= NULL
;
4255 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4257 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4264 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4265 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4270 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4271 PyObject
*pyobj
= NULL
;
4275 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4277 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4284 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
= NULL
;
4286 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4287 bool arg2
= (bool) true ;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj1
= 0 ;
4291 (char *) "self",(char *) "maximize", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4296 if (SWIG_arg_fail(1)) SWIG_fail
;
4299 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4300 if (SWIG_arg_fail(2)) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4305 (arg1
)->Maximize(arg2
);
4307 wxPyEndAllowThreads(__tstate
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4310 Py_INCREF(Py_None
); resultobj
= Py_None
;
4317 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
*resultobj
= NULL
;
4319 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4320 PyObject
* obj0
= 0 ;
4322 (char *) "self", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4327 if (SWIG_arg_fail(1)) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
= NULL
;
4344 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4345 bool arg2
= (bool) true ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4349 (char *) "self",(char *) "iconize", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail
;
4357 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4358 if (SWIG_arg_fail(2)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 (arg1
)->Iconize(arg2
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 Py_INCREF(Py_None
); resultobj
= Py_None
;
4375 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
= NULL
;
4377 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4386 if (SWIG_arg_fail(1)) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4403 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
= NULL
;
4405 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4407 PyObject
* obj0
= 0 ;
4409 (char *) "self", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4414 if (SWIG_arg_fail(1)) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4431 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
= NULL
;
4433 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4437 (char *) "self", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4442 if (SWIG_arg_fail(1)) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4452 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4461 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
*resultobj
= NULL
;
4463 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4465 PyObject
* obj0
= 0 ;
4466 PyObject
* obj1
= 0 ;
4468 (char *) "self",(char *) "icon", NULL
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4473 if (SWIG_arg_fail(1)) SWIG_fail
;
4475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4476 if (SWIG_arg_fail(2)) SWIG_fail
;
4478 SWIG_null_ref("wxIcon");
4480 if (SWIG_arg_fail(2)) SWIG_fail
;
4483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4484 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4486 wxPyEndAllowThreads(__tstate
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 Py_INCREF(Py_None
); resultobj
= Py_None
;
4496 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
*resultobj
= NULL
;
4498 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4499 wxIconBundle
*arg2
= 0 ;
4500 PyObject
* obj0
= 0 ;
4501 PyObject
* obj1
= 0 ;
4503 (char *) "self",(char *) "icons", NULL
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4508 if (SWIG_arg_fail(1)) SWIG_fail
;
4510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4511 if (SWIG_arg_fail(2)) SWIG_fail
;
4513 SWIG_null_ref("wxIconBundle");
4515 if (SWIG_arg_fail(2)) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
= NULL
;
4533 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4535 long arg3
= (long) wxFULLSCREEN_ALL
;
4537 PyObject
* obj0
= 0 ;
4538 PyObject
* obj1
= 0 ;
4539 PyObject
* obj2
= 0 ;
4541 (char *) "self",(char *) "show",(char *) "style", NULL
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4546 if (SWIG_arg_fail(1)) SWIG_fail
;
4548 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4549 if (SWIG_arg_fail(2)) SWIG_fail
;
4553 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4554 if (SWIG_arg_fail(3)) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4573 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= NULL
;
4575 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4577 PyObject
* obj0
= 0 ;
4579 (char *) "self", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4601 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
= NULL
;
4603 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4604 wxString
*arg2
= 0 ;
4605 bool temp2
= false ;
4606 PyObject
* obj0
= 0 ;
4607 PyObject
* obj1
= 0 ;
4609 (char *) "self",(char *) "title", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4614 if (SWIG_arg_fail(1)) SWIG_fail
;
4616 arg2
= wxString_in_helper(obj1
);
4617 if (arg2
== NULL
) SWIG_fail
;
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4622 (arg1
)->SetTitle((wxString
const &)*arg2
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 Py_INCREF(Py_None
); resultobj
= Py_None
;
4642 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= NULL
;
4644 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4648 (char *) "self", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4653 if (SWIG_arg_fail(1)) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4674 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
= NULL
;
4676 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4677 wxRegion
*arg2
= 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4682 (char *) "self",(char *) "region", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4687 if (SWIG_arg_fail(1)) SWIG_fail
;
4689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4690 if (SWIG_arg_fail(2)) SWIG_fail
;
4692 SWIG_null_ref("wxRegion");
4694 if (SWIG_arg_fail(2)) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4712 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
= NULL
;
4714 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4715 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4716 PyObject
* obj0
= 0 ;
4717 PyObject
* obj1
= 0 ;
4719 (char *) "self",(char *) "flags", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail
;
4727 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4728 if (SWIG_arg_fail(2)) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 (arg1
)->RequestUserAttention(arg2
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 Py_INCREF(Py_None
); resultobj
= Py_None
;
4745 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
= NULL
;
4747 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4749 PyObject
* obj0
= 0 ;
4751 (char *) "self", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4756 if (SWIG_arg_fail(1)) SWIG_fail
;
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (bool)(arg1
)->IsActive();
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4773 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
= NULL
;
4775 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4780 (char *) "self",(char *) "on", NULL
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4785 if (SWIG_arg_fail(1)) SWIG_fail
;
4787 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4788 if (SWIG_arg_fail(2)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4797 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
= NULL
;
4806 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4808 PyObject
* obj0
= 0 ;
4810 (char *) "self", NULL
4813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4815 if (SWIG_arg_fail(1)) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4832 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4834 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4835 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4837 return Py_BuildValue((char *)"");
4839 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
= NULL
;
4841 wxWindow
*arg1
= (wxWindow
*) 0 ;
4842 int arg2
= (int) (int)-1 ;
4843 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4844 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4845 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4846 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4847 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4848 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4849 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4850 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4851 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4853 bool temp3
= false ;
4856 bool temp7
= false ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4860 PyObject
* obj3
= 0 ;
4861 PyObject
* obj4
= 0 ;
4862 PyObject
* obj5
= 0 ;
4863 PyObject
* obj6
= 0 ;
4865 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4870 if (SWIG_arg_fail(1)) SWIG_fail
;
4873 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4874 if (SWIG_arg_fail(2)) SWIG_fail
;
4879 arg3
= wxString_in_helper(obj2
);
4880 if (arg3
== NULL
) SWIG_fail
;
4887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4898 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4899 if (SWIG_arg_fail(6)) SWIG_fail
;
4904 arg7
= wxString_in_helper(obj6
);
4905 if (arg7
== NULL
) SWIG_fail
;
4910 if (!wxPyCheckForApp()) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4940 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4941 PyObject
*resultobj
= NULL
;
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4949 if (!wxPyCheckForApp()) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (wxFrame
*)new wxFrame();
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4963 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
= NULL
;
4965 wxFrame
*arg1
= (wxFrame
*) 0 ;
4966 wxWindow
*arg2
= (wxWindow
*) 0 ;
4967 int arg3
= (int) (int)-1 ;
4968 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4969 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4970 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4971 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4972 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4973 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4974 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4975 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4976 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4978 bool temp4
= false ;
4981 bool temp8
= false ;
4982 PyObject
* obj0
= 0 ;
4983 PyObject
* obj1
= 0 ;
4984 PyObject
* obj2
= 0 ;
4985 PyObject
* obj3
= 0 ;
4986 PyObject
* obj4
= 0 ;
4987 PyObject
* obj5
= 0 ;
4988 PyObject
* obj6
= 0 ;
4989 PyObject
* obj7
= 0 ;
4991 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4996 if (SWIG_arg_fail(1)) SWIG_fail
;
4997 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4998 if (SWIG_arg_fail(2)) SWIG_fail
;
5001 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5002 if (SWIG_arg_fail(3)) SWIG_fail
;
5007 arg4
= wxString_in_helper(obj3
);
5008 if (arg4
== NULL
) SWIG_fail
;
5015 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5021 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5026 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5027 if (SWIG_arg_fail(7)) SWIG_fail
;
5032 arg8
= wxString_in_helper(obj7
);
5033 if (arg8
== NULL
) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5069 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= NULL
;
5071 wxFrame
*arg1
= (wxFrame
*) 0 ;
5073 PyObject
* obj0
= 0 ;
5075 (char *) "self", NULL
5078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5080 if (SWIG_arg_fail(1)) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5089 wxPoint
* resultptr
;
5090 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5099 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5100 PyObject
*resultobj
= NULL
;
5101 wxFrame
*arg1
= (wxFrame
*) 0 ;
5102 PyObject
* obj0
= 0 ;
5104 (char *) "self", NULL
5107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5109 if (SWIG_arg_fail(1)) SWIG_fail
;
5111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5112 (arg1
)->SendSizeEvent();
5114 wxPyEndAllowThreads(__tstate
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5117 Py_INCREF(Py_None
); resultobj
= Py_None
;
5124 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
*resultobj
= NULL
;
5126 wxFrame
*arg1
= (wxFrame
*) 0 ;
5127 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5131 (char *) "self",(char *) "menubar", NULL
5134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5136 if (SWIG_arg_fail(1)) SWIG_fail
;
5137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5138 if (SWIG_arg_fail(2)) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->SetMenuBar(arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
= NULL
;
5155 wxFrame
*arg1
= (wxFrame
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5159 (char *) "self", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5164 if (SWIG_arg_fail(1)) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= wxPyMake_wxObject(result
, 0);
5181 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
= NULL
;
5183 wxFrame
*arg1
= (wxFrame
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5189 (char *) "self",(char *) "winid", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5194 if (SWIG_arg_fail(1)) SWIG_fail
;
5196 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5197 if (SWIG_arg_fail(2)) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5215 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
= NULL
;
5217 wxFrame
*arg1
= (wxFrame
*) 0 ;
5218 int arg2
= (int) 1 ;
5219 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5220 int arg4
= (int) 0 ;
5221 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5222 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5223 wxStatusBar
*result
;
5224 bool temp5
= false ;
5225 PyObject
* obj0
= 0 ;
5226 PyObject
* obj1
= 0 ;
5227 PyObject
* obj2
= 0 ;
5228 PyObject
* obj3
= 0 ;
5229 PyObject
* obj4
= 0 ;
5231 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
= static_cast<int >(SWIG_As_int(obj1
));
5240 if (SWIG_arg_fail(2)) SWIG_fail
;
5245 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5246 if (SWIG_arg_fail(3)) SWIG_fail
;
5251 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5252 if (SWIG_arg_fail(4)) SWIG_fail
;
5257 arg5
= wxString_in_helper(obj4
);
5258 if (arg5
== NULL
) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5270 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5286 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= NULL
;
5288 wxFrame
*arg1
= (wxFrame
*) 0 ;
5289 wxStatusBar
*result
;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5297 if (SWIG_arg_fail(1)) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5314 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
= NULL
;
5316 wxFrame
*arg1
= (wxFrame
*) 0 ;
5317 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5319 PyObject
* obj1
= 0 ;
5321 (char *) "self",(char *) "statBar", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5326 if (SWIG_arg_fail(1)) SWIG_fail
;
5327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5328 if (SWIG_arg_fail(2)) SWIG_fail
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 (arg1
)->SetStatusBar(arg2
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5336 Py_INCREF(Py_None
); resultobj
= Py_None
;
5343 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
= NULL
;
5345 wxFrame
*arg1
= (wxFrame
*) 0 ;
5346 wxString
*arg2
= 0 ;
5347 int arg3
= (int) 0 ;
5348 bool temp2
= false ;
5349 PyObject
* obj0
= 0 ;
5350 PyObject
* obj1
= 0 ;
5351 PyObject
* obj2
= 0 ;
5353 (char *) "self",(char *) "text",(char *) "number", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5358 if (SWIG_arg_fail(1)) SWIG_fail
;
5360 arg2
= wxString_in_helper(obj1
);
5361 if (arg2
== NULL
) SWIG_fail
;
5366 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5367 if (SWIG_arg_fail(3)) SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5392 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
= NULL
;
5394 wxFrame
*arg1
= (wxFrame
*) 0 ;
5396 int *arg3
= (int *) 0 ;
5397 PyObject
* obj0
= 0 ;
5398 PyObject
* obj1
= 0 ;
5400 (char *) "self",(char *) "widths", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail
;
5407 arg2
= PyList_Size(obj1
);
5408 arg3
= int_LIST_helper(obj1
);
5409 if (arg3
== NULL
) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 Py_INCREF(Py_None
); resultobj
= Py_None
;
5420 if (arg3
) delete [] arg3
;
5425 if (arg3
) delete [] arg3
;
5431 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
= NULL
;
5433 wxFrame
*arg1
= (wxFrame
*) 0 ;
5434 wxString
*arg2
= 0 ;
5435 int arg3
= (int) 0 ;
5436 bool temp2
= false ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 PyObject
* obj2
= 0 ;
5441 (char *) "self",(char *) "text",(char *) "number", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5446 if (SWIG_arg_fail(1)) SWIG_fail
;
5448 arg2
= wxString_in_helper(obj1
);
5449 if (arg2
== NULL
) SWIG_fail
;
5454 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5455 if (SWIG_arg_fail(3)) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 Py_INCREF(Py_None
); resultobj
= Py_None
;
5480 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
= NULL
;
5482 wxFrame
*arg1
= (wxFrame
*) 0 ;
5483 int arg2
= (int) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5487 (char *) "self",(char *) "number", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5492 if (SWIG_arg_fail(1)) SWIG_fail
;
5495 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5496 if (SWIG_arg_fail(2)) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 (arg1
)->PopStatusText(arg2
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 Py_INCREF(Py_None
); resultobj
= Py_None
;
5513 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5514 PyObject
*resultobj
= NULL
;
5515 wxFrame
*arg1
= (wxFrame
*) 0 ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5520 (char *) "self",(char *) "n", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5525 if (SWIG_arg_fail(1)) SWIG_fail
;
5527 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5528 if (SWIG_arg_fail(2)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->SetStatusBarPane(arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
= NULL
;
5546 wxFrame
*arg1
= (wxFrame
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5550 (char *) "self", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5555 if (SWIG_arg_fail(1)) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_From_int(static_cast<int >(result
));
5572 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
= NULL
;
5574 wxFrame
*arg1
= (wxFrame
*) 0 ;
5575 long arg2
= (long) -1 ;
5576 int arg3
= (int) -1 ;
5577 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5578 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5580 bool temp4
= false ;
5581 PyObject
* obj0
= 0 ;
5582 PyObject
* obj1
= 0 ;
5583 PyObject
* obj2
= 0 ;
5584 PyObject
* obj3
= 0 ;
5586 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5591 if (SWIG_arg_fail(1)) SWIG_fail
;
5594 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5595 if (SWIG_arg_fail(2)) SWIG_fail
;
5600 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5601 if (SWIG_arg_fail(3)) SWIG_fail
;
5606 arg4
= wxString_in_helper(obj3
);
5607 if (arg4
== NULL
) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5635 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
= NULL
;
5637 wxFrame
*arg1
= (wxFrame
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5641 (char *) "self", NULL
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5646 if (SWIG_arg_fail(1)) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5655 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5663 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5664 PyObject
*resultobj
= NULL
;
5665 wxFrame
*arg1
= (wxFrame
*) 0 ;
5666 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5667 PyObject
* obj0
= 0 ;
5668 PyObject
* obj1
= 0 ;
5670 (char *) "self",(char *) "toolbar", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5675 if (SWIG_arg_fail(1)) SWIG_fail
;
5676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5677 if (SWIG_arg_fail(2)) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->SetToolBar(arg2
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
= NULL
;
5694 wxFrame
*arg1
= (wxFrame
*) 0 ;
5695 wxString
*arg2
= 0 ;
5697 bool temp2
= false ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5700 PyObject
* obj2
= 0 ;
5702 (char *) "self",(char *) "text",(char *) "show", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5707 if (SWIG_arg_fail(1)) SWIG_fail
;
5709 arg2
= wxString_in_helper(obj1
);
5710 if (arg2
== NULL
) SWIG_fail
;
5714 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5715 if (SWIG_arg_fail(3)) SWIG_fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 Py_INCREF(Py_None
); resultobj
= Py_None
;
5739 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
= NULL
;
5741 wxFrame
*arg1
= (wxFrame
*) 0 ;
5742 wxMenu
*arg2
= (wxMenu
*) NULL
;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5746 (char *) "self",(char *) "menu", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail
;
5753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5754 if (SWIG_arg_fail(2)) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 (arg1
)->DoMenuUpdates(arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
= NULL
;
5772 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5773 wxVisualAttributes result
;
5774 PyObject
* obj0
= 0 ;
5776 (char *) "variant", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5782 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5783 if (SWIG_arg_fail(1)) SWIG_fail
;
5787 if (!wxPyCheckForApp()) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 wxVisualAttributes
* resultptr
;
5796 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5805 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5808 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5810 return Py_BuildValue((char *)"");
5812 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
= NULL
;
5814 wxWindow
*arg1
= (wxWindow
*) 0 ;
5815 int arg2
= (int) (int)-1 ;
5816 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5817 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5822 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5823 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5824 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5826 bool temp3
= false ;
5829 bool temp7
= false ;
5830 PyObject
* obj0
= 0 ;
5831 PyObject
* obj1
= 0 ;
5832 PyObject
* obj2
= 0 ;
5833 PyObject
* obj3
= 0 ;
5834 PyObject
* obj4
= 0 ;
5835 PyObject
* obj5
= 0 ;
5836 PyObject
* obj6
= 0 ;
5838 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5843 if (SWIG_arg_fail(1)) SWIG_fail
;
5846 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5847 if (SWIG_arg_fail(2)) SWIG_fail
;
5852 arg3
= wxString_in_helper(obj2
);
5853 if (arg3
== NULL
) SWIG_fail
;
5860 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5866 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5871 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5872 if (SWIG_arg_fail(6)) SWIG_fail
;
5877 arg7
= wxString_in_helper(obj6
);
5878 if (arg7
== NULL
) SWIG_fail
;
5883 if (!wxPyCheckForApp()) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) SWIG_fail
;
5890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5913 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
= NULL
;
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5922 if (!wxPyCheckForApp()) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (wxDialog
*)new wxDialog();
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5936 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
= NULL
;
5938 wxDialog
*arg1
= (wxDialog
*) 0 ;
5939 wxWindow
*arg2
= (wxWindow
*) 0 ;
5940 int arg3
= (int) (int)-1 ;
5941 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5942 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5943 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5944 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5945 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5946 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5947 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5948 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5949 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5951 bool temp4
= false ;
5954 bool temp8
= false ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5957 PyObject
* obj2
= 0 ;
5958 PyObject
* obj3
= 0 ;
5959 PyObject
* obj4
= 0 ;
5960 PyObject
* obj5
= 0 ;
5961 PyObject
* obj6
= 0 ;
5962 PyObject
* obj7
= 0 ;
5964 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail
;
5970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5971 if (SWIG_arg_fail(2)) SWIG_fail
;
5974 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5975 if (SWIG_arg_fail(3)) SWIG_fail
;
5980 arg4
= wxString_in_helper(obj3
);
5981 if (arg4
== NULL
) SWIG_fail
;
5988 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5994 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5999 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6000 if (SWIG_arg_fail(7)) SWIG_fail
;
6005 arg8
= wxString_in_helper(obj7
);
6006 if (arg8
== NULL
) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6042 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
= NULL
;
6044 wxDialog
*arg1
= (wxDialog
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6049 (char *) "self",(char *) "returnCode", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
6053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6056 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6057 if (SWIG_arg_fail(2)) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 (arg1
)->SetReturnCode(arg2
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 Py_INCREF(Py_None
); resultobj
= Py_None
;
6073 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
= NULL
;
6075 wxDialog
*arg1
= (wxDialog
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6079 (char *) "self", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6084 if (SWIG_arg_fail(1)) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_From_int(static_cast<int >(result
));
6101 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
= NULL
;
6103 wxDialog
*arg1
= (wxDialog
*) 0 ;
6104 wxString
*arg2
= 0 ;
6106 bool temp2
= false ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6110 (char *) "self",(char *) "message", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6115 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 arg2
= wxString_in_helper(obj1
);
6118 if (arg2
== NULL
) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6145 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
= NULL
;
6147 wxDialog
*arg1
= (wxDialog
*) 0 ;
6149 bool arg3
= (bool) false ;
6150 int arg4
= (int) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6154 PyObject
* obj2
= 0 ;
6155 PyObject
* obj3
= 0 ;
6157 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6162 if (SWIG_arg_fail(1)) SWIG_fail
;
6164 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6165 if (SWIG_arg_fail(2)) SWIG_fail
;
6169 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6170 if (SWIG_arg_fail(3)) SWIG_fail
;
6175 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6176 if (SWIG_arg_fail(4)) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6195 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= NULL
;
6197 wxDialog
*arg1
= (wxDialog
*) 0 ;
6199 wxStdDialogButtonSizer
*result
;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "flags", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6208 if (SWIG_arg_fail(1)) SWIG_fail
;
6210 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6211 if (SWIG_arg_fail(2)) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6227 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
*resultobj
= NULL
;
6229 wxDialog
*arg1
= (wxDialog
*) 0 ;
6231 PyObject
* obj0
= 0 ;
6233 (char *) "self", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6238 if (SWIG_arg_fail(1)) SWIG_fail
;
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6255 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
= NULL
;
6257 wxDialog
*arg1
= (wxDialog
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "self", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6266 if (SWIG_arg_fail(1)) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (int)(arg1
)->ShowModal();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= SWIG_From_int(static_cast<int >(result
));
6283 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
= NULL
;
6285 wxDialog
*arg1
= (wxDialog
*) 0 ;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6290 (char *) "self",(char *) "retCode", NULL
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6295 if (SWIG_arg_fail(1)) SWIG_fail
;
6297 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6298 if (SWIG_arg_fail(2)) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 (arg1
)->EndModal(arg2
);
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 Py_INCREF(Py_None
); resultobj
= Py_None
;
6314 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
= NULL
;
6316 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6317 wxVisualAttributes result
;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "variant", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6326 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6327 if (SWIG_arg_fail(1)) SWIG_fail
;
6331 if (!wxPyCheckForApp()) SWIG_fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6333 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 wxVisualAttributes
* resultptr
;
6340 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6349 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6352 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6354 return Py_BuildValue((char *)"");
6356 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
= NULL
;
6358 wxWindow
*arg1
= (wxWindow
*) 0 ;
6359 int arg2
= (int) (int)-1 ;
6360 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6361 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6366 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6367 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6369 wxMiniFrame
*result
;
6370 bool temp3
= false ;
6373 bool temp7
= false ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6377 PyObject
* obj3
= 0 ;
6378 PyObject
* obj4
= 0 ;
6379 PyObject
* obj5
= 0 ;
6380 PyObject
* obj6
= 0 ;
6382 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6387 if (SWIG_arg_fail(1)) SWIG_fail
;
6390 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6391 if (SWIG_arg_fail(2)) SWIG_fail
;
6396 arg3
= wxString_in_helper(obj2
);
6397 if (arg3
== NULL
) SWIG_fail
;
6404 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6410 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6415 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6416 if (SWIG_arg_fail(6)) SWIG_fail
;
6421 arg7
= wxString_in_helper(obj6
);
6422 if (arg7
== NULL
) SWIG_fail
;
6427 if (!wxPyCheckForApp()) SWIG_fail
;
6428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6429 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6431 wxPyEndAllowThreads(__tstate
);
6432 if (PyErr_Occurred()) SWIG_fail
;
6434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6457 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
= NULL
;
6459 wxMiniFrame
*result
;
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6466 if (!wxPyCheckForApp()) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (wxMiniFrame
*)new wxMiniFrame();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6480 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= NULL
;
6482 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6483 wxWindow
*arg2
= (wxWindow
*) 0 ;
6484 int arg3
= (int) (int)-1 ;
6485 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6486 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6487 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6488 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6489 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6490 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6491 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6492 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6495 bool temp4
= false ;
6498 bool temp8
= false ;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 PyObject
* obj2
= 0 ;
6502 PyObject
* obj3
= 0 ;
6503 PyObject
* obj4
= 0 ;
6504 PyObject
* obj5
= 0 ;
6505 PyObject
* obj6
= 0 ;
6506 PyObject
* obj7
= 0 ;
6508 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6513 if (SWIG_arg_fail(1)) SWIG_fail
;
6514 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6515 if (SWIG_arg_fail(2)) SWIG_fail
;
6518 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6519 if (SWIG_arg_fail(3)) SWIG_fail
;
6524 arg4
= wxString_in_helper(obj3
);
6525 if (arg4
== NULL
) SWIG_fail
;
6532 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6538 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6543 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6544 if (SWIG_arg_fail(7)) SWIG_fail
;
6549 arg8
= wxString_in_helper(obj7
);
6550 if (arg8
== NULL
) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6586 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6589 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6591 return Py_BuildValue((char *)"");
6593 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
= NULL
;
6595 wxBitmap
*arg1
= 0 ;
6596 wxWindow
*arg2
= (wxWindow
*) 0 ;
6598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6602 long arg6
= (long) wxNO_BORDER
;
6603 wxSplashScreenWindow
*result
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6609 PyObject
* obj3
= 0 ;
6610 PyObject
* obj4
= 0 ;
6611 PyObject
* obj5
= 0 ;
6613 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6619 if (SWIG_arg_fail(1)) SWIG_fail
;
6621 SWIG_null_ref("wxBitmap");
6623 if (SWIG_arg_fail(1)) SWIG_fail
;
6625 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6626 if (SWIG_arg_fail(2)) SWIG_fail
;
6628 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6629 if (SWIG_arg_fail(3)) SWIG_fail
;
6634 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6640 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6645 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6646 if (SWIG_arg_fail(6)) SWIG_fail
;
6650 if (!wxPyCheckForApp()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6664 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
= NULL
;
6666 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6667 wxBitmap
*arg2
= 0 ;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6671 (char *) "self",(char *) "bitmap", NULL
6674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6676 if (SWIG_arg_fail(1)) SWIG_fail
;
6678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6679 if (SWIG_arg_fail(2)) SWIG_fail
;
6681 SWIG_null_ref("wxBitmap");
6683 if (SWIG_arg_fail(2)) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 Py_INCREF(Py_None
); resultobj
= Py_None
;
6699 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
= NULL
;
6701 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6705 (char *) "self", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6710 if (SWIG_arg_fail(1)) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6715 result
= (wxBitmap
*) &_result_ref
;
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6722 wxBitmap
* resultptr
= new wxBitmap(*result
);
6723 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6731 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6736 return Py_BuildValue((char *)"");
6738 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= NULL
;
6740 wxBitmap
*arg1
= 0 ;
6743 wxWindow
*arg4
= (wxWindow
*) 0 ;
6744 int arg5
= (int) -1 ;
6745 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6746 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6747 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6748 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6749 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6750 wxSplashScreen
*result
;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6755 PyObject
* obj2
= 0 ;
6756 PyObject
* obj3
= 0 ;
6757 PyObject
* obj4
= 0 ;
6758 PyObject
* obj5
= 0 ;
6759 PyObject
* obj6
= 0 ;
6760 PyObject
* obj7
= 0 ;
6762 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail
;
6770 SWIG_null_ref("wxBitmap");
6772 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6776 if (SWIG_arg_fail(2)) SWIG_fail
;
6779 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6780 if (SWIG_arg_fail(3)) SWIG_fail
;
6782 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6783 if (SWIG_arg_fail(4)) SWIG_fail
;
6786 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6787 if (SWIG_arg_fail(5)) SWIG_fail
;
6793 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6799 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6804 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6805 if (SWIG_arg_fail(8)) SWIG_fail
;
6809 if (!wxPyCheckForApp()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6823 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
= NULL
;
6825 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6827 PyObject
* obj0
= 0 ;
6829 (char *) "self", NULL
6832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6834 if (SWIG_arg_fail(1)) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= SWIG_From_long(static_cast<long >(result
));
6851 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
= NULL
;
6853 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6854 wxSplashScreenWindow
*result
;
6855 PyObject
* obj0
= 0 ;
6857 (char *) "self", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6877 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
*resultobj
= NULL
;
6879 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6881 PyObject
* obj0
= 0 ;
6883 (char *) "self", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail
;
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 resultobj
= SWIG_From_int(static_cast<int >(result
));
6905 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6908 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6910 return Py_BuildValue((char *)"");
6912 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
*resultobj
= NULL
;
6914 wxWindow
*arg1
= (wxWindow
*) 0 ;
6915 int arg2
= (int) -1 ;
6916 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6917 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6918 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6919 wxStatusBar
*result
;
6920 bool temp4
= false ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6923 PyObject
* obj2
= 0 ;
6924 PyObject
* obj3
= 0 ;
6926 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6931 if (SWIG_arg_fail(1)) SWIG_fail
;
6934 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6935 if (SWIG_arg_fail(2)) SWIG_fail
;
6940 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6941 if (SWIG_arg_fail(3)) SWIG_fail
;
6946 arg4
= wxString_in_helper(obj3
);
6947 if (arg4
== NULL
) SWIG_fail
;
6952 if (!wxPyCheckForApp()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6974 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= NULL
;
6976 wxStatusBar
*result
;
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6983 if (!wxPyCheckForApp()) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= (wxStatusBar
*)new wxStatusBar();
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6997 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
= NULL
;
6999 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7000 wxWindow
*arg2
= (wxWindow
*) 0 ;
7001 int arg3
= (int) -1 ;
7002 long arg4
= (long) wxST_SIZEGRIP
;
7003 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
7004 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
7006 bool temp5
= false ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7009 PyObject
* obj2
= 0 ;
7010 PyObject
* obj3
= 0 ;
7011 PyObject
* obj4
= 0 ;
7013 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7018 if (SWIG_arg_fail(1)) SWIG_fail
;
7019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7020 if (SWIG_arg_fail(2)) SWIG_fail
;
7023 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7024 if (SWIG_arg_fail(3)) SWIG_fail
;
7029 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7030 if (SWIG_arg_fail(4)) SWIG_fail
;
7035 arg5
= wxString_in_helper(obj4
);
7036 if (arg5
== NULL
) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7064 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
*resultobj
= NULL
;
7066 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7067 int arg2
= (int) 1 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7071 (char *) "self",(char *) "number", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",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
;
7079 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7080 if (SWIG_arg_fail(2)) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 (arg1
)->SetFieldsCount(arg2
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
= NULL
;
7099 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7103 (char *) "self", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7108 if (SWIG_arg_fail(1)) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_From_int(static_cast<int >(result
));
7125 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
= NULL
;
7127 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7128 wxString
*arg2
= 0 ;
7129 int arg3
= (int) 0 ;
7130 bool temp2
= false ;
7131 PyObject
* obj0
= 0 ;
7132 PyObject
* obj1
= 0 ;
7133 PyObject
* obj2
= 0 ;
7135 (char *) "self",(char *) "text",(char *) "number", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7140 if (SWIG_arg_fail(1)) SWIG_fail
;
7142 arg2
= wxString_in_helper(obj1
);
7143 if (arg2
== NULL
) SWIG_fail
;
7148 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7149 if (SWIG_arg_fail(3)) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
= NULL
;
7176 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7177 int arg2
= (int) 0 ;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7182 (char *) "self",(char *) "number", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7187 if (SWIG_arg_fail(1)) SWIG_fail
;
7190 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7191 if (SWIG_arg_fail(2)) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7214 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
= NULL
;
7216 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7217 wxString
*arg2
= 0 ;
7218 int arg3
= (int) 0 ;
7219 bool temp2
= false ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7222 PyObject
* obj2
= 0 ;
7224 (char *) "self",(char *) "text",(char *) "number", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7229 if (SWIG_arg_fail(1)) SWIG_fail
;
7231 arg2
= wxString_in_helper(obj1
);
7232 if (arg2
== NULL
) SWIG_fail
;
7237 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7238 if (SWIG_arg_fail(3)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
= NULL
;
7265 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7266 int arg2
= (int) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7270 (char *) "self",(char *) "number", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7275 if (SWIG_arg_fail(1)) SWIG_fail
;
7278 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7279 if (SWIG_arg_fail(2)) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 (arg1
)->PopStatusText(arg2
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 Py_INCREF(Py_None
); resultobj
= Py_None
;
7296 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= NULL
;
7298 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7300 int *arg3
= (int *) 0 ;
7301 PyObject
* obj0
= 0 ;
7302 PyObject
* obj1
= 0 ;
7304 (char *) "self",(char *) "widths", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7309 if (SWIG_arg_fail(1)) SWIG_fail
;
7311 arg2
= PyList_Size(obj1
);
7312 arg3
= int_LIST_helper(obj1
);
7313 if (arg3
== NULL
) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 if (arg3
) delete [] arg3
;
7329 if (arg3
) delete [] arg3
;
7335 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
= NULL
;
7337 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7339 int *arg3
= (int *) 0 ;
7340 PyObject
* obj0
= 0 ;
7341 PyObject
* obj1
= 0 ;
7343 (char *) "self",(char *) "styles", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7348 if (SWIG_arg_fail(1)) SWIG_fail
;
7350 arg2
= PyList_Size(obj1
);
7351 arg3
= int_LIST_helper(obj1
);
7352 if (arg3
== NULL
) SWIG_fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 Py_INCREF(Py_None
); resultobj
= Py_None
;
7363 if (arg3
) delete [] arg3
;
7368 if (arg3
) delete [] arg3
;
7374 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
= NULL
;
7376 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7382 (char *) "self",(char *) "i", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail
;
7389 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7390 if (SWIG_arg_fail(2)) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7401 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7410 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
= NULL
;
7412 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7417 (char *) "self",(char *) "height", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7422 if (SWIG_arg_fail(1)) SWIG_fail
;
7424 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7425 if (SWIG_arg_fail(2)) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 (arg1
)->SetMinHeight(arg2
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 Py_INCREF(Py_None
); resultobj
= Py_None
;
7441 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7442 PyObject
*resultobj
= NULL
;
7443 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7447 (char *) "self", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7452 if (SWIG_arg_fail(1)) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 resultobj
= SWIG_From_int(static_cast<int >(result
));
7469 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
= NULL
;
7471 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7480 if (SWIG_arg_fail(1)) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_From_int(static_cast<int >(result
));
7497 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
= NULL
;
7499 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7500 wxVisualAttributes result
;
7501 PyObject
* obj0
= 0 ;
7503 (char *) "variant", NULL
7506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7509 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7514 if (!wxPyCheckForApp()) SWIG_fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7522 wxVisualAttributes
* resultptr
;
7523 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7532 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7535 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7537 return Py_BuildValue((char *)"");
7539 static int _wrap_SplitterNameStr_set(PyObject
*) {
7540 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7545 static PyObject
*_wrap_SplitterNameStr_get(void) {
7546 PyObject
*pyobj
= NULL
;
7550 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7552 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7559 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7560 PyObject
*resultobj
= NULL
;
7561 wxWindow
*arg1
= (wxWindow
*) 0 ;
7562 int arg2
= (int) -1 ;
7563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7567 long arg5
= (long) wxSP_3D
;
7568 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7569 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7570 wxSplitterWindow
*result
;
7573 bool temp6
= false ;
7574 PyObject
* obj0
= 0 ;
7575 PyObject
* obj1
= 0 ;
7576 PyObject
* obj2
= 0 ;
7577 PyObject
* obj3
= 0 ;
7578 PyObject
* obj4
= 0 ;
7579 PyObject
* obj5
= 0 ;
7581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7586 if (SWIG_arg_fail(1)) SWIG_fail
;
7589 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7590 if (SWIG_arg_fail(2)) SWIG_fail
;
7596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7607 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7608 if (SWIG_arg_fail(5)) SWIG_fail
;
7613 arg6
= wxString_in_helper(obj5
);
7614 if (arg6
== NULL
) SWIG_fail
;
7619 if (!wxPyCheckForApp()) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7641 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
= NULL
;
7643 wxSplitterWindow
*result
;
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7650 if (!wxPyCheckForApp()) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7664 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
= NULL
;
7666 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7667 wxWindow
*arg2
= (wxWindow
*) 0 ;
7668 int arg3
= (int) -1 ;
7669 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7670 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7671 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7672 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7673 long arg6
= (long) wxSP_3D
;
7674 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7675 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7679 bool temp7
= false ;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7682 PyObject
* obj2
= 0 ;
7683 PyObject
* obj3
= 0 ;
7684 PyObject
* obj4
= 0 ;
7685 PyObject
* obj5
= 0 ;
7686 PyObject
* obj6
= 0 ;
7688 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7693 if (SWIG_arg_fail(1)) SWIG_fail
;
7694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7695 if (SWIG_arg_fail(2)) SWIG_fail
;
7698 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7699 if (SWIG_arg_fail(3)) SWIG_fail
;
7705 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7711 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7716 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7717 if (SWIG_arg_fail(6)) SWIG_fail
;
7722 arg7
= wxString_in_helper(obj6
);
7723 if (arg7
== NULL
) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7751 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7752 PyObject
*resultobj
= NULL
;
7753 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "self", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7762 if (SWIG_arg_fail(1)) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 resultobj
= wxPyMake_wxObject(result
, 0);
7779 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
= NULL
;
7781 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7790 if (SWIG_arg_fail(1)) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= wxPyMake_wxObject(result
, 0);
7807 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
= NULL
;
7809 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7814 (char *) "self",(char *) "mode", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7822 if (SWIG_arg_fail(2)) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 (arg1
)->SetSplitMode(arg2
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
= NULL
;
7840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7849 if (SWIG_arg_fail(1)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_From_int((result
));
7864 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7865 PyObject
*resultobj
= NULL
;
7866 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7867 wxWindow
*arg2
= (wxWindow
*) 0 ;
7868 PyObject
* obj0
= 0 ;
7869 PyObject
* obj1
= 0 ;
7871 (char *) "self",(char *) "window", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7876 if (SWIG_arg_fail(1)) SWIG_fail
;
7877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7878 if (SWIG_arg_fail(2)) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 (arg1
)->Initialize(arg2
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 Py_INCREF(Py_None
); resultobj
= Py_None
;
7893 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
= NULL
;
7895 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7896 wxWindow
*arg2
= (wxWindow
*) 0 ;
7897 wxWindow
*arg3
= (wxWindow
*) 0 ;
7898 int arg4
= (int) 0 ;
7900 PyObject
* obj0
= 0 ;
7901 PyObject
* obj1
= 0 ;
7902 PyObject
* obj2
= 0 ;
7903 PyObject
* obj3
= 0 ;
7905 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7910 if (SWIG_arg_fail(1)) SWIG_fail
;
7911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7912 if (SWIG_arg_fail(2)) SWIG_fail
;
7913 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7914 if (SWIG_arg_fail(3)) SWIG_fail
;
7917 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7918 if (SWIG_arg_fail(4)) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7937 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
= NULL
;
7939 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7940 wxWindow
*arg2
= (wxWindow
*) 0 ;
7941 wxWindow
*arg3
= (wxWindow
*) 0 ;
7942 int arg4
= (int) 0 ;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7946 PyObject
* obj2
= 0 ;
7947 PyObject
* obj3
= 0 ;
7949 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail
;
7955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7956 if (SWIG_arg_fail(2)) SWIG_fail
;
7957 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7958 if (SWIG_arg_fail(3)) SWIG_fail
;
7961 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7962 if (SWIG_arg_fail(4)) SWIG_fail
;
7966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7967 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7969 wxPyEndAllowThreads(__tstate
);
7970 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7981 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
= NULL
;
7983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7984 wxWindow
*arg2
= (wxWindow
*) NULL
;
7986 PyObject
* obj0
= 0 ;
7987 PyObject
* obj1
= 0 ;
7989 (char *) "self",(char *) "toRemove", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7994 if (SWIG_arg_fail(1)) SWIG_fail
;
7996 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7997 if (SWIG_arg_fail(2)) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8001 result
= (bool)(arg1
)->Unsplit(arg2
);
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8015 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
= NULL
;
8017 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8018 wxWindow
*arg2
= (wxWindow
*) 0 ;
8019 wxWindow
*arg3
= (wxWindow
*) 0 ;
8021 PyObject
* obj0
= 0 ;
8022 PyObject
* obj1
= 0 ;
8023 PyObject
* obj2
= 0 ;
8025 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail
;
8031 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8032 if (SWIG_arg_fail(2)) SWIG_fail
;
8033 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8034 if (SWIG_arg_fail(3)) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8051 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8052 PyObject
*resultobj
= NULL
;
8053 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8054 PyObject
* obj0
= 0 ;
8056 (char *) "self", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
8060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8061 if (SWIG_arg_fail(1)) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 (arg1
)->UpdateSize();
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8076 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
= NULL
;
8078 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "self", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8104 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
= NULL
;
8106 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8111 (char *) "self",(char *) "width", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail
;
8118 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8119 if (SWIG_arg_fail(2)) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetSashSize(arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8135 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
= NULL
;
8137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8139 PyObject
* obj0
= 0 ;
8140 PyObject
* obj1
= 0 ;
8142 (char *) "self",(char *) "width", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8147 if (SWIG_arg_fail(1)) SWIG_fail
;
8149 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8150 if (SWIG_arg_fail(2)) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 (arg1
)->SetBorderSize(arg2
);
8156 wxPyEndAllowThreads(__tstate
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 Py_INCREF(Py_None
); resultobj
= Py_None
;
8166 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8167 PyObject
*resultobj
= NULL
;
8168 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8170 PyObject
* obj0
= 0 ;
8172 (char *) "self", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8177 if (SWIG_arg_fail(1)) SWIG_fail
;
8179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8180 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_From_int(static_cast<int >(result
));
8194 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8195 PyObject
*resultobj
= NULL
;
8196 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8200 (char *) "self", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8205 if (SWIG_arg_fail(1)) SWIG_fail
;
8207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8208 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8214 resultobj
= SWIG_From_int(static_cast<int >(result
));
8222 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= NULL
;
8224 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8226 bool arg3
= (bool) true ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8229 PyObject
* obj2
= 0 ;
8231 (char *) "self",(char *) "position",(char *) "redraw", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8236 if (SWIG_arg_fail(1)) SWIG_fail
;
8238 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8239 if (SWIG_arg_fail(2)) SWIG_fail
;
8243 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8244 if (SWIG_arg_fail(3)) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 (arg1
)->SetSashPosition(arg2
,arg3
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 Py_INCREF(Py_None
); resultobj
= Py_None
;
8261 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
= NULL
;
8263 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8265 PyObject
* obj0
= 0 ;
8267 (char *) "self", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8272 if (SWIG_arg_fail(1)) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= SWIG_From_int(static_cast<int >(result
));
8289 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
= NULL
;
8291 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8293 PyObject
* obj0
= 0 ;
8294 PyObject
* obj1
= 0 ;
8296 (char *) "self",(char *) "gravity", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8301 if (SWIG_arg_fail(1)) SWIG_fail
;
8303 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8304 if (SWIG_arg_fail(2)) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 (arg1
)->SetSashGravity(arg2
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8313 Py_INCREF(Py_None
); resultobj
= Py_None
;
8320 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
= NULL
;
8322 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8324 PyObject
* obj0
= 0 ;
8326 (char *) "self", NULL
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8331 if (SWIG_arg_fail(1)) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_From_double(static_cast<double >(result
));
8348 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= NULL
;
8350 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "self",(char *) "min", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8360 if (SWIG_arg_fail(1)) SWIG_fail
;
8362 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8363 if (SWIG_arg_fail(2)) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 (arg1
)->SetMinimumPaneSize(arg2
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 Py_INCREF(Py_None
); resultobj
= Py_None
;
8379 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
= NULL
;
8381 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8383 PyObject
* obj0
= 0 ;
8385 (char *) "self", NULL
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8390 if (SWIG_arg_fail(1)) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_From_int(static_cast<int >(result
));
8407 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8408 PyObject
*resultobj
= NULL
;
8409 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8412 int arg4
= (int) 5 ;
8414 PyObject
* obj0
= 0 ;
8415 PyObject
* obj1
= 0 ;
8416 PyObject
* obj2
= 0 ;
8417 PyObject
* obj3
= 0 ;
8419 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail
;
8426 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8427 if (SWIG_arg_fail(2)) SWIG_fail
;
8430 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8431 if (SWIG_arg_fail(3)) SWIG_fail
;
8435 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8436 if (SWIG_arg_fail(4)) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8455 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
= NULL
;
8457 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8460 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8465 if (SWIG_arg_fail(1)) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 (arg1
)->SizeWindows();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8480 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
= NULL
;
8482 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8487 (char *) "self",(char *) "needUpdating", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8492 if (SWIG_arg_fail(1)) SWIG_fail
;
8494 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8495 if (SWIG_arg_fail(2)) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 (arg1
)->SetNeedUpdating(arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 Py_INCREF(Py_None
); resultobj
= Py_None
;
8511 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
= NULL
;
8513 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8515 PyObject
* obj0
= 0 ;
8517 (char *) "self", NULL
8520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8522 if (SWIG_arg_fail(1)) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8539 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
= NULL
;
8541 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8542 wxVisualAttributes result
;
8543 PyObject
* obj0
= 0 ;
8545 (char *) "variant", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8551 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8552 if (SWIG_arg_fail(1)) SWIG_fail
;
8556 if (!wxPyCheckForApp()) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8564 wxVisualAttributes
* resultptr
;
8565 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8574 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8577 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8579 return Py_BuildValue((char *)"");
8581 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8582 PyObject
*resultobj
= NULL
;
8583 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8584 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8585 wxSplitterEvent
*result
;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8589 (char *) "type",(char *) "splitter", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8595 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8596 if (SWIG_arg_fail(1)) SWIG_fail
;
8600 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8601 if (SWIG_arg_fail(2)) SWIG_fail
;
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8617 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8618 PyObject
*resultobj
= NULL
;
8619 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8621 PyObject
* obj0
= 0 ;
8622 PyObject
* obj1
= 0 ;
8624 (char *) "self",(char *) "pos", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8629 if (SWIG_arg_fail(1)) SWIG_fail
;
8631 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8632 if (SWIG_arg_fail(2)) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 (arg1
)->SetSashPosition(arg2
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 Py_INCREF(Py_None
); resultobj
= Py_None
;
8648 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
= NULL
;
8650 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8654 (char *) "self", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8659 if (SWIG_arg_fail(1)) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8668 resultobj
= SWIG_From_int(static_cast<int >(result
));
8676 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
= NULL
;
8678 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8682 (char *) "self", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8687 if (SWIG_arg_fail(1)) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= wxPyMake_wxObject(result
, 0);
8704 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
= NULL
;
8706 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8710 (char *) "self", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_From_int(static_cast<int >(result
));
8732 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
= NULL
;
8734 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8736 PyObject
* obj0
= 0 ;
8738 (char *) "self", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8743 if (SWIG_arg_fail(1)) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_From_int(static_cast<int >(result
));
8760 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8763 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8765 return Py_BuildValue((char *)"");
8767 static int _wrap_SashNameStr_set(PyObject
*) {
8768 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8773 static PyObject
*_wrap_SashNameStr_get(void) {
8774 PyObject
*pyobj
= NULL
;
8778 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8780 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8787 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8788 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8793 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8794 PyObject
*pyobj
= NULL
;
8798 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8800 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8807 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
= NULL
;
8809 wxWindow
*arg1
= (wxWindow
*) 0 ;
8810 int arg2
= (int) -1 ;
8811 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8812 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8813 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8814 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8815 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8816 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8817 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8818 wxSashWindow
*result
;
8821 bool temp6
= false ;
8822 PyObject
* obj0
= 0 ;
8823 PyObject
* obj1
= 0 ;
8824 PyObject
* obj2
= 0 ;
8825 PyObject
* obj3
= 0 ;
8826 PyObject
* obj4
= 0 ;
8827 PyObject
* obj5
= 0 ;
8829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8834 if (SWIG_arg_fail(1)) SWIG_fail
;
8837 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8838 if (SWIG_arg_fail(2)) SWIG_fail
;
8844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8850 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8855 arg5
= static_cast<long >(SWIG_As_long(obj4
));
8856 if (SWIG_arg_fail(5)) SWIG_fail
;
8861 arg6
= wxString_in_helper(obj5
);
8862 if (arg6
== NULL
) SWIG_fail
;
8867 if (!wxPyCheckForApp()) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8889 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
= NULL
;
8891 wxSashWindow
*result
;
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8898 if (!wxPyCheckForApp()) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (wxSashWindow
*)new wxSashWindow();
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8912 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
= NULL
;
8914 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8915 wxWindow
*arg2
= (wxWindow
*) 0 ;
8916 int arg3
= (int) -1 ;
8917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8921 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8922 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8927 bool temp7
= false ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 PyObject
* obj2
= 0 ;
8931 PyObject
* obj3
= 0 ;
8932 PyObject
* obj4
= 0 ;
8933 PyObject
* obj5
= 0 ;
8934 PyObject
* obj6
= 0 ;
8936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8941 if (SWIG_arg_fail(1)) SWIG_fail
;
8942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8943 if (SWIG_arg_fail(2)) SWIG_fail
;
8946 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8947 if (SWIG_arg_fail(3)) SWIG_fail
;
8953 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8959 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8964 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8965 if (SWIG_arg_fail(6)) SWIG_fail
;
8970 arg7
= wxString_in_helper(obj6
);
8971 if (arg7
== NULL
) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8999 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
= NULL
;
9001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9002 wxSashEdgePosition arg2
;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9006 PyObject
* obj2
= 0 ;
9008 (char *) "self",(char *) "edge",(char *) "sash", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9013 if (SWIG_arg_fail(1)) SWIG_fail
;
9015 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9016 if (SWIG_arg_fail(2)) SWIG_fail
;
9019 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9020 if (SWIG_arg_fail(3)) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 (arg1
)->SetSashVisible(arg2
,arg3
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
= NULL
;
9038 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9039 wxSashEdgePosition arg2
;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9044 (char *) "self",(char *) "edge", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail
;
9051 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9052 if (SWIG_arg_fail(2)) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9070 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
= NULL
;
9072 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9073 wxSashEdgePosition arg2
;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 PyObject
* obj2
= 0 ;
9079 (char *) "self",(char *) "edge",(char *) "border", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9084 if (SWIG_arg_fail(1)) SWIG_fail
;
9086 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9087 if (SWIG_arg_fail(2)) SWIG_fail
;
9090 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9091 if (SWIG_arg_fail(3)) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 (arg1
)->SetSashBorder(arg2
,arg3
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 Py_INCREF(Py_None
); resultobj
= Py_None
;
9107 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
= NULL
;
9109 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9110 wxSashEdgePosition arg2
;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9115 (char *) "self",(char *) "edge", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail
;
9122 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9123 if (SWIG_arg_fail(2)) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9141 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
= NULL
;
9143 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9144 wxSashEdgePosition arg2
;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9149 (char *) "self",(char *) "edge", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
9153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9154 if (SWIG_arg_fail(1)) SWIG_fail
;
9156 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9157 if (SWIG_arg_fail(2)) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_From_int(static_cast<int >(result
));
9175 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
= NULL
;
9177 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9182 (char *) "self",(char *) "width", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9187 if (SWIG_arg_fail(1)) SWIG_fail
;
9189 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9190 if (SWIG_arg_fail(2)) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 (arg1
)->SetDefaultBorderSize(arg2
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 Py_INCREF(Py_None
); resultobj
= Py_None
;
9206 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
= NULL
;
9208 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9212 (char *) "self", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9217 if (SWIG_arg_fail(1)) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_From_int(static_cast<int >(result
));
9234 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= NULL
;
9236 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9241 (char *) "self",(char *) "width", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail
;
9248 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9249 if (SWIG_arg_fail(2)) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9253 (arg1
)->SetExtraBorderSize(arg2
);
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 Py_INCREF(Py_None
); resultobj
= Py_None
;
9265 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
= NULL
;
9267 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_From_int(static_cast<int >(result
));
9293 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9294 PyObject
*resultobj
= NULL
;
9295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9297 PyObject
* obj0
= 0 ;
9298 PyObject
* obj1
= 0 ;
9300 (char *) "self",(char *) "min", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail
;
9307 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9308 if (SWIG_arg_fail(2)) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 (arg1
)->SetMinimumSizeX(arg2
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9317 Py_INCREF(Py_None
); resultobj
= Py_None
;
9324 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
= NULL
;
9326 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9329 PyObject
* obj1
= 0 ;
9331 (char *) "self",(char *) "min", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail
;
9338 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9339 if (SWIG_arg_fail(2)) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->SetMinimumSizeY(arg2
);
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
= NULL
;
9357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "self", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9366 if (SWIG_arg_fail(1)) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_From_int(static_cast<int >(result
));
9383 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
= NULL
;
9385 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9389 (char *) "self", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_From_int(static_cast<int >(result
));
9411 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
= NULL
;
9413 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9416 PyObject
* obj1
= 0 ;
9418 (char *) "self",(char *) "max", NULL
9421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9423 if (SWIG_arg_fail(1)) SWIG_fail
;
9425 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9426 if (SWIG_arg_fail(2)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 (arg1
)->SetMaximumSizeX(arg2
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9435 Py_INCREF(Py_None
); resultobj
= Py_None
;
9442 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9443 PyObject
*resultobj
= NULL
;
9444 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9449 (char *) "self",(char *) "max", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail
;
9456 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9457 if (SWIG_arg_fail(2)) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->SetMaximumSizeY(arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 Py_INCREF(Py_None
); resultobj
= Py_None
;
9473 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
= NULL
;
9475 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9484 if (SWIG_arg_fail(1)) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_From_int(static_cast<int >(result
));
9501 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
= NULL
;
9503 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9507 (char *) "self", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9512 if (SWIG_arg_fail(1)) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_From_int(static_cast<int >(result
));
9529 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
= NULL
;
9531 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9534 int arg4
= (int) 2 ;
9535 wxSashEdgePosition result
;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9538 PyObject
* obj2
= 0 ;
9539 PyObject
* obj3
= 0 ;
9541 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9546 if (SWIG_arg_fail(1)) SWIG_fail
;
9548 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9549 if (SWIG_arg_fail(2)) SWIG_fail
;
9552 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9553 if (SWIG_arg_fail(3)) SWIG_fail
;
9557 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9558 if (SWIG_arg_fail(4)) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= SWIG_From_int((result
));
9575 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
= NULL
;
9577 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9585 if (SWIG_arg_fail(1)) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->SizeWindows();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9603 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9605 return Py_BuildValue((char *)"");
9607 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
= NULL
;
9609 int arg1
= (int) 0 ;
9610 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9611 wxSashEvent
*result
;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9615 (char *) "id",(char *) "edge", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9621 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9622 if (SWIG_arg_fail(1)) SWIG_fail
;
9627 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9628 if (SWIG_arg_fail(2)) SWIG_fail
;
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9645 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
= NULL
;
9647 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9648 wxSashEdgePosition arg2
;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9652 (char *) "self",(char *) "edge", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail
;
9659 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9660 if (SWIG_arg_fail(2)) SWIG_fail
;
9663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9664 (arg1
)->SetEdge(arg2
);
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9669 Py_INCREF(Py_None
); resultobj
= Py_None
;
9676 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
= NULL
;
9678 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9679 wxSashEdgePosition result
;
9680 PyObject
* obj0
= 0 ;
9682 (char *) "self", NULL
9685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9687 if (SWIG_arg_fail(1)) SWIG_fail
;
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9692 wxPyEndAllowThreads(__tstate
);
9693 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= SWIG_From_int((result
));
9702 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
= NULL
;
9704 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9707 PyObject
* obj0
= 0 ;
9708 PyObject
* obj1
= 0 ;
9710 (char *) "self",(char *) "rect", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9715 if (SWIG_arg_fail(1)) SWIG_fail
;
9718 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 Py_INCREF(Py_None
); resultobj
= Py_None
;
9734 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
= NULL
;
9736 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9755 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9764 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= NULL
;
9766 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9767 wxSashDragStatus arg2
;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9771 (char *) "self",(char *) "status", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9776 if (SWIG_arg_fail(1)) SWIG_fail
;
9778 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9779 if (SWIG_arg_fail(2)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 (arg1
)->SetDragStatus(arg2
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 Py_INCREF(Py_None
); resultobj
= Py_None
;
9795 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
= NULL
;
9797 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9798 wxSashDragStatus result
;
9799 PyObject
* obj0
= 0 ;
9801 (char *) "self", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9806 if (SWIG_arg_fail(1)) SWIG_fail
;
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9811 wxPyEndAllowThreads(__tstate
);
9812 if (PyErr_Occurred()) SWIG_fail
;
9814 resultobj
= SWIG_From_int((result
));
9821 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9824 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9826 return Py_BuildValue((char *)"");
9828 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
= NULL
;
9830 int arg1
= (int) 0 ;
9831 wxQueryLayoutInfoEvent
*result
;
9832 PyObject
* obj0
= 0 ;
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9840 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9841 if (SWIG_arg_fail(1)) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9858 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
= NULL
;
9860 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9865 (char *) "self",(char *) "length", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9870 if (SWIG_arg_fail(1)) SWIG_fail
;
9872 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9873 if (SWIG_arg_fail(2)) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 (arg1
)->SetRequestedLength(arg2
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
= NULL
;
9891 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9900 if (SWIG_arg_fail(1)) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_From_int(static_cast<int >(result
));
9917 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
= NULL
;
9919 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "flags", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9931 arg2
= static_cast<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_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
= NULL
;
9950 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9959 if (SWIG_arg_fail(1)) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_From_int(static_cast<int >(result
));
9976 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
= NULL
;
9978 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9982 PyObject
* obj1
= 0 ;
9984 (char *) "self",(char *) "size", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9989 if (SWIG_arg_fail(1)) SWIG_fail
;
9992 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9996 (arg1
)->SetSize((wxSize
const &)*arg2
);
9998 wxPyEndAllowThreads(__tstate
);
9999 if (PyErr_Occurred()) SWIG_fail
;
10001 Py_INCREF(Py_None
); resultobj
= Py_None
;
10008 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10009 PyObject
*resultobj
= NULL
;
10010 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10012 PyObject
* obj0
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
10018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10019 if (SWIG_arg_fail(1)) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 wxSize
* resultptr
;
10029 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10038 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
= NULL
;
10040 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10041 wxLayoutOrientation arg2
;
10042 PyObject
* obj0
= 0 ;
10043 PyObject
* obj1
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self",(char *) "orient", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10050 if (SWIG_arg_fail(1)) SWIG_fail
;
10052 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10053 if (SWIG_arg_fail(2)) SWIG_fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 (arg1
)->SetOrientation(arg2
);
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 Py_INCREF(Py_None
); resultobj
= Py_None
;
10069 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
= NULL
;
10071 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10072 wxLayoutOrientation result
;
10073 PyObject
* obj0
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 resultobj
= SWIG_From_int((result
));
10095 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10096 PyObject
*resultobj
= NULL
;
10097 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10098 wxLayoutAlignment arg2
;
10099 PyObject
* obj0
= 0 ;
10100 PyObject
* obj1
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "self",(char *) "align", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10107 if (SWIG_arg_fail(1)) SWIG_fail
;
10109 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10110 if (SWIG_arg_fail(2)) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 (arg1
)->SetAlignment(arg2
);
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 Py_INCREF(Py_None
); resultobj
= Py_None
;
10126 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
= NULL
;
10128 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10129 wxLayoutAlignment result
;
10130 PyObject
* obj0
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10137 if (SWIG_arg_fail(1)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_From_int((result
));
10152 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10155 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10157 return Py_BuildValue((char *)"");
10159 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= NULL
;
10161 int arg1
= (int) 0 ;
10162 wxCalculateLayoutEvent
*result
;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "id", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10171 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10172 if (SWIG_arg_fail(1)) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10189 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
= NULL
;
10191 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 char *kwnames
[] = {
10196 (char *) "self",(char *) "flags", NULL
10199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10201 if (SWIG_arg_fail(1)) SWIG_fail
;
10203 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10204 if (SWIG_arg_fail(2)) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 (arg1
)->SetFlags(arg2
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 Py_INCREF(Py_None
); resultobj
= Py_None
;
10220 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
= NULL
;
10222 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10231 if (SWIG_arg_fail(1)) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_From_int(static_cast<int >(result
));
10248 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
= NULL
;
10250 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10253 PyObject
* obj0
= 0 ;
10254 PyObject
* obj1
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self",(char *) "rect", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10261 if (SWIG_arg_fail(1)) SWIG_fail
;
10264 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 (arg1
)->SetRect((wxRect
const &)*arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
= NULL
;
10282 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10291 if (SWIG_arg_fail(1)) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10300 wxRect
* resultptr
;
10301 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10310 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10313 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10315 return Py_BuildValue((char *)"");
10317 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
= NULL
;
10319 wxWindow
*arg1
= (wxWindow
*) 0 ;
10320 int arg2
= (int) -1 ;
10321 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10322 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10323 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10324 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10325 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10326 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10327 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10328 wxSashLayoutWindow
*result
;
10331 bool temp6
= false ;
10332 PyObject
* obj0
= 0 ;
10333 PyObject
* obj1
= 0 ;
10334 PyObject
* obj2
= 0 ;
10335 PyObject
* obj3
= 0 ;
10336 PyObject
* obj4
= 0 ;
10337 PyObject
* obj5
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10344 if (SWIG_arg_fail(1)) SWIG_fail
;
10347 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10348 if (SWIG_arg_fail(2)) SWIG_fail
;
10354 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10360 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10365 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10366 if (SWIG_arg_fail(5)) SWIG_fail
;
10371 arg6
= wxString_in_helper(obj5
);
10372 if (arg6
== NULL
) SWIG_fail
;
10377 if (!wxPyCheckForApp()) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10399 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
= NULL
;
10401 wxSashLayoutWindow
*result
;
10402 char *kwnames
[] = {
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10408 if (!wxPyCheckForApp()) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10422 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
= NULL
;
10424 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10425 wxWindow
*arg2
= (wxWindow
*) 0 ;
10426 int arg3
= (int) -1 ;
10427 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10428 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10429 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10430 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10431 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10432 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10433 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10437 bool temp7
= false ;
10438 PyObject
* obj0
= 0 ;
10439 PyObject
* obj1
= 0 ;
10440 PyObject
* obj2
= 0 ;
10441 PyObject
* obj3
= 0 ;
10442 PyObject
* obj4
= 0 ;
10443 PyObject
* obj5
= 0 ;
10444 PyObject
* obj6
= 0 ;
10445 char *kwnames
[] = {
10446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10451 if (SWIG_arg_fail(1)) SWIG_fail
;
10452 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10453 if (SWIG_arg_fail(2)) SWIG_fail
;
10456 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10457 if (SWIG_arg_fail(3)) SWIG_fail
;
10463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10474 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10475 if (SWIG_arg_fail(6)) SWIG_fail
;
10480 arg7
= wxString_in_helper(obj6
);
10481 if (arg7
== NULL
) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10509 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
= NULL
;
10511 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10512 wxLayoutAlignment result
;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10520 if (SWIG_arg_fail(1)) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= SWIG_From_int((result
));
10535 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
= NULL
;
10537 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10538 wxLayoutOrientation result
;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10546 if (SWIG_arg_fail(1)) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_From_int((result
));
10561 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
= NULL
;
10563 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10564 wxLayoutAlignment arg2
;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self",(char *) "alignment", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail
;
10575 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10576 if (SWIG_arg_fail(2)) SWIG_fail
;
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 (arg1
)->SetAlignment(arg2
);
10582 wxPyEndAllowThreads(__tstate
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10585 Py_INCREF(Py_None
); resultobj
= Py_None
;
10592 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10593 PyObject
*resultobj
= NULL
;
10594 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "size", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10605 if (SWIG_arg_fail(1)) SWIG_fail
;
10608 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10612 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
= NULL
;
10626 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10627 wxLayoutOrientation arg2
;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self",(char *) "orientation", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10636 if (SWIG_arg_fail(1)) SWIG_fail
;
10638 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10639 if (SWIG_arg_fail(2)) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->SetOrientation(arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 Py_INCREF(Py_None
); resultobj
= Py_None
;
10655 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10658 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10660 return Py_BuildValue((char *)"");
10662 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
= NULL
;
10664 wxLayoutAlgorithm
*result
;
10665 char *kwnames
[] = {
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10684 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= NULL
;
10686 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "self", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10694 if (SWIG_arg_fail(1)) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
= NULL
;
10711 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10712 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10713 wxRect
*arg3
= (wxRect
*) NULL
;
10715 PyObject
* obj0
= 0 ;
10716 PyObject
* obj1
= 0 ;
10717 PyObject
* obj2
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "frame",(char *) "rect", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail
;
10725 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10726 if (SWIG_arg_fail(2)) SWIG_fail
;
10728 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10729 if (SWIG_arg_fail(3)) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10735 wxPyEndAllowThreads(__tstate
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10747 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10748 PyObject
*resultobj
= NULL
;
10749 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10750 wxFrame
*arg2
= (wxFrame
*) 0 ;
10751 wxWindow
*arg3
= (wxWindow
*) NULL
;
10753 PyObject
* obj0
= 0 ;
10754 PyObject
* obj1
= 0 ;
10755 PyObject
* obj2
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10762 if (SWIG_arg_fail(1)) SWIG_fail
;
10763 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10764 if (SWIG_arg_fail(2)) SWIG_fail
;
10766 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10767 if (SWIG_arg_fail(3)) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10785 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
= NULL
;
10787 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10788 wxWindow
*arg2
= (wxWindow
*) 0 ;
10789 wxWindow
*arg3
= (wxWindow
*) NULL
;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 PyObject
* obj2
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10800 if (SWIG_arg_fail(1)) SWIG_fail
;
10801 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10802 if (SWIG_arg_fail(2)) SWIG_fail
;
10804 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10805 if (SWIG_arg_fail(3)) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10823 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10828 return Py_BuildValue((char *)"");
10830 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
= NULL
;
10832 wxWindow
*arg1
= (wxWindow
*) 0 ;
10833 int arg2
= (int) wxBORDER_NONE
;
10834 wxPopupWindow
*result
;
10835 PyObject
* obj0
= 0 ;
10836 PyObject
* obj1
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "parent",(char *) "flags", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10843 if (SWIG_arg_fail(1)) SWIG_fail
;
10846 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10847 if (SWIG_arg_fail(2)) SWIG_fail
;
10851 if (!wxPyCheckForApp()) SWIG_fail
;
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10865 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= NULL
;
10867 wxPopupWindow
*result
;
10868 char *kwnames
[] = {
10872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10874 if (!wxPyCheckForApp()) SWIG_fail
;
10875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10876 result
= (wxPopupWindow
*)new wxPopupWindow();
10878 wxPyEndAllowThreads(__tstate
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10888 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
= NULL
;
10890 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10891 wxWindow
*arg2
= (wxWindow
*) 0 ;
10892 int arg3
= (int) wxBORDER_NONE
;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 PyObject
* obj2
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self",(char *) "parent",(char *) "flags", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10903 if (SWIG_arg_fail(1)) SWIG_fail
;
10904 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10905 if (SWIG_arg_fail(2)) SWIG_fail
;
10908 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10909 if (SWIG_arg_fail(3)) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10928 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
= NULL
;
10930 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10931 wxPoint
*arg2
= 0 ;
10935 PyObject
* obj0
= 0 ;
10936 PyObject
* obj1
= 0 ;
10937 PyObject
* obj2
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10944 if (SWIG_arg_fail(1)) SWIG_fail
;
10947 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10951 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 Py_INCREF(Py_None
); resultobj
= Py_None
;
10967 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10970 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10972 return Py_BuildValue((char *)"");
10974 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
= NULL
;
10976 wxWindow
*arg1
= (wxWindow
*) 0 ;
10977 int arg2
= (int) wxBORDER_NONE
;
10978 wxPyPopupTransientWindow
*result
;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "parent",(char *) "style", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10990 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10991 if (SWIG_arg_fail(2)) SWIG_fail
;
10995 if (!wxPyCheckForApp()) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11009 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
= NULL
;
11011 wxPyPopupTransientWindow
*result
;
11012 char *kwnames
[] = {
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
11018 if (!wxPyCheckForApp()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11032 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
= NULL
;
11034 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11035 PyObject
*arg2
= (PyObject
*) 0 ;
11036 PyObject
*arg3
= (PyObject
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 PyObject
* obj2
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "self",(char *) "self",(char *) "_class", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11046 if (SWIG_arg_fail(1)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
= NULL
;
11065 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11066 wxWindow
*arg2
= (wxWindow
*) NULL
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self",(char *) "focus", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
11074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11075 if (SWIG_arg_fail(1)) SWIG_fail
;
11077 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11078 if (SWIG_arg_fail(2)) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->Popup(arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
= NULL
;
11096 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11097 PyObject
* obj0
= 0 ;
11098 char *kwnames
[] = {
11099 (char *) "self", NULL
11102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
11103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11104 if (SWIG_arg_fail(1)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
11121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11122 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
11124 return Py_BuildValue((char *)"");
11126 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
= NULL
;
11128 wxWindow
*arg1
= (wxWindow
*) 0 ;
11129 wxString
*arg2
= 0 ;
11130 int arg3
= (int) 100 ;
11131 wxRect
*arg4
= (wxRect
*) NULL
;
11132 wxTipWindow
*result
;
11133 bool temp2
= false ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 PyObject
* obj3
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11144 if (SWIG_arg_fail(1)) SWIG_fail
;
11146 arg2
= wxString_in_helper(obj1
);
11147 if (arg2
== NULL
) SWIG_fail
;
11152 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11153 if (SWIG_arg_fail(3)) SWIG_fail
;
11157 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
11158 if (SWIG_arg_fail(4)) SWIG_fail
;
11161 if (!wxPyCheckForApp()) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11183 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
= NULL
;
11185 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 PyObject
* obj1
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self",(char *) "rectBound", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11196 if (SWIG_arg_fail(1)) SWIG_fail
;
11199 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 Py_INCREF(Py_None
); resultobj
= Py_None
;
11215 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
= NULL
;
11217 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 char *kwnames
[] = {
11220 (char *) "self", NULL
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11225 if (SWIG_arg_fail(1)) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 Py_INCREF(Py_None
); resultobj
= Py_None
;
11240 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11243 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11245 return Py_BuildValue((char *)"");
11247 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
= NULL
;
11249 wxWindow
*arg1
= (wxWindow
*) 0 ;
11250 int arg2
= (int) wxID_ANY
;
11251 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11252 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11253 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11254 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11255 long arg5
= (long) 0 ;
11256 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11257 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11258 wxPyVScrolledWindow
*result
;
11261 bool temp6
= false ;
11262 PyObject
* obj0
= 0 ;
11263 PyObject
* obj1
= 0 ;
11264 PyObject
* obj2
= 0 ;
11265 PyObject
* obj3
= 0 ;
11266 PyObject
* obj4
= 0 ;
11267 PyObject
* obj5
= 0 ;
11268 char *kwnames
[] = {
11269 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11274 if (SWIG_arg_fail(1)) SWIG_fail
;
11277 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11278 if (SWIG_arg_fail(2)) SWIG_fail
;
11284 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11290 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11295 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11296 if (SWIG_arg_fail(5)) SWIG_fail
;
11301 arg6
= wxString_in_helper(obj5
);
11302 if (arg6
== NULL
) SWIG_fail
;
11307 if (!wxPyCheckForApp()) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11329 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
= NULL
;
11331 wxPyVScrolledWindow
*result
;
11332 char *kwnames
[] = {
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11338 if (!wxPyCheckForApp()) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11352 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
= NULL
;
11354 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11355 PyObject
*arg2
= (PyObject
*) 0 ;
11356 PyObject
*arg3
= (PyObject
*) 0 ;
11357 PyObject
* obj0
= 0 ;
11358 PyObject
* obj1
= 0 ;
11359 PyObject
* obj2
= 0 ;
11360 char *kwnames
[] = {
11361 (char *) "self",(char *) "self",(char *) "_class", NULL
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11366 if (SWIG_arg_fail(1)) SWIG_fail
;
11370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 Py_INCREF(Py_None
); resultobj
= Py_None
;
11383 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
= NULL
;
11385 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11386 wxWindow
*arg2
= (wxWindow
*) 0 ;
11387 int arg3
= (int) wxID_ANY
;
11388 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11389 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11390 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11391 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11392 long arg6
= (long) 0 ;
11393 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11394 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11398 bool temp7
= false ;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 PyObject
* obj2
= 0 ;
11402 PyObject
* obj3
= 0 ;
11403 PyObject
* obj4
= 0 ;
11404 PyObject
* obj5
= 0 ;
11405 PyObject
* obj6
= 0 ;
11406 char *kwnames
[] = {
11407 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11412 if (SWIG_arg_fail(1)) SWIG_fail
;
11413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11414 if (SWIG_arg_fail(2)) SWIG_fail
;
11417 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11418 if (SWIG_arg_fail(3)) SWIG_fail
;
11424 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11430 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11435 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11436 if (SWIG_arg_fail(6)) SWIG_fail
;
11441 arg7
= wxString_in_helper(obj6
);
11442 if (arg7
== NULL
) SWIG_fail
;
11447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11448 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11470 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11471 PyObject
*resultobj
= NULL
;
11472 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11474 PyObject
* obj0
= 0 ;
11475 PyObject
* obj1
= 0 ;
11476 char *kwnames
[] = {
11477 (char *) "self",(char *) "count", NULL
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11482 if (SWIG_arg_fail(1)) SWIG_fail
;
11484 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11485 if (SWIG_arg_fail(2)) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 (arg1
)->SetLineCount(arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 Py_INCREF(Py_None
); resultobj
= Py_None
;
11501 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
= NULL
;
11503 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 PyObject
* obj1
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self",(char *) "line", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11514 if (SWIG_arg_fail(1)) SWIG_fail
;
11516 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11517 if (SWIG_arg_fail(2)) SWIG_fail
;
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11521 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11535 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11536 PyObject
*resultobj
= NULL
;
11537 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11540 PyObject
* obj0
= 0 ;
11541 PyObject
* obj1
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "self",(char *) "lines", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11548 if (SWIG_arg_fail(1)) SWIG_fail
;
11550 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11551 if (SWIG_arg_fail(2)) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (bool)(arg1
)->ScrollLines(arg2
);
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11569 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
= NULL
;
11571 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11574 PyObject
* obj0
= 0 ;
11575 PyObject
* obj1
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self",(char *) "pages", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11582 if (SWIG_arg_fail(1)) SWIG_fail
;
11584 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11585 if (SWIG_arg_fail(2)) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (bool)(arg1
)->ScrollPages(arg2
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11603 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
= NULL
;
11605 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self",(char *) "line", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11615 if (SWIG_arg_fail(1)) SWIG_fail
;
11617 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11618 if (SWIG_arg_fail(2)) SWIG_fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 (arg1
)->RefreshLine(arg2
);
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 Py_INCREF(Py_None
); resultobj
= Py_None
;
11634 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11635 PyObject
*resultobj
= NULL
;
11636 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 PyObject
* obj2
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "from",(char *) "to", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11648 if (SWIG_arg_fail(1)) SWIG_fail
;
11650 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11651 if (SWIG_arg_fail(2)) SWIG_fail
;
11654 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11655 if (SWIG_arg_fail(3)) SWIG_fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 (arg1
)->RefreshLines(arg2
,arg3
);
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 Py_INCREF(Py_None
); resultobj
= Py_None
;
11671 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11672 PyObject
*resultobj
= NULL
;
11673 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 PyObject
* obj2
= 0 ;
11680 char *kwnames
[] = {
11681 (char *) "self",(char *) "x",(char *) "y", NULL
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11686 if (SWIG_arg_fail(1)) SWIG_fail
;
11688 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11689 if (SWIG_arg_fail(2)) SWIG_fail
;
11692 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11693 if (SWIG_arg_fail(3)) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= SWIG_From_int(static_cast<int >(result
));
11711 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11712 PyObject
*resultobj
= NULL
;
11713 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11714 wxPoint
*arg2
= 0 ;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self",(char *) "pt", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11725 if (SWIG_arg_fail(1)) SWIG_fail
;
11728 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_From_int(static_cast<int >(result
));
11746 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
= NULL
;
11748 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11756 if (SWIG_arg_fail(1)) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 (arg1
)->RefreshAll();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 Py_INCREF(Py_None
); resultobj
= Py_None
;
11771 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
= NULL
;
11773 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11782 if (SWIG_arg_fail(1)) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11799 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
= NULL
;
11801 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11803 PyObject
* obj0
= 0 ;
11804 char *kwnames
[] = {
11805 (char *) "self", NULL
11808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11810 if (SWIG_arg_fail(1)) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11827 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11828 PyObject
*resultobj
= NULL
;
11829 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11831 PyObject
* obj0
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "self", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11838 if (SWIG_arg_fail(1)) SWIG_fail
;
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11843 wxPyEndAllowThreads(__tstate
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11855 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11856 PyObject
*resultobj
= NULL
;
11857 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "self",(char *) "line", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11868 if (SWIG_arg_fail(1)) SWIG_fail
;
11870 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11871 if (SWIG_arg_fail(2)) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11889 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= NULL
;
11891 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11893 PyObject
* obj0
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11900 if (SWIG_arg_fail(1)) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11917 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
= NULL
;
11919 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11921 PyObject
* obj0
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11928 if (SWIG_arg_fail(1)) SWIG_fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11945 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11948 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11950 return Py_BuildValue((char *)"");
11952 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11953 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11958 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11959 PyObject
*pyobj
= NULL
;
11963 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11965 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11972 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
= NULL
;
11974 wxWindow
*arg1
= (wxWindow
*) 0 ;
11975 int arg2
= (int) wxID_ANY
;
11976 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11977 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11978 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11979 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11980 long arg5
= (long) 0 ;
11981 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11982 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11983 wxPyVListBox
*result
;
11986 bool temp6
= false ;
11987 PyObject
* obj0
= 0 ;
11988 PyObject
* obj1
= 0 ;
11989 PyObject
* obj2
= 0 ;
11990 PyObject
* obj3
= 0 ;
11991 PyObject
* obj4
= 0 ;
11992 PyObject
* obj5
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11999 if (SWIG_arg_fail(1)) SWIG_fail
;
12002 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12003 if (SWIG_arg_fail(2)) SWIG_fail
;
12009 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12015 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12020 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12021 if (SWIG_arg_fail(5)) SWIG_fail
;
12026 arg6
= wxString_in_helper(obj5
);
12027 if (arg6
== NULL
) SWIG_fail
;
12032 if (!wxPyCheckForApp()) SWIG_fail
;
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12054 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
= NULL
;
12056 wxPyVListBox
*result
;
12057 char *kwnames
[] = {
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
12063 if (!wxPyCheckForApp()) SWIG_fail
;
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (wxPyVListBox
*)new wxPyVListBox();
12067 wxPyEndAllowThreads(__tstate
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12077 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
= NULL
;
12079 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12080 PyObject
*arg2
= (PyObject
*) 0 ;
12081 PyObject
*arg3
= (PyObject
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 PyObject
* obj2
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self",(char *) "self",(char *) "_class", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12091 if (SWIG_arg_fail(1)) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 Py_INCREF(Py_None
); resultobj
= Py_None
;
12108 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
= NULL
;
12110 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12111 wxWindow
*arg2
= (wxWindow
*) 0 ;
12112 int arg3
= (int) wxID_ANY
;
12113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12117 long arg6
= (long) 0 ;
12118 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12119 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12123 bool temp7
= false ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 PyObject
* obj3
= 0 ;
12128 PyObject
* obj4
= 0 ;
12129 PyObject
* obj5
= 0 ;
12130 PyObject
* obj6
= 0 ;
12131 char *kwnames
[] = {
12132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12137 if (SWIG_arg_fail(1)) SWIG_fail
;
12138 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12139 if (SWIG_arg_fail(2)) SWIG_fail
;
12142 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12143 if (SWIG_arg_fail(3)) SWIG_fail
;
12149 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12155 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12160 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12161 if (SWIG_arg_fail(6)) SWIG_fail
;
12166 arg7
= wxString_in_helper(obj6
);
12167 if (arg7
== NULL
) SWIG_fail
;
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12175 wxPyEndAllowThreads(__tstate
);
12176 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12195 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
= NULL
;
12197 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12199 PyObject
* obj0
= 0 ;
12200 char *kwnames
[] = {
12201 (char *) "self", NULL
12204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12206 if (SWIG_arg_fail(1)) SWIG_fail
;
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12223 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
= NULL
;
12225 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12234 if (SWIG_arg_fail(1)) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12251 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
= NULL
;
12253 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12262 if (SWIG_arg_fail(1)) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 resultobj
= SWIG_From_int(static_cast<int >(result
));
12279 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
= NULL
;
12281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self",(char *) "item", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12292 if (SWIG_arg_fail(1)) SWIG_fail
;
12294 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12295 if (SWIG_arg_fail(2)) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12313 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
= NULL
;
12315 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self",(char *) "item", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12326 if (SWIG_arg_fail(1)) SWIG_fail
;
12328 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12329 if (SWIG_arg_fail(2)) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12347 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
= NULL
;
12349 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12375 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
= NULL
;
12377 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12386 if (SWIG_arg_fail(1)) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= result
;
12401 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
= NULL
;
12403 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12404 unsigned long arg2
;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "cookie", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12414 if (SWIG_arg_fail(1)) SWIG_fail
;
12416 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12417 if (SWIG_arg_fail(2)) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= result
;
12433 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
= NULL
;
12435 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12444 if (SWIG_arg_fail(1)) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12453 wxPoint
* resultptr
;
12454 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12463 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12464 PyObject
*resultobj
= NULL
;
12465 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12467 PyObject
* obj0
= 0 ;
12468 char *kwnames
[] = {
12469 (char *) "self", NULL
12472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12474 if (SWIG_arg_fail(1)) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12479 result
= (wxColour
*) &_result_ref
;
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12492 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
= NULL
;
12494 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "count", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12504 if (SWIG_arg_fail(1)) SWIG_fail
;
12506 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12507 if (SWIG_arg_fail(2)) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->SetItemCount(arg2
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 Py_INCREF(Py_None
); resultobj
= Py_None
;
12523 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
= NULL
;
12525 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12533 if (SWIG_arg_fail(1)) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 Py_INCREF(Py_None
); resultobj
= Py_None
;
12548 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
= NULL
;
12550 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 PyObject
* obj1
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self",(char *) "selection", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12560 if (SWIG_arg_fail(1)) SWIG_fail
;
12562 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12563 if (SWIG_arg_fail(2)) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 (arg1
)->SetSelection(arg2
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 Py_INCREF(Py_None
); resultobj
= Py_None
;
12579 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
= NULL
;
12581 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12583 bool arg3
= (bool) true ;
12585 PyObject
* obj0
= 0 ;
12586 PyObject
* obj1
= 0 ;
12587 PyObject
* obj2
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self",(char *) "item",(char *) "select", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12594 if (SWIG_arg_fail(1)) SWIG_fail
;
12596 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12597 if (SWIG_arg_fail(2)) SWIG_fail
;
12601 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12602 if (SWIG_arg_fail(3)) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12621 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
= NULL
;
12623 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12627 PyObject
* obj0
= 0 ;
12628 PyObject
* obj1
= 0 ;
12629 PyObject
* obj2
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self",(char *) "from",(char *) "to", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12636 if (SWIG_arg_fail(1)) SWIG_fail
;
12638 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12639 if (SWIG_arg_fail(2)) SWIG_fail
;
12642 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12643 if (SWIG_arg_fail(3)) SWIG_fail
;
12646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12649 wxPyEndAllowThreads(__tstate
);
12650 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12661 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
= NULL
;
12663 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self",(char *) "item", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12673 if (SWIG_arg_fail(1)) SWIG_fail
;
12675 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12676 if (SWIG_arg_fail(2)) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 (arg1
)->Toggle(arg2
);
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 Py_INCREF(Py_None
); resultobj
= Py_None
;
12692 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
= NULL
;
12694 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12696 PyObject
* obj0
= 0 ;
12697 char *kwnames
[] = {
12698 (char *) "self", NULL
12701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12703 if (SWIG_arg_fail(1)) SWIG_fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (bool)(arg1
)->SelectAll();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12720 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
= NULL
;
12722 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12731 if (SWIG_arg_fail(1)) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (bool)(arg1
)->DeselectAll();
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12748 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
= NULL
;
12750 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12751 wxPoint
*arg2
= 0 ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self",(char *) "pt", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12761 if (SWIG_arg_fail(1)) SWIG_fail
;
12764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 Py_INCREF(Py_None
); resultobj
= Py_None
;
12780 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
= NULL
;
12782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12785 PyObject
* obj0
= 0 ;
12786 PyObject
* obj1
= 0 ;
12787 PyObject
* obj2
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self",(char *) "x",(char *) "y", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12794 if (SWIG_arg_fail(1)) SWIG_fail
;
12796 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12797 if (SWIG_arg_fail(2)) SWIG_fail
;
12800 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12801 if (SWIG_arg_fail(3)) SWIG_fail
;
12804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12805 (arg1
)->SetMargins(arg2
,arg3
);
12807 wxPyEndAllowThreads(__tstate
);
12808 if (PyErr_Occurred()) SWIG_fail
;
12810 Py_INCREF(Py_None
); resultobj
= Py_None
;
12817 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12818 PyObject
*resultobj
= NULL
;
12819 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12820 wxColour
*arg2
= 0 ;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self",(char *) "col", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12830 if (SWIG_arg_fail(1)) SWIG_fail
;
12833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12839 wxPyEndAllowThreads(__tstate
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 Py_INCREF(Py_None
); resultobj
= Py_None
;
12849 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12852 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12854 return Py_BuildValue((char *)"");
12856 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
= NULL
;
12858 wxWindow
*arg1
= (wxWindow
*) 0 ;
12859 int arg2
= (int) wxID_ANY
;
12860 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12861 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12862 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12863 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12864 long arg5
= (long) 0 ;
12865 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12866 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12867 wxPyHtmlListBox
*result
;
12870 bool temp6
= false ;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 PyObject
* obj2
= 0 ;
12874 PyObject
* obj3
= 0 ;
12875 PyObject
* obj4
= 0 ;
12876 PyObject
* obj5
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12883 if (SWIG_arg_fail(1)) SWIG_fail
;
12886 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12887 if (SWIG_arg_fail(2)) SWIG_fail
;
12893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12899 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12904 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12905 if (SWIG_arg_fail(5)) SWIG_fail
;
12910 arg6
= wxString_in_helper(obj5
);
12911 if (arg6
== NULL
) SWIG_fail
;
12916 if (!wxPyCheckForApp()) SWIG_fail
;
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12918 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12920 wxPyEndAllowThreads(__tstate
);
12921 if (PyErr_Occurred()) SWIG_fail
;
12923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12938 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
= NULL
;
12940 wxPyHtmlListBox
*result
;
12941 char *kwnames
[] = {
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12947 if (!wxPyCheckForApp()) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12961 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
= NULL
;
12963 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12964 PyObject
*arg2
= (PyObject
*) 0 ;
12965 PyObject
*arg3
= (PyObject
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 PyObject
* obj1
= 0 ;
12968 PyObject
* obj2
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self",(char *) "self",(char *) "_class", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12975 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 Py_INCREF(Py_None
); resultobj
= Py_None
;
12992 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
= NULL
;
12994 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12995 wxWindow
*arg2
= (wxWindow
*) 0 ;
12996 int arg3
= (int) wxID_ANY
;
12997 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12998 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12999 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13000 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13001 long arg6
= (long) 0 ;
13002 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
13003 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13007 bool temp7
= false ;
13008 PyObject
* obj0
= 0 ;
13009 PyObject
* obj1
= 0 ;
13010 PyObject
* obj2
= 0 ;
13011 PyObject
* obj3
= 0 ;
13012 PyObject
* obj4
= 0 ;
13013 PyObject
* obj5
= 0 ;
13014 PyObject
* obj6
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13021 if (SWIG_arg_fail(1)) SWIG_fail
;
13022 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13023 if (SWIG_arg_fail(2)) SWIG_fail
;
13026 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13027 if (SWIG_arg_fail(3)) SWIG_fail
;
13033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13044 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13045 if (SWIG_arg_fail(6)) SWIG_fail
;
13050 arg7
= wxString_in_helper(obj6
);
13051 if (arg7
== NULL
) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13079 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
= NULL
;
13081 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
13088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13089 if (SWIG_arg_fail(1)) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 (arg1
)->RefreshAll();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 Py_INCREF(Py_None
); resultobj
= Py_None
;
13104 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
= NULL
;
13106 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 PyObject
* obj1
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self",(char *) "count", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
13115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13116 if (SWIG_arg_fail(1)) SWIG_fail
;
13118 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
13119 if (SWIG_arg_fail(2)) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 (arg1
)->SetItemCount(arg2
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13128 Py_INCREF(Py_None
); resultobj
= Py_None
;
13135 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= NULL
;
13137 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13138 wxFileSystem
*result
;
13139 PyObject
* obj0
= 0 ;
13140 char *kwnames
[] = {
13141 (char *) "self", NULL
13144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
13145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13146 if (SWIG_arg_fail(1)) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
13151 result
= (wxFileSystem
*) &_result_ref
;
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
13164 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
13166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13167 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
13169 return Py_BuildValue((char *)"");
13171 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
= NULL
;
13173 wxPyTaskBarIcon
*result
;
13174 char *kwnames
[] = {
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13180 if (!wxPyCheckForApp()) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13194 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
= NULL
;
13196 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
13203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13204 if (SWIG_arg_fail(1)) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 Py_INCREF(Py_None
); resultobj
= Py_None
;
13219 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13220 PyObject
*resultobj
= NULL
;
13221 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13222 PyObject
*arg2
= (PyObject
*) 0 ;
13223 PyObject
*arg3
= (PyObject
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 PyObject
* obj2
= 0 ;
13228 PyObject
* obj3
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13235 if (SWIG_arg_fail(1)) SWIG_fail
;
13239 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13240 if (SWIG_arg_fail(4)) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
= NULL
;
13258 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13266 if (SWIG_arg_fail(1)) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 wxPyTaskBarIcon_Destroy(arg1
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 Py_INCREF(Py_None
); resultobj
= Py_None
;
13281 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
= NULL
;
13283 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13292 if (SWIG_arg_fail(1)) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13309 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
= NULL
;
13311 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13320 if (SWIG_arg_fail(1)) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13337 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13338 PyObject
*resultobj
= NULL
;
13339 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13344 bool temp3
= false ;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 PyObject
* obj2
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13354 if (SWIG_arg_fail(1)) SWIG_fail
;
13356 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13357 if (SWIG_arg_fail(2)) SWIG_fail
;
13358 if (arg2
== NULL
) {
13359 SWIG_null_ref("wxIcon");
13361 if (SWIG_arg_fail(2)) SWIG_fail
;
13365 arg3
= wxString_in_helper(obj2
);
13366 if (arg3
== NULL
) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13394 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
= NULL
;
13396 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13405 if (SWIG_arg_fail(1)) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (bool)(arg1
)->RemoveIcon();
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13422 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
= NULL
;
13424 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13425 wxMenu
*arg2
= (wxMenu
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self",(char *) "menu", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13435 if (SWIG_arg_fail(1)) SWIG_fail
;
13436 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13437 if (SWIG_arg_fail(2)) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (bool)(arg1
)->PopupMenu(arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13454 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13457 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13459 return Py_BuildValue((char *)"");
13461 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
= NULL
;
13464 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13465 wxTaskBarIconEvent
*result
;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "evtType",(char *) "tbIcon", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13474 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13475 if (SWIG_arg_fail(1)) SWIG_fail
;
13477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13478 if (SWIG_arg_fail(2)) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13493 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13496 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13498 return Py_BuildValue((char *)"");
13500 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13501 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13506 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13507 PyObject
*pyobj
= NULL
;
13511 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13513 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13520 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13521 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13526 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13527 PyObject
*pyobj
= NULL
;
13531 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13533 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13540 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13541 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13546 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13547 PyObject
*pyobj
= NULL
;
13551 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13553 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13560 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13561 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13566 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13567 PyObject
*pyobj
= NULL
;
13571 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13573 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13580 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13581 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13586 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13587 PyObject
*pyobj
= NULL
;
13591 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13593 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13600 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13601 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13606 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13607 PyObject
*pyobj
= NULL
;
13611 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13613 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13620 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13621 PyObject
*resultobj
= NULL
;
13622 wxColourData
*result
;
13623 char *kwnames
[] = {
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (wxColourData
*)new wxColourData();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13642 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
= NULL
;
13644 wxColourData
*arg1
= (wxColourData
*) 0 ;
13645 PyObject
* obj0
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13652 if (SWIG_arg_fail(1)) SWIG_fail
;
13654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 Py_INCREF(Py_None
); resultobj
= Py_None
;
13667 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13668 PyObject
*resultobj
= NULL
;
13669 wxColourData
*arg1
= (wxColourData
*) 0 ;
13671 PyObject
* obj0
= 0 ;
13672 char *kwnames
[] = {
13673 (char *) "self", NULL
13676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13678 if (SWIG_arg_fail(1)) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (bool)(arg1
)->GetChooseFull();
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13695 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
= NULL
;
13697 wxColourData
*arg1
= (wxColourData
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13706 if (SWIG_arg_fail(1)) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (arg1
)->GetColour();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13715 wxColour
* resultptr
;
13716 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13725 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
= NULL
;
13727 wxColourData
*arg1
= (wxColourData
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 PyObject
* obj1
= 0 ;
13732 char *kwnames
[] = {
13733 (char *) "self",(char *) "i", NULL
13736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13738 if (SWIG_arg_fail(1)) SWIG_fail
;
13740 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13741 if (SWIG_arg_fail(2)) SWIG_fail
;
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (arg1
)->GetCustomColour(arg2
);
13747 wxPyEndAllowThreads(__tstate
);
13748 if (PyErr_Occurred()) SWIG_fail
;
13751 wxColour
* resultptr
;
13752 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13761 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13762 PyObject
*resultobj
= NULL
;
13763 wxColourData
*arg1
= (wxColourData
*) 0 ;
13765 PyObject
* obj0
= 0 ;
13766 PyObject
* obj1
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self",(char *) "flag", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13773 if (SWIG_arg_fail(1)) SWIG_fail
;
13775 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13776 if (SWIG_arg_fail(2)) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 (arg1
)->SetChooseFull(arg2
);
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 Py_INCREF(Py_None
); resultobj
= Py_None
;
13792 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= NULL
;
13794 wxColourData
*arg1
= (wxColourData
*) 0 ;
13795 wxColour
*arg2
= 0 ;
13797 PyObject
* obj0
= 0 ;
13798 PyObject
* obj1
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self",(char *) "colour", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13805 if (SWIG_arg_fail(1)) SWIG_fail
;
13808 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 (arg1
)->SetColour((wxColour
const &)*arg2
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 Py_INCREF(Py_None
); resultobj
= Py_None
;
13824 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
= NULL
;
13826 wxColourData
*arg1
= (wxColourData
*) 0 ;
13828 wxColour
*arg3
= 0 ;
13830 PyObject
* obj0
= 0 ;
13831 PyObject
* obj1
= 0 ;
13832 PyObject
* obj2
= 0 ;
13833 char *kwnames
[] = {
13834 (char *) "self",(char *) "i",(char *) "colour", NULL
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13839 if (SWIG_arg_fail(1)) SWIG_fail
;
13841 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13842 if (SWIG_arg_fail(2)) SWIG_fail
;
13846 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 Py_INCREF(Py_None
); resultobj
= Py_None
;
13862 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13865 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13867 return Py_BuildValue((char *)"");
13869 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13870 PyObject
*resultobj
= NULL
;
13871 wxWindow
*arg1
= (wxWindow
*) 0 ;
13872 wxColourData
*arg2
= (wxColourData
*) NULL
;
13873 wxColourDialog
*result
;
13874 PyObject
* obj0
= 0 ;
13875 PyObject
* obj1
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "parent",(char *) "data", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13882 if (SWIG_arg_fail(1)) SWIG_fail
;
13884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13885 if (SWIG_arg_fail(2)) SWIG_fail
;
13888 if (!wxPyCheckForApp()) SWIG_fail
;
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13892 wxPyEndAllowThreads(__tstate
);
13893 if (PyErr_Occurred()) SWIG_fail
;
13895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13902 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
= NULL
;
13904 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13905 wxColourData
*result
;
13906 PyObject
* obj0
= 0 ;
13907 char *kwnames
[] = {
13908 (char *) "self", NULL
13911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13913 if (SWIG_arg_fail(1)) SWIG_fail
;
13915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13918 result
= (wxColourData
*) &_result_ref
;
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13931 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13934 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13936 return Py_BuildValue((char *)"");
13938 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= NULL
;
13940 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
13941 wxColour
const &arg2_defvalue
= wxNullColour
;
13942 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
13943 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13944 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13947 bool temp3
= false ;
13948 PyObject
* obj0
= 0 ;
13949 PyObject
* obj1
= 0 ;
13950 PyObject
* obj2
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13958 if (SWIG_arg_fail(1)) SWIG_fail
;
13963 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13968 arg3
= wxString_in_helper(obj2
);
13969 if (arg3
== NULL
) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 wxColour
* resultptr
;
13982 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13999 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
= NULL
;
14001 wxWindow
*arg1
= (wxWindow
*) 0 ;
14002 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
14003 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14004 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14005 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14006 long arg4
= (long) 0 ;
14007 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14008 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14009 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14010 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14011 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
14012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14013 wxDirDialog
*result
;
14014 bool temp2
= false ;
14015 bool temp3
= false ;
14018 bool temp7
= false ;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj1
= 0 ;
14021 PyObject
* obj2
= 0 ;
14022 PyObject
* obj3
= 0 ;
14023 PyObject
* obj4
= 0 ;
14024 PyObject
* obj5
= 0 ;
14025 PyObject
* obj6
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14032 if (SWIG_arg_fail(1)) SWIG_fail
;
14035 arg2
= wxString_in_helper(obj1
);
14036 if (arg2
== NULL
) SWIG_fail
;
14042 arg3
= wxString_in_helper(obj2
);
14043 if (arg3
== NULL
) SWIG_fail
;
14049 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14050 if (SWIG_arg_fail(4)) SWIG_fail
;
14056 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14062 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14067 arg7
= wxString_in_helper(obj6
);
14068 if (arg7
== NULL
) SWIG_fail
;
14073 if (!wxPyCheckForApp()) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
14111 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
= NULL
;
14113 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14122 if (SWIG_arg_fail(1)) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (arg1
)->GetPath();
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14143 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
= NULL
;
14145 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14147 PyObject
* obj0
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "self", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14154 if (SWIG_arg_fail(1)) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (arg1
)->GetMessage();
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14175 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
= NULL
;
14177 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14186 if (SWIG_arg_fail(1)) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (long)(arg1
)->GetStyle();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14195 resultobj
= SWIG_From_long(static_cast<long >(result
));
14203 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
= NULL
;
14205 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14206 wxString
*arg2
= 0 ;
14207 bool temp2
= false ;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self",(char *) "message", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14216 if (SWIG_arg_fail(1)) SWIG_fail
;
14218 arg2
= wxString_in_helper(obj1
);
14219 if (arg2
== NULL
) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 (arg1
)->SetMessage((wxString
const &)*arg2
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 Py_INCREF(Py_None
); resultobj
= Py_None
;
14244 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
= NULL
;
14246 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14247 wxString
*arg2
= 0 ;
14248 bool temp2
= false ;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "path", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14257 if (SWIG_arg_fail(1)) SWIG_fail
;
14259 arg2
= wxString_in_helper(obj1
);
14260 if (arg2
== NULL
) SWIG_fail
;
14264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14265 (arg1
)->SetPath((wxString
const &)*arg2
);
14267 wxPyEndAllowThreads(__tstate
);
14268 if (PyErr_Occurred()) SWIG_fail
;
14270 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14288 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14290 return Py_BuildValue((char *)"");
14292 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
= NULL
;
14294 wxWindow
*arg1
= (wxWindow
*) 0 ;
14295 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14296 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14297 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14298 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14301 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14302 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14303 long arg6
= (long) 0 ;
14304 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14305 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14306 wxFileDialog
*result
;
14307 bool temp2
= false ;
14308 bool temp3
= false ;
14309 bool temp4
= false ;
14310 bool temp5
= false ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 PyObject
* obj2
= 0 ;
14315 PyObject
* obj3
= 0 ;
14316 PyObject
* obj4
= 0 ;
14317 PyObject
* obj5
= 0 ;
14318 PyObject
* obj6
= 0 ;
14319 char *kwnames
[] = {
14320 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14325 if (SWIG_arg_fail(1)) SWIG_fail
;
14328 arg2
= wxString_in_helper(obj1
);
14329 if (arg2
== NULL
) SWIG_fail
;
14335 arg3
= wxString_in_helper(obj2
);
14336 if (arg3
== NULL
) SWIG_fail
;
14342 arg4
= wxString_in_helper(obj3
);
14343 if (arg4
== NULL
) SWIG_fail
;
14349 arg5
= wxString_in_helper(obj4
);
14350 if (arg5
== NULL
) SWIG_fail
;
14356 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14357 if (SWIG_arg_fail(6)) SWIG_fail
;
14363 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14367 if (!wxPyCheckForApp()) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14413 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14414 PyObject
*resultobj
= NULL
;
14415 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14416 wxString
*arg2
= 0 ;
14417 bool temp2
= false ;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self",(char *) "message", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14426 if (SWIG_arg_fail(1)) SWIG_fail
;
14428 arg2
= wxString_in_helper(obj1
);
14429 if (arg2
== NULL
) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 (arg1
)->SetMessage((wxString
const &)*arg2
);
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 Py_INCREF(Py_None
); resultobj
= Py_None
;
14454 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14455 PyObject
*resultobj
= NULL
;
14456 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14457 wxString
*arg2
= 0 ;
14458 bool temp2
= false ;
14459 PyObject
* obj0
= 0 ;
14460 PyObject
* obj1
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self",(char *) "path", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14467 if (SWIG_arg_fail(1)) SWIG_fail
;
14469 arg2
= wxString_in_helper(obj1
);
14470 if (arg2
== NULL
) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 (arg1
)->SetPath((wxString
const &)*arg2
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 Py_INCREF(Py_None
); resultobj
= Py_None
;
14495 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
= NULL
;
14497 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14498 wxString
*arg2
= 0 ;
14499 bool temp2
= false ;
14500 PyObject
* obj0
= 0 ;
14501 PyObject
* obj1
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self",(char *) "dir", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14508 if (SWIG_arg_fail(1)) SWIG_fail
;
14510 arg2
= wxString_in_helper(obj1
);
14511 if (arg2
== NULL
) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14521 Py_INCREF(Py_None
); resultobj
= Py_None
;
14536 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
= NULL
;
14538 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14539 wxString
*arg2
= 0 ;
14540 bool temp2
= false ;
14541 PyObject
* obj0
= 0 ;
14542 PyObject
* obj1
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self",(char *) "name", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
14552 if (arg2
== NULL
) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 (arg1
)->SetFilename((wxString
const &)*arg2
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 Py_INCREF(Py_None
); resultobj
= Py_None
;
14577 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
= NULL
;
14579 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14580 wxString
*arg2
= 0 ;
14581 bool temp2
= false ;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "wildCard", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14590 if (SWIG_arg_fail(1)) SWIG_fail
;
14592 arg2
= wxString_in_helper(obj1
);
14593 if (arg2
== NULL
) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 Py_INCREF(Py_None
); resultobj
= Py_None
;
14618 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
= NULL
;
14620 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 PyObject
* obj1
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self",(char *) "style", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14630 if (SWIG_arg_fail(1)) SWIG_fail
;
14632 arg2
= static_cast<long >(SWIG_As_long(obj1
));
14633 if (SWIG_arg_fail(2)) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 (arg1
)->SetStyle(arg2
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 Py_INCREF(Py_None
); resultobj
= Py_None
;
14649 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
= NULL
;
14651 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 char *kwnames
[] = {
14656 (char *) "self",(char *) "filterIndex", NULL
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14661 if (SWIG_arg_fail(1)) SWIG_fail
;
14663 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14664 if (SWIG_arg_fail(2)) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 (arg1
)->SetFilterIndex(arg2
);
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 Py_INCREF(Py_None
); resultobj
= Py_None
;
14680 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
= NULL
;
14682 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14684 PyObject
* obj0
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "self", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14691 if (SWIG_arg_fail(1)) SWIG_fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14712 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14713 PyObject
*resultobj
= NULL
;
14714 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14716 PyObject
* obj0
= 0 ;
14717 char *kwnames
[] = {
14718 (char *) "self", NULL
14721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14723 if (SWIG_arg_fail(1)) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14744 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
= NULL
;
14746 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14748 PyObject
* obj0
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14755 if (SWIG_arg_fail(1)) SWIG_fail
;
14757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14776 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
= NULL
;
14778 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14787 if (SWIG_arg_fail(1)) SWIG_fail
;
14789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14790 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14808 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
= NULL
;
14810 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(1)) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14840 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
= NULL
;
14842 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "self", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14851 if (SWIG_arg_fail(1)) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= SWIG_From_long(static_cast<long >(result
));
14868 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= NULL
;
14870 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14879 if (SWIG_arg_fail(1)) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= SWIG_From_int(static_cast<int >(result
));
14896 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
= NULL
;
14898 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14907 if (SWIG_arg_fail(1)) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= result
;
14922 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= NULL
;
14924 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14933 if (SWIG_arg_fail(1)) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 resultobj
= result
;
14948 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14951 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14953 return Py_BuildValue((char *)"");
14955 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
= NULL
;
14957 wxWindow
*arg1
= (wxWindow
*) 0 ;
14958 wxString
*arg2
= 0 ;
14959 wxString
*arg3
= 0 ;
14960 int arg4
= (int) 0 ;
14961 wxString
*arg5
= (wxString
*) NULL
;
14962 long arg6
= (long) wxCHOICEDLG_STYLE
;
14963 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14964 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14965 wxMultiChoiceDialog
*result
;
14966 bool temp2
= false ;
14967 bool temp3
= false ;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 PyObject
* obj2
= 0 ;
14972 PyObject
* obj3
= 0 ;
14973 PyObject
* obj4
= 0 ;
14974 PyObject
* obj5
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14981 if (SWIG_arg_fail(1)) SWIG_fail
;
14983 arg2
= wxString_in_helper(obj1
);
14984 if (arg2
== NULL
) SWIG_fail
;
14988 arg3
= wxString_in_helper(obj2
);
14989 if (arg3
== NULL
) SWIG_fail
;
14994 arg4
= PyList_Size(obj3
);
14995 arg5
= wxString_LIST_helper(obj3
);
14996 if (arg5
== NULL
) SWIG_fail
;
15001 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15002 if (SWIG_arg_fail(6)) SWIG_fail
;
15008 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15012 if (!wxPyCheckForApp()) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
15029 if (arg5
) delete [] arg5
;
15042 if (arg5
) delete [] arg5
;
15048 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
= NULL
;
15050 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15051 wxArrayInt
*arg2
= 0 ;
15052 bool temp2
= false ;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 char *kwnames
[] = {
15056 (char *) "self",(char *) "selections", NULL
15059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
15060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15061 if (SWIG_arg_fail(1)) SWIG_fail
;
15063 if (! PySequence_Check(obj1
)) {
15064 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
15067 arg2
= new wxArrayInt
;
15069 int i
, len
=PySequence_Length(obj1
);
15070 for (i
=0; i
<len
; i
++) {
15071 PyObject
* item
= PySequence_GetItem(obj1
, i
);
15072 PyObject
* number
= PyNumber_Int(item
);
15073 arg2
->Add(PyInt_AS_LONG(number
));
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 Py_INCREF(Py_None
); resultobj
= Py_None
;
15087 if (temp2
) delete arg2
;
15092 if (temp2
) delete arg2
;
15098 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= NULL
;
15100 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
15108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15109 if (SWIG_arg_fail(1)) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= result
;
15124 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15127 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
15129 return Py_BuildValue((char *)"");
15131 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
= NULL
;
15133 wxWindow
*arg1
= (wxWindow
*) 0 ;
15134 wxString
*arg2
= 0 ;
15135 wxString
*arg3
= 0 ;
15137 wxString
*arg5
= (wxString
*) 0 ;
15138 long arg6
= (long) wxCHOICEDLG_STYLE
;
15139 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15140 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15141 wxSingleChoiceDialog
*result
;
15142 bool temp2
= false ;
15143 bool temp3
= false ;
15145 PyObject
* obj0
= 0 ;
15146 PyObject
* obj1
= 0 ;
15147 PyObject
* obj2
= 0 ;
15148 PyObject
* obj3
= 0 ;
15149 PyObject
* obj4
= 0 ;
15150 PyObject
* obj5
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15157 if (SWIG_arg_fail(1)) SWIG_fail
;
15159 arg2
= wxString_in_helper(obj1
);
15160 if (arg2
== NULL
) SWIG_fail
;
15164 arg3
= wxString_in_helper(obj2
);
15165 if (arg3
== NULL
) SWIG_fail
;
15169 arg4
= PyList_Size(obj3
);
15170 arg5
= wxString_LIST_helper(obj3
);
15171 if (arg5
== NULL
) SWIG_fail
;
15175 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15176 if (SWIG_arg_fail(6)) SWIG_fail
;
15182 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15186 if (!wxPyCheckForApp()) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15203 if (arg5
) delete [] arg5
;
15216 if (arg5
) delete [] arg5
;
15222 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
= NULL
;
15224 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15226 PyObject
* obj0
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15233 if (SWIG_arg_fail(1)) SWIG_fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (int)(arg1
)->GetSelection();
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15242 resultobj
= SWIG_From_int(static_cast<int >(result
));
15250 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
= NULL
;
15252 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15261 if (SWIG_arg_fail(1)) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (arg1
)->GetStringSelection();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15273 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15282 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
= NULL
;
15284 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self",(char *) "sel", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15297 if (SWIG_arg_fail(2)) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 (arg1
)->SetSelection(arg2
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15306 Py_INCREF(Py_None
); resultobj
= Py_None
;
15313 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15316 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15318 return Py_BuildValue((char *)"");
15320 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
= NULL
;
15322 wxWindow
*arg1
= (wxWindow
*) 0 ;
15323 wxString
*arg2
= 0 ;
15324 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15325 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15326 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15327 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15328 long arg5
= (long) wxTextEntryDialogStyle
;
15329 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15330 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15331 wxTextEntryDialog
*result
;
15332 bool temp2
= false ;
15333 bool temp3
= false ;
15334 bool temp4
= false ;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 PyObject
* obj2
= 0 ;
15339 PyObject
* obj3
= 0 ;
15340 PyObject
* obj4
= 0 ;
15341 PyObject
* obj5
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15348 if (SWIG_arg_fail(1)) SWIG_fail
;
15350 arg2
= wxString_in_helper(obj1
);
15351 if (arg2
== NULL
) SWIG_fail
;
15356 arg3
= wxString_in_helper(obj2
);
15357 if (arg3
== NULL
) SWIG_fail
;
15363 arg4
= wxString_in_helper(obj3
);
15364 if (arg4
== NULL
) SWIG_fail
;
15370 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15371 if (SWIG_arg_fail(5)) SWIG_fail
;
15377 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15381 if (!wxPyCheckForApp()) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15419 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15420 PyObject
*resultobj
= NULL
;
15421 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "self", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15430 if (SWIG_arg_fail(1)) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (arg1
)->GetValue();
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15451 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
= NULL
;
15453 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15454 wxString
*arg2
= 0 ;
15455 bool temp2
= false ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self",(char *) "value", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15464 if (SWIG_arg_fail(1)) SWIG_fail
;
15466 arg2
= wxString_in_helper(obj1
);
15467 if (arg2
== NULL
) SWIG_fail
;
15471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15472 (arg1
)->SetValue((wxString
const &)*arg2
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 Py_INCREF(Py_None
); resultobj
= Py_None
;
15492 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15495 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15497 return Py_BuildValue((char *)"");
15499 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15500 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15505 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15506 PyObject
*pyobj
= NULL
;
15510 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15512 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15519 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
= NULL
;
15521 wxWindow
*arg1
= (wxWindow
*) 0 ;
15522 wxString
*arg2
= 0 ;
15523 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15524 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15527 long arg5
= (long) wxTextEntryDialogStyle
;
15528 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15529 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15530 wxPasswordEntryDialog
*result
;
15531 bool temp2
= false ;
15532 bool temp3
= false ;
15533 bool temp4
= false ;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 PyObject
* obj2
= 0 ;
15538 PyObject
* obj3
= 0 ;
15539 PyObject
* obj4
= 0 ;
15540 PyObject
* obj5
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15549 arg2
= wxString_in_helper(obj1
);
15550 if (arg2
== NULL
) SWIG_fail
;
15555 arg3
= wxString_in_helper(obj2
);
15556 if (arg3
== NULL
) SWIG_fail
;
15562 arg4
= wxString_in_helper(obj3
);
15563 if (arg4
== NULL
) SWIG_fail
;
15569 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15570 if (SWIG_arg_fail(5)) SWIG_fail
;
15576 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15617 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15620 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15622 return Py_BuildValue((char *)"");
15624 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
= NULL
;
15626 wxFontData
*result
;
15627 char *kwnames
[] = {
15631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (wxFontData
*)new wxFontData();
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15646 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
= NULL
;
15648 wxFontData
*arg1
= (wxFontData
*) 0 ;
15649 PyObject
* obj0
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15656 if (SWIG_arg_fail(1)) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 Py_INCREF(Py_None
); resultobj
= Py_None
;
15671 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
= NULL
;
15673 wxFontData
*arg1
= (wxFontData
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self",(char *) "enable", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15683 if (SWIG_arg_fail(1)) SWIG_fail
;
15685 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15686 if (SWIG_arg_fail(2)) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->EnableEffects(arg2
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
= NULL
;
15704 wxFontData
*arg1
= (wxFontData
*) 0 ;
15706 PyObject
* obj0
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15713 if (SWIG_arg_fail(1)) SWIG_fail
;
15715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15716 result
= (bool)(arg1
)->GetAllowSymbols();
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15730 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
= NULL
;
15732 wxFontData
*arg1
= (wxFontData
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15741 if (SWIG_arg_fail(1)) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (arg1
)->GetColour();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15750 wxColour
* resultptr
;
15751 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15760 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15761 PyObject
*resultobj
= NULL
;
15762 wxFontData
*arg1
= (wxFontData
*) 0 ;
15764 PyObject
* obj0
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15771 if (SWIG_arg_fail(1)) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (arg1
)->GetChosenFont();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 wxFont
* resultptr
;
15781 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15790 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
= NULL
;
15792 wxFontData
*arg1
= (wxFontData
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15801 if (SWIG_arg_fail(1)) SWIG_fail
;
15803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 result
= (bool)(arg1
)->GetEnableEffects();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
= NULL
;
15820 wxFontData
*arg1
= (wxFontData
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15829 if (SWIG_arg_fail(1)) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (arg1
)->GetInitialFont();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 wxFont
* resultptr
;
15839 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15848 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
= NULL
;
15850 wxFontData
*arg1
= (wxFontData
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15859 if (SWIG_arg_fail(1)) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (bool)(arg1
)->GetShowHelp();
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15876 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
= NULL
;
15878 wxFontData
*arg1
= (wxFontData
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self",(char *) "allowSymbols", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15888 if (SWIG_arg_fail(1)) SWIG_fail
;
15890 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15891 if (SWIG_arg_fail(2)) SWIG_fail
;
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 (arg1
)->SetAllowSymbols(arg2
);
15897 wxPyEndAllowThreads(__tstate
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15900 Py_INCREF(Py_None
); resultobj
= Py_None
;
15907 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
= NULL
;
15909 wxFontData
*arg1
= (wxFontData
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 char *kwnames
[] = {
15914 (char *) "self",(char *) "font", NULL
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15919 if (SWIG_arg_fail(1)) SWIG_fail
;
15921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15922 if (SWIG_arg_fail(2)) SWIG_fail
;
15923 if (arg2
== NULL
) {
15924 SWIG_null_ref("wxFont");
15926 if (SWIG_arg_fail(2)) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 Py_INCREF(Py_None
); resultobj
= Py_None
;
15942 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
= NULL
;
15944 wxFontData
*arg1
= (wxFontData
*) 0 ;
15945 wxColour
*arg2
= 0 ;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "colour", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15955 if (SWIG_arg_fail(1)) SWIG_fail
;
15958 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 (arg1
)->SetColour((wxColour
const &)*arg2
);
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 Py_INCREF(Py_None
); resultobj
= Py_None
;
15974 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
= NULL
;
15976 wxFontData
*arg1
= (wxFontData
*) 0 ;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self",(char *) "font", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail
;
15988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15989 if (SWIG_arg_fail(2)) SWIG_fail
;
15990 if (arg2
== NULL
) {
15991 SWIG_null_ref("wxFont");
15993 if (SWIG_arg_fail(2)) SWIG_fail
;
15996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15997 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16002 Py_INCREF(Py_None
); resultobj
= Py_None
;
16009 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
= NULL
;
16011 wxFontData
*arg1
= (wxFontData
*) 0 ;
16014 PyObject
* obj0
= 0 ;
16015 PyObject
* obj1
= 0 ;
16016 PyObject
* obj2
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self",(char *) "min",(char *) "max", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16023 if (SWIG_arg_fail(1)) SWIG_fail
;
16025 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16026 if (SWIG_arg_fail(2)) SWIG_fail
;
16029 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16030 if (SWIG_arg_fail(3)) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 (arg1
)->SetRange(arg2
,arg3
);
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 Py_INCREF(Py_None
); resultobj
= Py_None
;
16046 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
= NULL
;
16048 wxFontData
*arg1
= (wxFontData
*) 0 ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "showHelp", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16058 if (SWIG_arg_fail(1)) SWIG_fail
;
16060 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16061 if (SWIG_arg_fail(2)) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 (arg1
)->SetShowHelp(arg2
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16077 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
16079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16080 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
16082 return Py_BuildValue((char *)"");
16084 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
= NULL
;
16086 wxWindow
*arg1
= (wxWindow
*) 0 ;
16087 wxFontData
*arg2
= 0 ;
16088 wxFontDialog
*result
;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "parent",(char *) "data", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16097 if (SWIG_arg_fail(1)) SWIG_fail
;
16099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16100 if (SWIG_arg_fail(2)) SWIG_fail
;
16101 if (arg2
== NULL
) {
16102 SWIG_null_ref("wxFontData");
16104 if (SWIG_arg_fail(2)) SWIG_fail
;
16107 if (!wxPyCheckForApp()) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
16121 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
= NULL
;
16123 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
16124 wxFontData
*result
;
16125 PyObject
* obj0
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "self", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
16131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
16132 if (SWIG_arg_fail(1)) SWIG_fail
;
16134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 wxFontData
&_result_ref
= (arg1
)->GetFontData();
16137 result
= (wxFontData
*) &_result_ref
;
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
16150 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
16152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16153 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
16155 return Py_BuildValue((char *)"");
16157 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
= NULL
;
16159 wxWindow
*arg1
= (wxWindow
*) NULL
;
16160 wxFont
const &arg2_defvalue
= wxNullFont
;
16161 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
16162 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16163 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16165 bool temp3
= false ;
16166 PyObject
* obj0
= 0 ;
16167 PyObject
* obj1
= 0 ;
16168 PyObject
* obj2
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16176 if (SWIG_arg_fail(1)) SWIG_fail
;
16180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16181 if (SWIG_arg_fail(2)) SWIG_fail
;
16182 if (arg2
== NULL
) {
16183 SWIG_null_ref("wxFont");
16185 if (SWIG_arg_fail(2)) SWIG_fail
;
16190 arg3
= wxString_in_helper(obj2
);
16191 if (arg3
== NULL
) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 wxFont
* resultptr
;
16204 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16221 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
= NULL
;
16223 wxWindow
*arg1
= (wxWindow
*) 0 ;
16224 wxString
*arg2
= 0 ;
16225 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16226 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16227 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16228 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16229 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16230 wxMessageDialog
*result
;
16231 bool temp2
= false ;
16232 bool temp3
= false ;
16234 PyObject
* obj0
= 0 ;
16235 PyObject
* obj1
= 0 ;
16236 PyObject
* obj2
= 0 ;
16237 PyObject
* obj3
= 0 ;
16238 PyObject
* obj4
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16245 if (SWIG_arg_fail(1)) SWIG_fail
;
16247 arg2
= wxString_in_helper(obj1
);
16248 if (arg2
== NULL
) SWIG_fail
;
16253 arg3
= wxString_in_helper(obj2
);
16254 if (arg3
== NULL
) SWIG_fail
;
16260 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16261 if (SWIG_arg_fail(4)) SWIG_fail
;
16267 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16271 if (!wxPyCheckForApp()) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16301 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16304 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16306 return Py_BuildValue((char *)"");
16308 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
= NULL
;
16310 wxString
*arg1
= 0 ;
16311 wxString
*arg2
= 0 ;
16312 int arg3
= (int) 100 ;
16313 wxWindow
*arg4
= (wxWindow
*) NULL
;
16314 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16315 wxProgressDialog
*result
;
16316 bool temp1
= false ;
16317 bool temp2
= false ;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj1
= 0 ;
16320 PyObject
* obj2
= 0 ;
16321 PyObject
* obj3
= 0 ;
16322 PyObject
* obj4
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16329 arg1
= wxString_in_helper(obj0
);
16330 if (arg1
== NULL
) SWIG_fail
;
16334 arg2
= wxString_in_helper(obj1
);
16335 if (arg2
== NULL
) SWIG_fail
;
16340 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16341 if (SWIG_arg_fail(3)) SWIG_fail
;
16345 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16346 if (SWIG_arg_fail(4)) SWIG_fail
;
16350 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16351 if (SWIG_arg_fail(5)) SWIG_fail
;
16355 if (!wxPyCheckForApp()) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16385 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
= NULL
;
16387 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16389 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16390 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16392 bool temp3
= false ;
16393 PyObject
* obj0
= 0 ;
16394 PyObject
* obj1
= 0 ;
16395 PyObject
* obj2
= 0 ;
16396 char *kwnames
[] = {
16397 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16402 if (SWIG_arg_fail(1)) SWIG_fail
;
16404 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16405 if (SWIG_arg_fail(2)) SWIG_fail
;
16409 arg3
= wxString_in_helper(obj2
);
16410 if (arg3
== NULL
) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16438 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
= NULL
;
16440 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16448 if (SWIG_arg_fail(1)) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 Py_INCREF(Py_None
); resultobj
= Py_None
;
16463 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16466 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16468 return Py_BuildValue((char *)"");
16470 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
= NULL
;
16472 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16473 int arg2
= (int) 0 ;
16474 wxFindDialogEvent
*result
;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "commandType",(char *) "id", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16484 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16485 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16491 if (SWIG_arg_fail(2)) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16508 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= NULL
;
16510 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16519 if (SWIG_arg_fail(1)) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 result
= (int)(arg1
)->GetFlags();
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= SWIG_From_int(static_cast<int >(result
));
16536 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
= NULL
;
16538 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 char *kwnames
[] = {
16542 (char *) "self", NULL
16545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16547 if (SWIG_arg_fail(1)) SWIG_fail
;
16549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 wxString
const &_result_ref
= (arg1
)->GetFindString();
16552 result
= (wxString
*) &_result_ref
;
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16560 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16562 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16571 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
= NULL
;
16573 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16582 if (SWIG_arg_fail(1)) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16587 result
= (wxString
*) &_result_ref
;
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16597 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16606 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
= NULL
;
16608 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16609 wxFindReplaceDialog
*result
;
16610 PyObject
* obj0
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16617 if (SWIG_arg_fail(1)) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16632 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16633 PyObject
*resultobj
= NULL
;
16634 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16636 PyObject
* obj0
= 0 ;
16637 PyObject
* obj1
= 0 ;
16638 char *kwnames
[] = {
16639 (char *) "self",(char *) "flags", NULL
16642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16644 if (SWIG_arg_fail(1)) SWIG_fail
;
16646 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16647 if (SWIG_arg_fail(2)) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 (arg1
)->SetFlags(arg2
);
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16656 Py_INCREF(Py_None
); resultobj
= Py_None
;
16663 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
= NULL
;
16665 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16666 wxString
*arg2
= 0 ;
16667 bool temp2
= false ;
16668 PyObject
* obj0
= 0 ;
16669 PyObject
* obj1
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self",(char *) "str", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16676 if (SWIG_arg_fail(1)) SWIG_fail
;
16678 arg2
= wxString_in_helper(obj1
);
16679 if (arg2
== NULL
) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 (arg1
)->SetFindString((wxString
const &)*arg2
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 Py_INCREF(Py_None
); resultobj
= Py_None
;
16704 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
= NULL
;
16706 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16707 wxString
*arg2
= 0 ;
16708 bool temp2
= false ;
16709 PyObject
* obj0
= 0 ;
16710 PyObject
* obj1
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self",(char *) "str", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16717 if (SWIG_arg_fail(1)) SWIG_fail
;
16719 arg2
= wxString_in_helper(obj1
);
16720 if (arg2
== NULL
) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 Py_INCREF(Py_None
); resultobj
= Py_None
;
16745 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16748 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16750 return Py_BuildValue((char *)"");
16752 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
= NULL
;
16754 int arg1
= (int) 0 ;
16755 wxFindReplaceData
*result
;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "flags", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16764 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16765 if (SWIG_arg_fail(1)) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16770 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16772 wxPyEndAllowThreads(__tstate
);
16773 if (PyErr_Occurred()) SWIG_fail
;
16775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16782 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
= NULL
;
16784 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16792 if (SWIG_arg_fail(1)) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16800 Py_INCREF(Py_None
); resultobj
= Py_None
;
16807 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16808 PyObject
*resultobj
= NULL
;
16809 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16811 PyObject
* obj0
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16818 if (SWIG_arg_fail(1)) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 wxString
const &_result_ref
= (arg1
)->GetFindString();
16823 result
= (wxString
*) &_result_ref
;
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16842 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= NULL
;
16844 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 char *kwnames
[] = {
16848 (char *) "self", NULL
16851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16853 if (SWIG_arg_fail(1)) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16858 result
= (wxString
*) &_result_ref
;
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16868 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16877 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
= NULL
;
16879 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16881 PyObject
* obj0
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "self", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16888 if (SWIG_arg_fail(1)) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (int)(arg1
)->GetFlags();
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16897 resultobj
= SWIG_From_int(static_cast<int >(result
));
16905 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
= NULL
;
16907 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self",(char *) "flags", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16917 if (SWIG_arg_fail(1)) SWIG_fail
;
16919 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16920 if (SWIG_arg_fail(2)) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 (arg1
)->SetFlags(arg2
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 Py_INCREF(Py_None
); resultobj
= Py_None
;
16936 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= NULL
;
16938 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16939 wxString
*arg2
= 0 ;
16940 bool temp2
= false ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "str", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16949 if (SWIG_arg_fail(1)) SWIG_fail
;
16951 arg2
= wxString_in_helper(obj1
);
16952 if (arg2
== NULL
) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->SetFindString((wxString
const &)*arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 Py_INCREF(Py_None
); resultobj
= Py_None
;
16977 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
= NULL
;
16979 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16980 wxString
*arg2
= 0 ;
16981 bool temp2
= false ;
16982 PyObject
* obj0
= 0 ;
16983 PyObject
* obj1
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self",(char *) "str", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16990 if (SWIG_arg_fail(1)) SWIG_fail
;
16992 arg2
= wxString_in_helper(obj1
);
16993 if (arg2
== NULL
) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 Py_INCREF(Py_None
); resultobj
= Py_None
;
17018 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
17020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17021 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
17023 return Py_BuildValue((char *)"");
17025 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
= NULL
;
17027 wxWindow
*arg1
= (wxWindow
*) 0 ;
17028 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17029 wxString
*arg3
= 0 ;
17030 int arg4
= (int) 0 ;
17031 wxFindReplaceDialog
*result
;
17032 bool temp3
= false ;
17033 PyObject
* obj0
= 0 ;
17034 PyObject
* obj1
= 0 ;
17035 PyObject
* obj2
= 0 ;
17036 PyObject
* obj3
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17045 if (SWIG_arg_fail(2)) SWIG_fail
;
17047 arg3
= wxString_in_helper(obj2
);
17048 if (arg3
== NULL
) SWIG_fail
;
17053 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17054 if (SWIG_arg_fail(4)) SWIG_fail
;
17058 if (!wxPyCheckForApp()) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17080 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
= NULL
;
17082 wxFindReplaceDialog
*result
;
17083 char *kwnames
[] = {
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
17089 if (!wxPyCheckForApp()) SWIG_fail
;
17090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17091 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17103 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
= NULL
;
17105 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17106 wxWindow
*arg2
= (wxWindow
*) 0 ;
17107 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
17108 wxString
*arg4
= 0 ;
17109 int arg5
= (int) 0 ;
17111 bool temp4
= false ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 PyObject
* obj2
= 0 ;
17115 PyObject
* obj3
= 0 ;
17116 PyObject
* obj4
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17123 if (SWIG_arg_fail(1)) SWIG_fail
;
17124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17125 if (SWIG_arg_fail(2)) SWIG_fail
;
17126 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17127 if (SWIG_arg_fail(3)) SWIG_fail
;
17129 arg4
= wxString_in_helper(obj3
);
17130 if (arg4
== NULL
) SWIG_fail
;
17135 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17136 if (SWIG_arg_fail(5)) SWIG_fail
;
17140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17141 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17143 wxPyEndAllowThreads(__tstate
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17163 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
= NULL
;
17165 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17166 wxFindReplaceData
*result
;
17167 PyObject
* obj0
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
17173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17174 if (SWIG_arg_fail(1)) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17189 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
= NULL
;
17191 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17192 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self",(char *) "data", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17201 if (SWIG_arg_fail(1)) SWIG_fail
;
17202 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17203 if (SWIG_arg_fail(2)) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 (arg1
)->SetData(arg2
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17211 Py_INCREF(Py_None
); resultobj
= Py_None
;
17218 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17221 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17223 return Py_BuildValue((char *)"");
17225 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17226 PyObject
*resultobj
= NULL
;
17227 wxWindow
*arg1
= (wxWindow
*) 0 ;
17228 int arg2
= (int) (int)-1 ;
17229 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17230 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17231 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17232 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17233 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17234 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17235 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17236 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17237 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17238 wxMDIParentFrame
*result
;
17239 bool temp3
= false ;
17242 bool temp7
= false ;
17243 PyObject
* obj0
= 0 ;
17244 PyObject
* obj1
= 0 ;
17245 PyObject
* obj2
= 0 ;
17246 PyObject
* obj3
= 0 ;
17247 PyObject
* obj4
= 0 ;
17248 PyObject
* obj5
= 0 ;
17249 PyObject
* obj6
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17256 if (SWIG_arg_fail(1)) SWIG_fail
;
17259 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17260 if (SWIG_arg_fail(2)) SWIG_fail
;
17265 arg3
= wxString_in_helper(obj2
);
17266 if (arg3
== NULL
) SWIG_fail
;
17273 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17279 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17284 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17285 if (SWIG_arg_fail(6)) SWIG_fail
;
17290 arg7
= wxString_in_helper(obj6
);
17291 if (arg7
== NULL
) SWIG_fail
;
17296 if (!wxPyCheckForApp()) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17326 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
= NULL
;
17328 wxMDIParentFrame
*result
;
17329 char *kwnames
[] = {
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17335 if (!wxPyCheckForApp()) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17349 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
= NULL
;
17351 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17352 wxWindow
*arg2
= (wxWindow
*) 0 ;
17353 int arg3
= (int) (int)-1 ;
17354 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17355 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17356 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17357 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17358 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17359 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17360 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17361 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17362 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17364 bool temp4
= false ;
17367 bool temp8
= false ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 PyObject
* obj2
= 0 ;
17371 PyObject
* obj3
= 0 ;
17372 PyObject
* obj4
= 0 ;
17373 PyObject
* obj5
= 0 ;
17374 PyObject
* obj6
= 0 ;
17375 PyObject
* obj7
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17382 if (SWIG_arg_fail(1)) SWIG_fail
;
17383 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17384 if (SWIG_arg_fail(2)) SWIG_fail
;
17387 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17388 if (SWIG_arg_fail(3)) SWIG_fail
;
17393 arg4
= wxString_in_helper(obj3
);
17394 if (arg4
== NULL
) SWIG_fail
;
17401 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17407 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17412 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17413 if (SWIG_arg_fail(7)) SWIG_fail
;
17418 arg8
= wxString_in_helper(obj7
);
17419 if (arg8
== NULL
) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17455 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
= NULL
;
17457 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 char *kwnames
[] = {
17460 (char *) "self", NULL
17463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17465 if (SWIG_arg_fail(1)) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 (arg1
)->ActivateNext();
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 Py_INCREF(Py_None
); resultobj
= Py_None
;
17480 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
= NULL
;
17482 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17490 if (SWIG_arg_fail(1)) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 (arg1
)->ActivatePrevious();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 Py_INCREF(Py_None
); resultobj
= Py_None
;
17505 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
= NULL
;
17507 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17508 PyObject
* obj0
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 (arg1
)->ArrangeIcons();
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 Py_INCREF(Py_None
); resultobj
= Py_None
;
17530 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
= NULL
;
17532 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 Py_INCREF(Py_None
); resultobj
= Py_None
;
17555 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
= NULL
;
17557 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17558 wxMDIChildFrame
*result
;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17566 if (SWIG_arg_fail(1)) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17583 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
= NULL
;
17585 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17586 wxMDIClientWindow
*result
;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "self", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17594 if (SWIG_arg_fail(1)) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17611 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17612 PyObject
*resultobj
= NULL
;
17613 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17615 PyObject
* obj0
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17622 if (SWIG_arg_fail(1)) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17625 result
= (wxWindow
*)(arg1
)->GetToolBar();
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= wxPyMake_wxObject(result
, 0);
17639 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
= NULL
;
17641 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17643 PyObject
* obj0
= 0 ;
17644 char *kwnames
[] = {
17645 (char *) "self", NULL
17648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
17649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17650 if (SWIG_arg_fail(1)) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= wxPyMake_wxObject(result
, 0);
17667 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
= NULL
;
17669 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17670 wxMenu
*arg2
= (wxMenu
*) 0 ;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self",(char *) "menu", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
17678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17679 if (SWIG_arg_fail(1)) SWIG_fail
;
17680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
17681 if (SWIG_arg_fail(2)) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 (arg1
)->SetWindowMenu(arg2
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 Py_INCREF(Py_None
); resultobj
= Py_None
;
17696 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
= NULL
;
17698 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17699 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 PyObject
* obj1
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "toolbar", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
17707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17708 if (SWIG_arg_fail(1)) SWIG_fail
;
17709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
17710 if (SWIG_arg_fail(2)) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 (arg1
)->SetToolBar(arg2
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 Py_INCREF(Py_None
); resultobj
= Py_None
;
17725 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
= NULL
;
17727 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17728 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self",(char *) "orient", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17737 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17741 if (SWIG_arg_fail(2)) SWIG_fail
;
17745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17746 (arg1
)->Tile(arg2
);
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 Py_INCREF(Py_None
); resultobj
= Py_None
;
17758 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17761 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17763 return Py_BuildValue((char *)"");
17765 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
= NULL
;
17767 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17768 int arg2
= (int) (int)-1 ;
17769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17771 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17772 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17773 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17774 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17775 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17776 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17777 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17778 wxMDIChildFrame
*result
;
17779 bool temp3
= false ;
17782 bool temp7
= false ;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 PyObject
* obj2
= 0 ;
17786 PyObject
* obj3
= 0 ;
17787 PyObject
* obj4
= 0 ;
17788 PyObject
* obj5
= 0 ;
17789 PyObject
* obj6
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17796 if (SWIG_arg_fail(1)) SWIG_fail
;
17799 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17800 if (SWIG_arg_fail(2)) SWIG_fail
;
17805 arg3
= wxString_in_helper(obj2
);
17806 if (arg3
== NULL
) SWIG_fail
;
17813 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17819 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17824 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17825 if (SWIG_arg_fail(6)) SWIG_fail
;
17830 arg7
= wxString_in_helper(obj6
);
17831 if (arg7
== NULL
) SWIG_fail
;
17836 if (!wxPyCheckForApp()) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17866 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17867 PyObject
*resultobj
= NULL
;
17868 wxMDIChildFrame
*result
;
17869 char *kwnames
[] = {
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17875 if (!wxPyCheckForApp()) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17889 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17890 PyObject
*resultobj
= NULL
;
17891 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17892 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17893 int arg3
= (int) (int)-1 ;
17894 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17895 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17900 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17901 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17902 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17904 bool temp4
= false ;
17907 bool temp8
= false ;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 PyObject
* obj2
= 0 ;
17911 PyObject
* obj3
= 0 ;
17912 PyObject
* obj4
= 0 ;
17913 PyObject
* obj5
= 0 ;
17914 PyObject
* obj6
= 0 ;
17915 PyObject
* obj7
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17922 if (SWIG_arg_fail(1)) SWIG_fail
;
17923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17924 if (SWIG_arg_fail(2)) SWIG_fail
;
17927 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17928 if (SWIG_arg_fail(3)) SWIG_fail
;
17933 arg4
= wxString_in_helper(obj3
);
17934 if (arg4
== NULL
) SWIG_fail
;
17941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17952 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17953 if (SWIG_arg_fail(7)) SWIG_fail
;
17958 arg8
= wxString_in_helper(obj7
);
17959 if (arg8
== NULL
) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17995 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
= NULL
;
17997 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
18004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18005 if (SWIG_arg_fail(1)) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 (arg1
)->Activate();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18013 Py_INCREF(Py_None
); resultobj
= Py_None
;
18020 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18021 PyObject
*resultobj
= NULL
;
18022 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18023 bool arg2
= (bool) true ;
18024 PyObject
* obj0
= 0 ;
18025 PyObject
* obj1
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self",(char *) "maximize", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
18031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18032 if (SWIG_arg_fail(1)) SWIG_fail
;
18035 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18036 if (SWIG_arg_fail(2)) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->Maximize(arg2
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
= NULL
;
18055 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18056 PyObject
* obj0
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
18062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18063 if (SWIG_arg_fail(1)) SWIG_fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 Py_INCREF(Py_None
); resultobj
= Py_None
;
18078 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
18080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18081 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
18083 return Py_BuildValue((char *)"");
18085 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
= NULL
;
18087 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
18088 long arg2
= (long) 0 ;
18089 wxMDIClientWindow
*result
;
18090 PyObject
* obj0
= 0 ;
18091 PyObject
* obj1
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "parent",(char *) "style", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18098 if (SWIG_arg_fail(1)) SWIG_fail
;
18101 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18102 if (SWIG_arg_fail(2)) SWIG_fail
;
18106 if (!wxPyCheckForApp()) SWIG_fail
;
18107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18108 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
18110 wxPyEndAllowThreads(__tstate
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18120 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
= NULL
;
18122 wxMDIClientWindow
*result
;
18123 char *kwnames
[] = {
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
18129 if (!wxPyCheckForApp()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18143 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
= NULL
;
18145 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
18146 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
18147 long arg3
= (long) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 PyObject
* obj1
= 0 ;
18151 PyObject
* obj2
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self",(char *) "parent",(char *) "style", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18160 if (SWIG_arg_fail(2)) SWIG_fail
;
18163 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18164 if (SWIG_arg_fail(3)) SWIG_fail
;
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 result
= (bool)(arg1
)->Create(arg2
,arg3
);
18171 wxPyEndAllowThreads(__tstate
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18183 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
18185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18186 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
18188 return Py_BuildValue((char *)"");
18190 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
= NULL
;
18192 wxWindow
*arg1
= (wxWindow
*) 0 ;
18193 int arg2
= (int) (int)-1 ;
18194 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18195 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18196 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18197 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18198 long arg5
= (long) 0 ;
18199 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18200 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18201 wxPyWindow
*result
;
18204 bool temp6
= false ;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18207 PyObject
* obj2
= 0 ;
18208 PyObject
* obj3
= 0 ;
18209 PyObject
* obj4
= 0 ;
18210 PyObject
* obj5
= 0 ;
18211 char *kwnames
[] = {
18212 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18217 if (SWIG_arg_fail(1)) SWIG_fail
;
18220 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18221 if (SWIG_arg_fail(2)) SWIG_fail
;
18227 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18233 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18238 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18239 if (SWIG_arg_fail(5)) SWIG_fail
;
18244 arg6
= wxString_in_helper(obj5
);
18245 if (arg6
== NULL
) SWIG_fail
;
18250 if (!wxPyCheckForApp()) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18272 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
= NULL
;
18274 wxPyWindow
*result
;
18275 char *kwnames
[] = {
18279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18281 if (!wxPyCheckForApp()) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= (wxPyWindow
*)new wxPyWindow();
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18295 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
= NULL
;
18297 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18298 PyObject
*arg2
= (PyObject
*) 0 ;
18299 PyObject
*arg3
= (PyObject
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 PyObject
* obj2
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "self",(char *) "_class", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18309 if (SWIG_arg_fail(1)) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 Py_INCREF(Py_None
); resultobj
= Py_None
;
18326 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
= NULL
;
18328 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self",(char *) "size", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18339 if (SWIG_arg_fail(1)) SWIG_fail
;
18342 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 Py_INCREF(Py_None
); resultobj
= Py_None
;
18358 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
= NULL
;
18360 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18361 wxDC
*arg2
= (wxDC
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "dc", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18371 if (SWIG_arg_fail(1)) SWIG_fail
;
18372 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(2)) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18390 static PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
= NULL
;
18392 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 PyObject
* obj1
= 0 ;
18399 PyObject
* obj2
= 0 ;
18400 PyObject
* obj3
= 0 ;
18401 PyObject
* obj4
= 0 ;
18402 char *kwnames
[] = {
18403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18408 if (SWIG_arg_fail(1)) SWIG_fail
;
18410 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18411 if (SWIG_arg_fail(2)) SWIG_fail
;
18414 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18415 if (SWIG_arg_fail(3)) SWIG_fail
;
18418 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18419 if (SWIG_arg_fail(4)) SWIG_fail
;
18422 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18423 if (SWIG_arg_fail(5)) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 Py_INCREF(Py_None
); resultobj
= Py_None
;
18439 static PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
= NULL
;
18441 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18446 int arg6
= (int) wxSIZE_AUTO
;
18447 PyObject
* obj0
= 0 ;
18448 PyObject
* obj1
= 0 ;
18449 PyObject
* obj2
= 0 ;
18450 PyObject
* obj3
= 0 ;
18451 PyObject
* obj4
= 0 ;
18452 PyObject
* obj5
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail
;
18461 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18462 if (SWIG_arg_fail(2)) SWIG_fail
;
18465 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18466 if (SWIG_arg_fail(3)) SWIG_fail
;
18469 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18470 if (SWIG_arg_fail(4)) SWIG_fail
;
18473 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18474 if (SWIG_arg_fail(5)) SWIG_fail
;
18478 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18479 if (SWIG_arg_fail(6)) SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 Py_INCREF(Py_None
); resultobj
= Py_None
;
18496 static PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18497 PyObject
*resultobj
= NULL
;
18498 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 PyObject
* obj2
= 0 ;
18504 char *kwnames
[] = {
18505 (char *) "self",(char *) "width",(char *) "height", NULL
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18510 if (SWIG_arg_fail(1)) SWIG_fail
;
18512 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18513 if (SWIG_arg_fail(2)) SWIG_fail
;
18516 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18517 if (SWIG_arg_fail(3)) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18521 (arg1
)->DoSetClientSize(arg2
,arg3
);
18523 wxPyEndAllowThreads(__tstate
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 Py_INCREF(Py_None
); resultobj
= Py_None
;
18533 static PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18534 PyObject
*resultobj
= NULL
;
18535 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 PyObject
* obj2
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self",(char *) "x",(char *) "y", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail
;
18549 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18550 if (SWIG_arg_fail(2)) SWIG_fail
;
18553 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18554 if (SWIG_arg_fail(3)) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 Py_INCREF(Py_None
); resultobj
= Py_None
;
18570 static PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
= NULL
;
18572 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18573 int *arg2
= (int *) 0 ;
18574 int *arg3
= (int *) 0 ;
18579 PyObject
* obj0
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self", NULL
18584 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18585 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
18587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18588 if (SWIG_arg_fail(1)) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 Py_INCREF(Py_None
); resultobj
= Py_None
;
18597 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18598 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18599 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18600 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18607 static PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
= NULL
;
18609 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18610 int *arg2
= (int *) 0 ;
18611 int *arg3
= (int *) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self", NULL
18621 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18622 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18625 if (SWIG_arg_fail(1)) SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18635 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18636 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18637 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18644 static PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
= NULL
;
18646 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18647 int *arg2
= (int *) 0 ;
18648 int *arg3
= (int *) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18659 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18662 if (SWIG_arg_fail(1)) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 Py_INCREF(Py_None
); resultobj
= Py_None
;
18671 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18672 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18673 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18674 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18681 static PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
= NULL
;
18683 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18685 PyObject
* obj0
= 0 ;
18686 char *kwnames
[] = {
18687 (char *) "self", NULL
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 wxSize
* resultptr
;
18702 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18711 static PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
= NULL
;
18713 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18722 if (SWIG_arg_fail(1)) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18731 wxSize
* resultptr
;
18732 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18741 static PyObject
*_wrap_PyWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
= NULL
;
18743 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18744 PyObject
* obj0
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
18750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18751 if (SWIG_arg_fail(1)) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->InitDialog();
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18766 static PyObject
*_wrap_PyWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
= NULL
;
18768 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18777 if (SWIG_arg_fail(1)) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (bool)(arg1
)->TransferDataToWindow();
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18794 static PyObject
*_wrap_PyWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
= NULL
;
18796 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18805 if (SWIG_arg_fail(1)) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (bool)(arg1
)->TransferDataFromWindow();
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18822 static PyObject
*_wrap_PyWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
= NULL
;
18824 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_Validate",kwnames
,&obj0
)) goto fail
;
18832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18833 if (SWIG_arg_fail(1)) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= (bool)(arg1
)->Validate();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18850 static PyObject
*_wrap_PyWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18851 PyObject
*resultobj
= NULL
;
18852 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18861 if (SWIG_arg_fail(1)) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocus();
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18878 static PyObject
*_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
= NULL
;
18880 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18889 if (SWIG_arg_fail(1)) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18906 static PyObject
*_wrap_PyWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
= NULL
;
18908 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18917 if (SWIG_arg_fail(1)) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 result
= ((wxPyWindow
const *)arg1
)->GetMaxSize();
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18926 wxSize
* resultptr
;
18927 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18936 static PyObject
*_wrap_PyWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
= NULL
;
18938 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18939 wxWindow
*arg2
= (wxWindow
*) 0 ;
18940 PyObject
* obj0
= 0 ;
18941 PyObject
* obj1
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "self",(char *) "child", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18948 if (SWIG_arg_fail(1)) SWIG_fail
;
18949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18950 if (SWIG_arg_fail(2)) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 (arg1
)->AddChild(arg2
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 Py_INCREF(Py_None
); resultobj
= Py_None
;
18965 static PyObject
*_wrap_PyWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
= NULL
;
18967 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18968 wxWindow
*arg2
= (wxWindow
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self",(char *) "child", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail
;
18978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18979 if (SWIG_arg_fail(2)) SWIG_fail
;
18981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18982 (arg1
)->RemoveChild(arg2
);
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18987 Py_INCREF(Py_None
); resultobj
= Py_None
;
18994 static PyObject
*_wrap_PyWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
= NULL
;
18996 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19005 if (SWIG_arg_fail(1)) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 result
= (bool)((wxPyWindow
const *)arg1
)->ShouldInheritColours();
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19022 static PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
= NULL
;
19024 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19025 wxVisualAttributes result
;
19026 PyObject
* obj0
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19033 if (SWIG_arg_fail(1)) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (arg1
)->GetDefaultAttributes();
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19042 wxVisualAttributes
* resultptr
;
19043 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19052 static PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
= NULL
;
19054 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19062 if (SWIG_arg_fail(1)) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 (arg1
)->OnInternalIdle();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 Py_INCREF(Py_None
); resultobj
= Py_None
;
19077 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
19079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19080 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
19082 return Py_BuildValue((char *)"");
19084 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
= NULL
;
19086 wxWindow
*arg1
= (wxWindow
*) 0 ;
19087 int arg2
= (int) (int)-1 ;
19088 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19089 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19090 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19091 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19092 long arg5
= (long) 0 ;
19093 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19094 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19098 bool temp6
= false ;
19099 PyObject
* obj0
= 0 ;
19100 PyObject
* obj1
= 0 ;
19101 PyObject
* obj2
= 0 ;
19102 PyObject
* obj3
= 0 ;
19103 PyObject
* obj4
= 0 ;
19104 PyObject
* obj5
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19111 if (SWIG_arg_fail(1)) SWIG_fail
;
19114 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19115 if (SWIG_arg_fail(2)) SWIG_fail
;
19121 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19127 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19132 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19133 if (SWIG_arg_fail(5)) SWIG_fail
;
19138 arg6
= wxString_in_helper(obj5
);
19139 if (arg6
== NULL
) SWIG_fail
;
19144 if (!wxPyCheckForApp()) SWIG_fail
;
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19166 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
= NULL
;
19169 char *kwnames
[] = {
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
19175 if (!wxPyCheckForApp()) SWIG_fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (wxPyPanel
*)new wxPyPanel();
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19189 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19190 PyObject
*resultobj
= NULL
;
19191 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19192 PyObject
*arg2
= (PyObject
*) 0 ;
19193 PyObject
*arg3
= (PyObject
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 PyObject
* obj2
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "self",(char *) "_class", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19203 if (SWIG_arg_fail(1)) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 Py_INCREF(Py_None
); resultobj
= Py_None
;
19220 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
= NULL
;
19222 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "size", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19233 if (SWIG_arg_fail(1)) SWIG_fail
;
19236 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
= NULL
;
19254 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19255 wxDC
*arg2
= (wxDC
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self",(char *) "dc", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19265 if (SWIG_arg_fail(1)) SWIG_fail
;
19266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19267 if (SWIG_arg_fail(2)) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19284 static PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
= NULL
;
19286 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19291 PyObject
* obj0
= 0 ;
19292 PyObject
* obj1
= 0 ;
19293 PyObject
* obj2
= 0 ;
19294 PyObject
* obj3
= 0 ;
19295 PyObject
* obj4
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19305 if (SWIG_arg_fail(2)) SWIG_fail
;
19308 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19309 if (SWIG_arg_fail(3)) SWIG_fail
;
19312 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19313 if (SWIG_arg_fail(4)) SWIG_fail
;
19316 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19317 if (SWIG_arg_fail(5)) SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19321 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19326 Py_INCREF(Py_None
); resultobj
= Py_None
;
19333 static PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
= NULL
;
19335 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19340 int arg6
= (int) wxSIZE_AUTO
;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 PyObject
* obj2
= 0 ;
19344 PyObject
* obj3
= 0 ;
19345 PyObject
* obj4
= 0 ;
19346 PyObject
* obj5
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19353 if (SWIG_arg_fail(1)) SWIG_fail
;
19355 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19356 if (SWIG_arg_fail(2)) SWIG_fail
;
19359 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19360 if (SWIG_arg_fail(3)) SWIG_fail
;
19363 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19364 if (SWIG_arg_fail(4)) SWIG_fail
;
19367 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19368 if (SWIG_arg_fail(5)) SWIG_fail
;
19372 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19373 if (SWIG_arg_fail(6)) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
= NULL
;
19392 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 PyObject
* obj2
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self",(char *) "width",(char *) "height", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19404 if (SWIG_arg_fail(1)) SWIG_fail
;
19406 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19407 if (SWIG_arg_fail(2)) SWIG_fail
;
19410 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19411 if (SWIG_arg_fail(3)) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->DoSetClientSize(arg2
,arg3
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
= NULL
;
19429 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 PyObject
* obj2
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self",(char *) "x",(char *) "y", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19441 if (SWIG_arg_fail(1)) SWIG_fail
;
19443 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19444 if (SWIG_arg_fail(2)) SWIG_fail
;
19447 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19448 if (SWIG_arg_fail(3)) SWIG_fail
;
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 Py_INCREF(Py_None
); resultobj
= Py_None
;
19464 static PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
= NULL
;
19466 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19467 int *arg2
= (int *) 0 ;
19468 int *arg3
= (int *) 0 ;
19473 PyObject
* obj0
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self", NULL
19478 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19479 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetSize",kwnames
,&obj0
)) goto fail
;
19481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19482 if (SWIG_arg_fail(1)) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 Py_INCREF(Py_None
); resultobj
= Py_None
;
19491 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19492 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19493 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19494 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19501 static PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
= NULL
;
19503 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19504 int *arg2
= (int *) 0 ;
19505 int *arg3
= (int *) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self", NULL
19515 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19516 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19519 if (SWIG_arg_fail(1)) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19529 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19530 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19531 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19538 static PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
= NULL
;
19540 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19541 int *arg2
= (int *) 0 ;
19542 int *arg3
= (int *) 0 ;
19547 PyObject
* obj0
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self", NULL
19552 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19553 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19556 if (SWIG_arg_fail(1)) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19566 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19567 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19568 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19575 static PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
= NULL
;
19577 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19586 if (SWIG_arg_fail(1)) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19595 wxSize
* resultptr
;
19596 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19605 static PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
= NULL
;
19607 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19616 if (SWIG_arg_fail(1)) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19625 wxSize
* resultptr
;
19626 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19635 static PyObject
*_wrap_PyPanel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
= NULL
;
19637 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 char *kwnames
[] = {
19640 (char *) "self", NULL
19643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_InitDialog",kwnames
,&obj0
)) goto fail
;
19644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19645 if (SWIG_arg_fail(1)) SWIG_fail
;
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->InitDialog();
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_PyPanel_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
= NULL
;
19662 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19671 if (SWIG_arg_fail(1)) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (bool)(arg1
)->TransferDataToWindow();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19688 static PyObject
*_wrap_PyPanel_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
= NULL
;
19690 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19699 if (SWIG_arg_fail(1)) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 result
= (bool)(arg1
)->TransferDataFromWindow();
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19716 static PyObject
*_wrap_PyPanel_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19717 PyObject
*resultobj
= NULL
;
19718 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_Validate",kwnames
,&obj0
)) goto fail
;
19726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19727 if (SWIG_arg_fail(1)) SWIG_fail
;
19729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19730 result
= (bool)(arg1
)->Validate();
19732 wxPyEndAllowThreads(__tstate
);
19733 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19744 static PyObject
*_wrap_PyPanel_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
= NULL
;
19746 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 char *kwnames
[] = {
19750 (char *) "self", NULL
19753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19755 if (SWIG_arg_fail(1)) SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocus();
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19772 static PyObject
*_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
= NULL
;
19774 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19783 if (SWIG_arg_fail(1)) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocusFromKeyboard();
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19800 static PyObject
*_wrap_PyPanel_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
= NULL
;
19802 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19811 if (SWIG_arg_fail(1)) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 result
= ((wxPyPanel
const *)arg1
)->GetMaxSize();
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 wxSize
* resultptr
;
19821 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19830 static PyObject
*_wrap_PyPanel_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
= NULL
;
19832 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19833 wxWindow
*arg2
= (wxWindow
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "child", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19842 if (SWIG_arg_fail(1)) SWIG_fail
;
19843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19844 if (SWIG_arg_fail(2)) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 (arg1
)->AddChild(arg2
);
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 Py_INCREF(Py_None
); resultobj
= Py_None
;
19859 static PyObject
*_wrap_PyPanel_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
= NULL
;
19861 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19862 wxWindow
*arg2
= (wxWindow
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 PyObject
* obj1
= 0 ;
19865 char *kwnames
[] = {
19866 (char *) "self",(char *) "child", NULL
19869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19871 if (SWIG_arg_fail(1)) SWIG_fail
;
19872 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19873 if (SWIG_arg_fail(2)) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 (arg1
)->RemoveChild(arg2
);
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 Py_INCREF(Py_None
); resultobj
= Py_None
;
19888 static PyObject
*_wrap_PyPanel_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
= NULL
;
19890 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19899 if (SWIG_arg_fail(1)) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (bool)((wxPyPanel
const *)arg1
)->ShouldInheritColours();
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19916 static PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19917 PyObject
*resultobj
= NULL
;
19918 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19919 wxVisualAttributes result
;
19920 PyObject
* obj0
= 0 ;
19921 char *kwnames
[] = {
19922 (char *) "self", NULL
19925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19927 if (SWIG_arg_fail(1)) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 result
= (arg1
)->GetDefaultAttributes();
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19936 wxVisualAttributes
* resultptr
;
19937 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19946 static PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
= NULL
;
19948 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19949 PyObject
* obj0
= 0 ;
19950 char *kwnames
[] = {
19951 (char *) "self", NULL
19954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19956 if (SWIG_arg_fail(1)) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 (arg1
)->OnInternalIdle();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 Py_INCREF(Py_None
); resultobj
= Py_None
;
19971 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19974 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19976 return Py_BuildValue((char *)"");
19978 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
= NULL
;
19980 wxWindow
*arg1
= (wxWindow
*) 0 ;
19981 int arg2
= (int) (int)-1 ;
19982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19984 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19985 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19986 long arg5
= (long) 0 ;
19987 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19988 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19989 wxPyScrolledWindow
*result
;
19992 bool temp6
= false ;
19993 PyObject
* obj0
= 0 ;
19994 PyObject
* obj1
= 0 ;
19995 PyObject
* obj2
= 0 ;
19996 PyObject
* obj3
= 0 ;
19997 PyObject
* obj4
= 0 ;
19998 PyObject
* obj5
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20005 if (SWIG_arg_fail(1)) SWIG_fail
;
20008 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
20009 if (SWIG_arg_fail(2)) SWIG_fail
;
20015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20021 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20026 arg5
= static_cast<long >(SWIG_As_long(obj4
));
20027 if (SWIG_arg_fail(5)) SWIG_fail
;
20032 arg6
= wxString_in_helper(obj5
);
20033 if (arg6
== NULL
) SWIG_fail
;
20038 if (!wxPyCheckForApp()) SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
20060 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
= NULL
;
20062 wxPyScrolledWindow
*result
;
20063 char *kwnames
[] = {
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
20069 if (!wxPyCheckForApp()) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
20083 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
= NULL
;
20085 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20086 PyObject
*arg2
= (PyObject
*) 0 ;
20087 PyObject
*arg3
= (PyObject
*) 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20090 PyObject
* obj2
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self",(char *) "self",(char *) "_class", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20097 if (SWIG_arg_fail(1)) SWIG_fail
;
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 Py_INCREF(Py_None
); resultobj
= Py_None
;
20114 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
= NULL
;
20116 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 PyObject
* obj1
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self",(char *) "size", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20127 if (SWIG_arg_fail(1)) SWIG_fail
;
20130 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
20136 wxPyEndAllowThreads(__tstate
);
20137 if (PyErr_Occurred()) SWIG_fail
;
20139 Py_INCREF(Py_None
); resultobj
= Py_None
;
20146 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
= NULL
;
20148 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20149 wxDC
*arg2
= (wxDC
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 PyObject
* obj1
= 0 ;
20153 char *kwnames
[] = {
20154 (char *) "self",(char *) "dc", NULL
20157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20159 if (SWIG_arg_fail(1)) SWIG_fail
;
20160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20161 if (SWIG_arg_fail(2)) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20178 static PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
= NULL
;
20180 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20185 PyObject
* obj0
= 0 ;
20186 PyObject
* obj1
= 0 ;
20187 PyObject
* obj2
= 0 ;
20188 PyObject
* obj3
= 0 ;
20189 PyObject
* obj4
= 0 ;
20190 char *kwnames
[] = {
20191 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20196 if (SWIG_arg_fail(1)) SWIG_fail
;
20198 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20199 if (SWIG_arg_fail(2)) SWIG_fail
;
20202 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20203 if (SWIG_arg_fail(3)) SWIG_fail
;
20206 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20207 if (SWIG_arg_fail(4)) SWIG_fail
;
20210 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20211 if (SWIG_arg_fail(5)) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 Py_INCREF(Py_None
); resultobj
= Py_None
;
20227 static PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
= NULL
;
20229 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20234 int arg6
= (int) wxSIZE_AUTO
;
20235 PyObject
* obj0
= 0 ;
20236 PyObject
* obj1
= 0 ;
20237 PyObject
* obj2
= 0 ;
20238 PyObject
* obj3
= 0 ;
20239 PyObject
* obj4
= 0 ;
20240 PyObject
* obj5
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20247 if (SWIG_arg_fail(1)) SWIG_fail
;
20249 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20250 if (SWIG_arg_fail(2)) SWIG_fail
;
20253 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20254 if (SWIG_arg_fail(3)) SWIG_fail
;
20257 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20258 if (SWIG_arg_fail(4)) SWIG_fail
;
20261 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20262 if (SWIG_arg_fail(5)) SWIG_fail
;
20266 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20267 if (SWIG_arg_fail(6)) SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 Py_INCREF(Py_None
); resultobj
= Py_None
;
20284 static PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
= NULL
;
20286 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20289 PyObject
* obj0
= 0 ;
20290 PyObject
* obj1
= 0 ;
20291 PyObject
* obj2
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self",(char *) "width",(char *) "height", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20298 if (SWIG_arg_fail(1)) SWIG_fail
;
20300 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20301 if (SWIG_arg_fail(2)) SWIG_fail
;
20304 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20305 if (SWIG_arg_fail(3)) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 (arg1
)->DoSetClientSize(arg2
,arg3
);
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 Py_INCREF(Py_None
); resultobj
= Py_None
;
20321 static PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
= NULL
;
20323 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20326 PyObject
* obj0
= 0 ;
20327 PyObject
* obj1
= 0 ;
20328 PyObject
* obj2
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "x",(char *) "y", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20335 if (SWIG_arg_fail(1)) SWIG_fail
;
20337 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20338 if (SWIG_arg_fail(2)) SWIG_fail
;
20341 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20342 if (SWIG_arg_fail(3)) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 Py_INCREF(Py_None
); resultobj
= Py_None
;
20358 static PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= NULL
;
20360 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20361 int *arg2
= (int *) 0 ;
20362 int *arg3
= (int *) 0 ;
20367 PyObject
* obj0
= 0 ;
20368 char *kwnames
[] = {
20369 (char *) "self", NULL
20372 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20373 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
20375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20376 if (SWIG_arg_fail(1)) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20384 Py_INCREF(Py_None
); resultobj
= Py_None
;
20385 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20386 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20387 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20388 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20395 static PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
= NULL
;
20397 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20398 int *arg2
= (int *) 0 ;
20399 int *arg3
= (int *) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self", NULL
20409 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20410 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20413 if (SWIG_arg_fail(1)) SWIG_fail
;
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20421 Py_INCREF(Py_None
); resultobj
= Py_None
;
20422 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20423 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20424 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20425 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20432 static PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
= NULL
;
20434 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20435 int *arg2
= (int *) 0 ;
20436 int *arg3
= (int *) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self", NULL
20446 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20447 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20450 if (SWIG_arg_fail(1)) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 Py_INCREF(Py_None
); resultobj
= Py_None
;
20459 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20460 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20461 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20462 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20469 static PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
= NULL
;
20471 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20480 if (SWIG_arg_fail(1)) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20489 wxSize
* resultptr
;
20490 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20499 static PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
= NULL
;
20501 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "self", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20510 if (SWIG_arg_fail(1)) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20519 wxSize
* resultptr
;
20520 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20529 static PyObject
*_wrap_PyScrolledWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
= NULL
;
20531 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20532 PyObject
* obj0
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
20538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20539 if (SWIG_arg_fail(1)) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 (arg1
)->InitDialog();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 Py_INCREF(Py_None
); resultobj
= Py_None
;
20554 static PyObject
*_wrap_PyScrolledWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
= NULL
;
20556 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 char *kwnames
[] = {
20560 (char *) "self", NULL
20563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20565 if (SWIG_arg_fail(1)) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (bool)(arg1
)->TransferDataToWindow();
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20582 static PyObject
*_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
= NULL
;
20584 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20586 PyObject
* obj0
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20593 if (SWIG_arg_fail(1)) SWIG_fail
;
20595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 result
= (bool)(arg1
)->TransferDataFromWindow();
20598 wxPyEndAllowThreads(__tstate
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20610 static PyObject
*_wrap_PyScrolledWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
= NULL
;
20612 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_Validate",kwnames
,&obj0
)) goto fail
;
20620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (bool)(arg1
)->Validate();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20638 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
= NULL
;
20640 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20649 if (SWIG_arg_fail(1)) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocus();
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20666 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
= NULL
;
20668 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20670 PyObject
* obj0
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20677 if (SWIG_arg_fail(1)) SWIG_fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20694 static PyObject
*_wrap_PyScrolledWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
= NULL
;
20696 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20705 if (SWIG_arg_fail(1)) SWIG_fail
;
20707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20708 result
= ((wxPyScrolledWindow
const *)arg1
)->GetMaxSize();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20714 wxSize
* resultptr
;
20715 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20724 static PyObject
*_wrap_PyScrolledWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
= NULL
;
20726 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20727 wxWindow
*arg2
= (wxWindow
*) 0 ;
20728 PyObject
* obj0
= 0 ;
20729 PyObject
* obj1
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self",(char *) "child", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20736 if (SWIG_arg_fail(1)) SWIG_fail
;
20737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20738 if (SWIG_arg_fail(2)) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 (arg1
)->AddChild(arg2
);
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20746 Py_INCREF(Py_None
); resultobj
= Py_None
;
20753 static PyObject
*_wrap_PyScrolledWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
= NULL
;
20755 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20756 wxWindow
*arg2
= (wxWindow
*) 0 ;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self",(char *) "child", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20765 if (SWIG_arg_fail(1)) SWIG_fail
;
20766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20767 if (SWIG_arg_fail(2)) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 (arg1
)->RemoveChild(arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 Py_INCREF(Py_None
); resultobj
= Py_None
;
20782 static PyObject
*_wrap_PyScrolledWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
= NULL
;
20784 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20786 PyObject
* obj0
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20793 if (SWIG_arg_fail(1)) SWIG_fail
;
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->ShouldInheritColours();
20798 wxPyEndAllowThreads(__tstate
);
20799 if (PyErr_Occurred()) SWIG_fail
;
20802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20810 static PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= NULL
;
20812 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20813 wxVisualAttributes result
;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20821 if (SWIG_arg_fail(1)) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (arg1
)->GetDefaultAttributes();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20830 wxVisualAttributes
* resultptr
;
20831 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20840 static PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
= NULL
;
20842 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20850 if (SWIG_arg_fail(1)) SWIG_fail
;
20852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20853 (arg1
)->OnInternalIdle();
20855 wxPyEndAllowThreads(__tstate
);
20856 if (PyErr_Occurred()) SWIG_fail
;
20858 Py_INCREF(Py_None
); resultobj
= Py_None
;
20865 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20868 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20870 return Py_BuildValue((char *)"");
20872 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20873 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20878 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20879 PyObject
*pyobj
= NULL
;
20883 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20885 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20892 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20893 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20898 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20899 PyObject
*pyobj
= NULL
;
20903 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20905 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20912 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20913 PyObject
*resultobj
= NULL
;
20914 wxPrintData
*result
;
20916 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (wxPrintData
*)new wxPrintData();
20921 wxPyEndAllowThreads(__tstate
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20931 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20932 PyObject
*resultobj
= NULL
;
20933 wxPrintData
*arg1
= 0 ;
20934 wxPrintData
*result
;
20935 PyObject
* obj0
= 0 ;
20937 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20940 if (SWIG_arg_fail(1)) SWIG_fail
;
20941 if (arg1
== NULL
) {
20942 SWIG_null_ref("wxPrintData");
20944 if (SWIG_arg_fail(1)) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20960 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20965 argc
= PyObject_Length(args
);
20966 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20967 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20970 return _wrap_new_PrintData__SWIG_0(self
,args
);
20976 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20984 return _wrap_new_PrintData__SWIG_1(self
,args
);
20988 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20993 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
= NULL
;
20995 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
21002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21003 if (SWIG_arg_fail(1)) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 Py_INCREF(Py_None
); resultobj
= Py_None
;
21018 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
= NULL
;
21020 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21029 if (SWIG_arg_fail(1)) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (int)(arg1
)->GetNoCopies();
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= SWIG_From_int(static_cast<int >(result
));
21046 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
= NULL
;
21048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
21056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21057 if (SWIG_arg_fail(1)) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (bool)(arg1
)->GetCollate();
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21074 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
= NULL
;
21076 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
21084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21085 if (SWIG_arg_fail(1)) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (int)(arg1
)->GetOrientation();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= SWIG_From_int(static_cast<int >(result
));
21102 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
= NULL
;
21104 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
21112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21113 if (SWIG_arg_fail(1)) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (bool)(arg1
)->Ok();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21130 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
= NULL
;
21132 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21134 PyObject
* obj0
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
21140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21141 if (SWIG_arg_fail(1)) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21145 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
21146 result
= (wxString
*) &_result_ref
;
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21156 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21165 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21166 PyObject
*resultobj
= NULL
;
21167 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21169 PyObject
* obj0
= 0 ;
21170 char *kwnames
[] = {
21171 (char *) "self", NULL
21174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
21175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21176 if (SWIG_arg_fail(1)) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 result
= (bool)(arg1
)->GetColour();
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21193 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
= NULL
;
21195 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21196 wxDuplexMode result
;
21197 PyObject
* obj0
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
21203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21204 if (SWIG_arg_fail(1)) SWIG_fail
;
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= SWIG_From_int((result
));
21219 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
= NULL
;
21221 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21222 wxPaperSize result
;
21223 PyObject
* obj0
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
21229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21230 if (SWIG_arg_fail(1)) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (wxPaperSize
)(arg1
)->GetPaperId();
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= SWIG_From_int((result
));
21245 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
= NULL
;
21247 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 char *kwnames
[] = {
21251 (char *) "self", NULL
21254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
21255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21256 if (SWIG_arg_fail(1)) SWIG_fail
;
21258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
21261 result
= (wxSize
*) &_result_ref
;
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21274 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
= NULL
;
21276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 char *kwnames
[] = {
21280 (char *) "self", NULL
21283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21285 if (SWIG_arg_fail(1)) SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (int)(arg1
)->GetQuality();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21294 resultobj
= SWIG_From_int(static_cast<int >(result
));
21302 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21303 PyObject
*resultobj
= NULL
;
21304 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
21312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21313 if (SWIG_arg_fail(1)) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (wxPrintBin
)(arg1
)->GetBin();
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 resultobj
= SWIG_From_int((result
));
21328 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21329 PyObject
*resultobj
= NULL
;
21330 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21331 wxPrintMode result
;
21332 PyObject
* obj0
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21339 if (SWIG_arg_fail(1)) SWIG_fail
;
21341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21342 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= SWIG_From_int((result
));
21354 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
= NULL
;
21356 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self",(char *) "v", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21366 if (SWIG_arg_fail(1)) SWIG_fail
;
21368 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21369 if (SWIG_arg_fail(2)) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 (arg1
)->SetNoCopies(arg2
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 Py_INCREF(Py_None
); resultobj
= Py_None
;
21385 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
= NULL
;
21387 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "flag", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21397 if (SWIG_arg_fail(1)) SWIG_fail
;
21399 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21400 if (SWIG_arg_fail(2)) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 (arg1
)->SetCollate(arg2
);
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 Py_INCREF(Py_None
); resultobj
= Py_None
;
21416 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
= NULL
;
21418 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "orient", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21428 if (SWIG_arg_fail(1)) SWIG_fail
;
21430 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21431 if (SWIG_arg_fail(2)) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 (arg1
)->SetOrientation(arg2
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 Py_INCREF(Py_None
); resultobj
= Py_None
;
21447 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
= NULL
;
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 *) "name", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",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
)->SetPrinterName((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_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
= NULL
;
21490 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 char *kwnames
[] = {
21495 (char *) "self",(char *) "colour", NULL
21498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21500 if (SWIG_arg_fail(1)) SWIG_fail
;
21502 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21503 if (SWIG_arg_fail(2)) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 (arg1
)->SetColour(arg2
);
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 Py_INCREF(Py_None
); resultobj
= Py_None
;
21519 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
= NULL
;
21521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21522 wxDuplexMode arg2
;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "duplex", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21531 if (SWIG_arg_fail(1)) SWIG_fail
;
21533 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21534 if (SWIG_arg_fail(2)) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 (arg1
)->SetDuplex(arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 Py_INCREF(Py_None
); resultobj
= Py_None
;
21550 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
= NULL
;
21552 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "sizeId", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21562 if (SWIG_arg_fail(1)) SWIG_fail
;
21564 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21565 if (SWIG_arg_fail(2)) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 (arg1
)->SetPaperId(arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 Py_INCREF(Py_None
); resultobj
= Py_None
;
21581 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
= NULL
;
21583 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21586 PyObject
* obj0
= 0 ;
21587 PyObject
* obj1
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "self",(char *) "sz", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21594 if (SWIG_arg_fail(1)) SWIG_fail
;
21597 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 Py_INCREF(Py_None
); resultobj
= Py_None
;
21613 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
= NULL
;
21615 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21617 PyObject
* obj0
= 0 ;
21618 PyObject
* obj1
= 0 ;
21619 char *kwnames
[] = {
21620 (char *) "self",(char *) "quality", NULL
21623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21625 if (SWIG_arg_fail(1)) SWIG_fail
;
21627 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21628 if (SWIG_arg_fail(2)) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 (arg1
)->SetQuality(arg2
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 Py_INCREF(Py_None
); resultobj
= Py_None
;
21644 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
= NULL
;
21646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self",(char *) "bin", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21656 if (SWIG_arg_fail(1)) SWIG_fail
;
21658 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21659 if (SWIG_arg_fail(2)) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 (arg1
)->SetBin(arg2
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 Py_INCREF(Py_None
); resultobj
= Py_None
;
21675 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
= NULL
;
21677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21679 PyObject
* obj0
= 0 ;
21680 PyObject
* obj1
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self",(char *) "printMode", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21687 if (SWIG_arg_fail(1)) SWIG_fail
;
21689 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21690 if (SWIG_arg_fail(2)) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 (arg1
)->SetPrintMode(arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
= NULL
;
21708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21717 if (SWIG_arg_fail(1)) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21738 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
= NULL
;
21740 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21741 wxString
*arg2
= 0 ;
21742 bool temp2
= false ;
21743 PyObject
* obj0
= 0 ;
21744 PyObject
* obj1
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self",(char *) "filename", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21751 if (SWIG_arg_fail(1)) SWIG_fail
;
21753 arg2
= wxString_in_helper(obj1
);
21754 if (arg2
== NULL
) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 (arg1
)->SetFilename((wxString
const &)*arg2
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21779 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
= NULL
;
21781 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21783 PyObject
* obj0
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21790 if (SWIG_arg_fail(1)) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= result
;
21805 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21806 PyObject
*resultobj
= NULL
;
21807 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21808 PyObject
*arg2
= (PyObject
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "data", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21817 if (SWIG_arg_fail(1)) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 wxPrintData_SetPrivData(arg1
,arg2
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 Py_INCREF(Py_None
); resultobj
= Py_None
;
21833 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21836 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21838 return Py_BuildValue((char *)"");
21840 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21841 PyObject
*resultobj
= NULL
;
21842 wxPageSetupDialogData
*result
;
21844 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21859 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21860 PyObject
*resultobj
= NULL
;
21861 wxPageSetupDialogData
*arg1
= 0 ;
21862 wxPageSetupDialogData
*result
;
21863 PyObject
* obj0
= 0 ;
21865 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21868 if (SWIG_arg_fail(1)) SWIG_fail
;
21869 if (arg1
== NULL
) {
21870 SWIG_null_ref("wxPageSetupDialogData");
21872 if (SWIG_arg_fail(1)) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21888 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21889 PyObject
*resultobj
= NULL
;
21890 wxPrintData
*arg1
= 0 ;
21891 wxPageSetupDialogData
*result
;
21892 PyObject
* obj0
= 0 ;
21894 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail
;
21898 if (arg1
== NULL
) {
21899 SWIG_null_ref("wxPrintData");
21901 if (SWIG_arg_fail(1)) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21917 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21922 argc
= PyObject_Length(args
);
21923 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21924 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21927 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21933 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21941 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21948 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21956 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21960 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21965 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21966 PyObject
*resultobj
= NULL
;
21967 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21968 PyObject
* obj0
= 0 ;
21969 char *kwnames
[] = {
21970 (char *) "self", NULL
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21975 if (SWIG_arg_fail(1)) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 Py_INCREF(Py_None
); resultobj
= Py_None
;
21990 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
= NULL
;
21992 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "flag", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
22001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22002 if (SWIG_arg_fail(1)) SWIG_fail
;
22004 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22005 if (SWIG_arg_fail(2)) SWIG_fail
;
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 (arg1
)->EnableHelp(arg2
);
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 Py_INCREF(Py_None
); resultobj
= Py_None
;
22021 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
= NULL
;
22023 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "flag", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22033 if (SWIG_arg_fail(1)) SWIG_fail
;
22035 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22036 if (SWIG_arg_fail(2)) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 (arg1
)->EnableMargins(arg2
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 Py_INCREF(Py_None
); resultobj
= Py_None
;
22052 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
= NULL
;
22054 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 char *kwnames
[] = {
22059 (char *) "self",(char *) "flag", NULL
22062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22064 if (SWIG_arg_fail(1)) SWIG_fail
;
22066 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22067 if (SWIG_arg_fail(2)) SWIG_fail
;
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 (arg1
)->EnableOrientation(arg2
);
22073 wxPyEndAllowThreads(__tstate
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22076 Py_INCREF(Py_None
); resultobj
= Py_None
;
22083 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22084 PyObject
*resultobj
= NULL
;
22085 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "flag", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22095 if (SWIG_arg_fail(1)) SWIG_fail
;
22097 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22098 if (SWIG_arg_fail(2)) SWIG_fail
;
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 (arg1
)->EnablePaper(arg2
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 Py_INCREF(Py_None
); resultobj
= Py_None
;
22114 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
= NULL
;
22116 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "flag", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22126 if (SWIG_arg_fail(1)) SWIG_fail
;
22128 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22129 if (SWIG_arg_fail(2)) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 (arg1
)->EnablePrinter(arg2
);
22135 wxPyEndAllowThreads(__tstate
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22138 Py_INCREF(Py_None
); resultobj
= Py_None
;
22145 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
= NULL
;
22147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 char *kwnames
[] = {
22151 (char *) "self", NULL
22154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22156 if (SWIG_arg_fail(1)) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (bool)(arg1
)->GetDefaultMinMargins();
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22173 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
= NULL
;
22175 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 char *kwnames
[] = {
22179 (char *) "self", NULL
22182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22184 if (SWIG_arg_fail(1)) SWIG_fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (bool)(arg1
)->GetEnableMargins();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22201 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
= NULL
;
22203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22212 if (SWIG_arg_fail(1)) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (bool)(arg1
)->GetEnableOrientation();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22229 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
= NULL
;
22231 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22240 if (SWIG_arg_fail(1)) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 result
= (bool)(arg1
)->GetEnablePaper();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22257 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
= NULL
;
22259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22268 if (SWIG_arg_fail(1)) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 result
= (bool)(arg1
)->GetEnablePrinter();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22285 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= NULL
;
22287 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22289 PyObject
* obj0
= 0 ;
22290 char *kwnames
[] = {
22291 (char *) "self", NULL
22294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (bool)(arg1
)->GetEnableHelp();
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22313 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
= NULL
;
22315 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22317 PyObject
* obj0
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22324 if (SWIG_arg_fail(1)) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 result
= (bool)(arg1
)->GetDefaultInfo();
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22341 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
= NULL
;
22343 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22345 PyObject
* obj0
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22352 if (SWIG_arg_fail(1)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 result
= (arg1
)->GetMarginTopLeft();
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22361 wxPoint
* resultptr
;
22362 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22371 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
= NULL
;
22373 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22382 if (SWIG_arg_fail(1)) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (arg1
)->GetMarginBottomRight();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22391 wxPoint
* resultptr
;
22392 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22401 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
= NULL
;
22403 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22405 PyObject
* obj0
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22412 if (SWIG_arg_fail(1)) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 result
= (arg1
)->GetMinMarginTopLeft();
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 wxPoint
* resultptr
;
22422 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22431 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
= NULL
;
22433 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22435 PyObject
* obj0
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22442 if (SWIG_arg_fail(1)) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= (arg1
)->GetMinMarginBottomRight();
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22451 wxPoint
* resultptr
;
22452 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22461 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
= NULL
;
22463 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22464 wxPaperSize result
;
22465 PyObject
* obj0
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22472 if (SWIG_arg_fail(1)) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_From_int((result
));
22487 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
= NULL
;
22489 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22498 if (SWIG_arg_fail(1)) SWIG_fail
;
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 result
= (arg1
)->GetPaperSize();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22507 wxSize
* resultptr
;
22508 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22517 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
= NULL
;
22519 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22520 wxPrintData
*result
;
22521 PyObject
* obj0
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22528 if (SWIG_arg_fail(1)) SWIG_fail
;
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22533 result
= (wxPrintData
*) &_result_ref
;
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22546 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
= NULL
;
22548 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22550 PyObject
* obj0
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22557 if (SWIG_arg_fail(1)) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 result
= (bool)(arg1
)->Ok();
22562 wxPyEndAllowThreads(__tstate
);
22563 if (PyErr_Occurred()) SWIG_fail
;
22566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22574 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
= NULL
;
22576 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self",(char *) "flag", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22586 if (SWIG_arg_fail(1)) SWIG_fail
;
22588 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22589 if (SWIG_arg_fail(2)) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 (arg1
)->SetDefaultInfo(arg2
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 Py_INCREF(Py_None
); resultobj
= Py_None
;
22605 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
= NULL
;
22607 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self",(char *) "flag", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22617 if (SWIG_arg_fail(1)) SWIG_fail
;
22619 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22620 if (SWIG_arg_fail(2)) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->SetDefaultMinMargins(arg2
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
= NULL
;
22638 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22639 wxPoint
*arg2
= 0 ;
22641 PyObject
* obj0
= 0 ;
22642 PyObject
* obj1
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self",(char *) "pt", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22649 if (SWIG_arg_fail(1)) SWIG_fail
;
22652 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 Py_INCREF(Py_None
); resultobj
= Py_None
;
22668 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
= NULL
;
22670 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22671 wxPoint
*arg2
= 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "pt", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22681 if (SWIG_arg_fail(1)) SWIG_fail
;
22684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 Py_INCREF(Py_None
); resultobj
= Py_None
;
22700 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
= NULL
;
22702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22703 wxPoint
*arg2
= 0 ;
22705 PyObject
* obj0
= 0 ;
22706 PyObject
* obj1
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self",(char *) "pt", NULL
22711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22713 if (SWIG_arg_fail(1)) SWIG_fail
;
22716 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22720 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 Py_INCREF(Py_None
); resultobj
= Py_None
;
22732 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
= NULL
;
22734 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22735 wxPoint
*arg2
= 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self",(char *) "pt", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22745 if (SWIG_arg_fail(1)) SWIG_fail
;
22748 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 Py_INCREF(Py_None
); resultobj
= Py_None
;
22764 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
= NULL
;
22766 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self",(char *) "id", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22776 if (SWIG_arg_fail(1)) SWIG_fail
;
22778 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22779 if (SWIG_arg_fail(2)) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 (arg1
)->SetPaperId(arg2
);
22785 wxPyEndAllowThreads(__tstate
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22788 Py_INCREF(Py_None
); resultobj
= Py_None
;
22795 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
= NULL
;
22797 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 PyObject
* obj1
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self",(char *) "size", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22808 if (SWIG_arg_fail(1)) SWIG_fail
;
22811 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 Py_INCREF(Py_None
); resultobj
= Py_None
;
22827 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
= NULL
;
22829 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22830 wxPrintData
*arg2
= 0 ;
22831 PyObject
* obj0
= 0 ;
22832 PyObject
* obj1
= 0 ;
22833 char *kwnames
[] = {
22834 (char *) "self",(char *) "printData", NULL
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22839 if (SWIG_arg_fail(1)) SWIG_fail
;
22841 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22842 if (SWIG_arg_fail(2)) SWIG_fail
;
22843 if (arg2
== NULL
) {
22844 SWIG_null_ref("wxPrintData");
22846 if (SWIG_arg_fail(2)) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 Py_INCREF(Py_None
); resultobj
= Py_None
;
22862 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
= NULL
;
22864 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22865 PyObject
* obj0
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 (arg1
)->CalculateIdFromPaperSize();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 Py_INCREF(Py_None
); resultobj
= Py_None
;
22887 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
= NULL
;
22889 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22897 if (SWIG_arg_fail(1)) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 (arg1
)->CalculatePaperSizeFromId();
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 Py_INCREF(Py_None
); resultobj
= Py_None
;
22912 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22915 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22917 return Py_BuildValue((char *)"");
22919 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
= NULL
;
22921 wxWindow
*arg1
= (wxWindow
*) 0 ;
22922 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22923 wxPageSetupDialog
*result
;
22924 PyObject
* obj0
= 0 ;
22925 PyObject
* obj1
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "parent",(char *) "data", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22932 if (SWIG_arg_fail(1)) SWIG_fail
;
22934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22935 if (SWIG_arg_fail(2)) SWIG_fail
;
22938 if (!wxPyCheckForApp()) SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22952 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
= NULL
;
22954 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22955 wxPageSetupDialogData
*result
;
22956 PyObject
* obj0
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22963 if (SWIG_arg_fail(1)) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22968 result
= (wxPageSetupDialogData
*) &_result_ref
;
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22981 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
= NULL
;
22983 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22984 wxPageSetupDialogData
*result
;
22985 PyObject
* obj0
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22992 if (SWIG_arg_fail(1)) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22997 result
= (wxPageSetupDialogData
*) &_result_ref
;
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23010 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
= NULL
;
23012 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23021 if (SWIG_arg_fail(1)) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= (int)(arg1
)->ShowModal();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= SWIG_From_int(static_cast<int >(result
));
23038 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23041 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23043 return Py_BuildValue((char *)"");
23045 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23046 PyObject
*resultobj
= NULL
;
23047 wxPrintDialogData
*result
;
23049 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23064 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23065 PyObject
*resultobj
= NULL
;
23066 wxPrintData
*arg1
= 0 ;
23067 wxPrintDialogData
*result
;
23068 PyObject
* obj0
= 0 ;
23070 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail
;
23074 if (arg1
== NULL
) {
23075 SWIG_null_ref("wxPrintData");
23077 if (SWIG_arg_fail(1)) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23093 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23094 PyObject
*resultobj
= NULL
;
23095 wxPrintDialogData
*arg1
= 0 ;
23096 wxPrintDialogData
*result
;
23097 PyObject
* obj0
= 0 ;
23099 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23102 if (SWIG_arg_fail(1)) SWIG_fail
;
23103 if (arg1
== NULL
) {
23104 SWIG_null_ref("wxPrintDialogData");
23106 if (SWIG_arg_fail(1)) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23122 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23127 argc
= PyObject_Length(args
);
23128 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23129 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23132 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23138 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23146 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23153 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23161 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23165 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23170 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
= NULL
;
23172 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23173 PyObject
* obj0
= 0 ;
23174 char *kwnames
[] = {
23175 (char *) "self", NULL
23178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23180 if (SWIG_arg_fail(1)) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 Py_INCREF(Py_None
); resultobj
= Py_None
;
23195 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
= NULL
;
23197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23206 if (SWIG_arg_fail(1)) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_From_int(static_cast<int >(result
));
23223 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23224 PyObject
*resultobj
= NULL
;
23225 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_From_int(static_cast<int >(result
));
23251 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
= NULL
;
23253 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23262 if (SWIG_arg_fail(1)) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= SWIG_From_int(static_cast<int >(result
));
23279 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
= NULL
;
23281 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23290 if (SWIG_arg_fail(1)) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23299 resultobj
= SWIG_From_int(static_cast<int >(result
));
23307 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
= NULL
;
23309 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23311 PyObject
* obj0
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23318 if (SWIG_arg_fail(1)) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_From_int(static_cast<int >(result
));
23335 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
= NULL
;
23337 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23339 PyObject
* obj0
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23346 if (SWIG_arg_fail(1)) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23363 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
= NULL
;
23365 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23367 PyObject
* obj0
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23374 if (SWIG_arg_fail(1)) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23391 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
= NULL
;
23393 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 char *kwnames
[] = {
23397 (char *) "self", NULL
23400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23402 if (SWIG_arg_fail(1)) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23419 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
= NULL
;
23421 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23430 if (SWIG_arg_fail(1)) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23447 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
= NULL
;
23449 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 PyObject
* obj1
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "v", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23459 if (SWIG_arg_fail(1)) SWIG_fail
;
23461 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23462 if (SWIG_arg_fail(2)) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 (arg1
)->SetFromPage(arg2
);
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 Py_INCREF(Py_None
); resultobj
= Py_None
;
23478 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
= NULL
;
23480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "v", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23490 if (SWIG_arg_fail(1)) SWIG_fail
;
23492 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23493 if (SWIG_arg_fail(2)) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 (arg1
)->SetToPage(arg2
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23502 Py_INCREF(Py_None
); resultobj
= Py_None
;
23509 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23510 PyObject
*resultobj
= NULL
;
23511 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "self",(char *) "v", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23521 if (SWIG_arg_fail(1)) SWIG_fail
;
23523 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23524 if (SWIG_arg_fail(2)) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 (arg1
)->SetMinPage(arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 Py_INCREF(Py_None
); resultobj
= Py_None
;
23540 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
= NULL
;
23542 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self",(char *) "v", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23555 if (SWIG_arg_fail(2)) SWIG_fail
;
23558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23559 (arg1
)->SetMaxPage(arg2
);
23561 wxPyEndAllowThreads(__tstate
);
23562 if (PyErr_Occurred()) SWIG_fail
;
23564 Py_INCREF(Py_None
); resultobj
= Py_None
;
23571 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
= NULL
;
23573 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23575 PyObject
* obj0
= 0 ;
23576 PyObject
* obj1
= 0 ;
23577 char *kwnames
[] = {
23578 (char *) "self",(char *) "v", NULL
23581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23583 if (SWIG_arg_fail(1)) SWIG_fail
;
23585 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23586 if (SWIG_arg_fail(2)) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 (arg1
)->SetNoCopies(arg2
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 Py_INCREF(Py_None
); resultobj
= Py_None
;
23602 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
= NULL
;
23604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23606 PyObject
* obj0
= 0 ;
23607 PyObject
* obj1
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self",(char *) "flag", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23614 if (SWIG_arg_fail(1)) SWIG_fail
;
23616 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23617 if (SWIG_arg_fail(2)) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 (arg1
)->SetAllPages(arg2
);
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 Py_INCREF(Py_None
); resultobj
= Py_None
;
23633 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
= NULL
;
23635 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj1
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self",(char *) "flag", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23645 if (SWIG_arg_fail(1)) SWIG_fail
;
23647 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23648 if (SWIG_arg_fail(2)) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 (arg1
)->SetSelection(arg2
);
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 Py_INCREF(Py_None
); resultobj
= Py_None
;
23664 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23665 PyObject
*resultobj
= NULL
;
23666 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23668 PyObject
* obj0
= 0 ;
23669 PyObject
* obj1
= 0 ;
23670 char *kwnames
[] = {
23671 (char *) "self",(char *) "flag", NULL
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23676 if (SWIG_arg_fail(1)) SWIG_fail
;
23678 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23679 if (SWIG_arg_fail(2)) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 (arg1
)->SetCollate(arg2
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 Py_INCREF(Py_None
); resultobj
= Py_None
;
23695 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
= NULL
;
23697 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23699 PyObject
* obj0
= 0 ;
23700 PyObject
* obj1
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self",(char *) "flag", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23707 if (SWIG_arg_fail(1)) SWIG_fail
;
23709 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23710 if (SWIG_arg_fail(2)) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 (arg1
)->SetPrintToFile(arg2
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 Py_INCREF(Py_None
); resultobj
= Py_None
;
23726 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
= NULL
;
23728 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "flag", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23738 if (SWIG_arg_fail(1)) SWIG_fail
;
23740 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23741 if (SWIG_arg_fail(2)) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 (arg1
)->EnablePrintToFile(arg2
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 Py_INCREF(Py_None
); resultobj
= Py_None
;
23757 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
= NULL
;
23759 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23761 PyObject
* obj0
= 0 ;
23762 PyObject
* obj1
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self",(char *) "flag", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23769 if (SWIG_arg_fail(1)) SWIG_fail
;
23771 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23772 if (SWIG_arg_fail(2)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 (arg1
)->EnableSelection(arg2
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 Py_INCREF(Py_None
); resultobj
= Py_None
;
23788 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
= NULL
;
23790 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "flag", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23800 if (SWIG_arg_fail(1)) SWIG_fail
;
23802 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23803 if (SWIG_arg_fail(2)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 (arg1
)->EnablePageNumbers(arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 Py_INCREF(Py_None
); resultobj
= Py_None
;
23819 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
= NULL
;
23821 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23823 PyObject
* obj0
= 0 ;
23824 PyObject
* obj1
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "self",(char *) "flag", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23831 if (SWIG_arg_fail(1)) SWIG_fail
;
23833 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23834 if (SWIG_arg_fail(2)) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 (arg1
)->EnableHelp(arg2
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 Py_INCREF(Py_None
); resultobj
= Py_None
;
23850 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
= NULL
;
23852 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23861 if (SWIG_arg_fail(1)) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23878 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= NULL
;
23880 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23889 if (SWIG_arg_fail(1)) SWIG_fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23906 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
= NULL
;
23908 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23910 PyObject
* obj0
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23917 if (SWIG_arg_fail(1)) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23934 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
= NULL
;
23936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23938 PyObject
* obj0
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23945 if (SWIG_arg_fail(1)) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23962 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
= NULL
;
23964 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23966 PyObject
* obj0
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23973 if (SWIG_arg_fail(1)) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23990 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23991 PyObject
*resultobj
= NULL
;
23992 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23993 wxPrintData
*result
;
23994 PyObject
* obj0
= 0 ;
23995 char *kwnames
[] = {
23996 (char *) "self", NULL
23999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24001 if (SWIG_arg_fail(1)) SWIG_fail
;
24003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24006 result
= (wxPrintData
*) &_result_ref
;
24009 wxPyEndAllowThreads(__tstate
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24019 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
= NULL
;
24021 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24022 wxPrintData
*arg2
= 0 ;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "printData", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24031 if (SWIG_arg_fail(1)) SWIG_fail
;
24033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24034 if (SWIG_arg_fail(2)) SWIG_fail
;
24035 if (arg2
== NULL
) {
24036 SWIG_null_ref("wxPrintData");
24038 if (SWIG_arg_fail(2)) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 Py_INCREF(Py_None
); resultobj
= Py_None
;
24054 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24057 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24059 return Py_BuildValue((char *)"");
24061 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24062 PyObject
*resultobj
= NULL
;
24063 wxWindow
*arg1
= (wxWindow
*) 0 ;
24064 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24065 wxPrintDialog
*result
;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "parent",(char *) "data", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail
;
24076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24077 if (SWIG_arg_fail(2)) SWIG_fail
;
24080 if (!wxPyCheckForApp()) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24094 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= NULL
;
24096 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24105 if (SWIG_arg_fail(1)) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (int)(arg1
)->ShowModal();
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= SWIG_From_int(static_cast<int >(result
));
24122 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
= NULL
;
24124 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24125 wxPrintDialogData
*result
;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24133 if (SWIG_arg_fail(1)) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24138 result
= (wxPrintDialogData
*) &_result_ref
;
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24151 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
= NULL
;
24153 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24154 wxPrintData
*result
;
24155 PyObject
* obj0
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24162 if (SWIG_arg_fail(1)) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24167 result
= (wxPrintData
*) &_result_ref
;
24170 wxPyEndAllowThreads(__tstate
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24180 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24181 PyObject
*resultobj
= NULL
;
24182 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24191 if (SWIG_arg_fail(1)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 result
= (wxDC
*)(arg1
)->GetPrintDC();
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24208 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24211 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24213 return Py_BuildValue((char *)"");
24215 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= NULL
;
24217 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "data", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24227 if (SWIG_arg_fail(1)) SWIG_fail
;
24230 if (!wxPyCheckForApp()) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (wxPrinter
*)new wxPrinter(arg1
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24244 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
= NULL
;
24246 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "self", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 Py_INCREF(Py_None
); resultobj
= Py_None
;
24269 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
= NULL
;
24271 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24272 wxWindow
*arg2
= (wxWindow
*) 0 ;
24273 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 PyObject
* obj2
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "self",(char *) "parent",(char *) "printout", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24284 if (SWIG_arg_fail(1)) SWIG_fail
;
24285 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24286 if (SWIG_arg_fail(2)) SWIG_fail
;
24287 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24288 if (SWIG_arg_fail(3)) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 resultobj
= wxPyMake_wxObject(result
, 0);
24305 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
= NULL
;
24307 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24308 wxWindow
*arg2
= (wxWindow
*) 0 ;
24309 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24310 wxString
*arg4
= 0 ;
24311 bool temp4
= false ;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 PyObject
* obj2
= 0 ;
24315 PyObject
* obj3
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24322 if (SWIG_arg_fail(1)) SWIG_fail
;
24323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24324 if (SWIG_arg_fail(2)) SWIG_fail
;
24325 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24326 if (SWIG_arg_fail(3)) SWIG_fail
;
24328 arg4
= wxString_in_helper(obj3
);
24329 if (arg4
== NULL
) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 Py_INCREF(Py_None
); resultobj
= Py_None
;
24354 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
= NULL
;
24356 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24357 wxWindow
*arg2
= (wxWindow
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "self",(char *) "parent", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24367 if (SWIG_arg_fail(1)) SWIG_fail
;
24368 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24369 if (SWIG_arg_fail(2)) SWIG_fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (bool)(arg1
)->Setup(arg2
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24386 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24387 PyObject
*resultobj
= NULL
;
24388 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24389 wxWindow
*arg2
= (wxWindow
*) 0 ;
24390 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24391 bool arg4
= (bool) true ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 PyObject
* obj2
= 0 ;
24396 PyObject
* obj3
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24403 if (SWIG_arg_fail(1)) SWIG_fail
;
24404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24405 if (SWIG_arg_fail(2)) SWIG_fail
;
24406 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24407 if (SWIG_arg_fail(3)) SWIG_fail
;
24410 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24411 if (SWIG_arg_fail(4)) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24430 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
= NULL
;
24432 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24433 wxWindow
*arg2
= (wxWindow
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "parent", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24443 if (SWIG_arg_fail(1)) SWIG_fail
;
24444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24445 if (SWIG_arg_fail(2)) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24462 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
= NULL
;
24464 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24465 wxPrintDialogData
*result
;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24473 if (SWIG_arg_fail(1)) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24478 result
= (wxPrintDialogData
*) &_result_ref
;
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24491 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
= NULL
;
24493 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24502 if (SWIG_arg_fail(1)) SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= (bool)(arg1
)->GetAbort();
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24519 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
= NULL
;
24521 wxPrinterError result
;
24522 char *kwnames
[] = {
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (wxPrinterError
)wxPrinter::GetLastError();
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= SWIG_From_int((result
));
24541 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24544 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24546 return Py_BuildValue((char *)"");
24548 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
= NULL
;
24550 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24551 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24552 wxPyPrintout
*result
;
24553 bool temp1
= false ;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "title", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24562 arg1
= wxString_in_helper(obj0
);
24563 if (arg1
== NULL
) SWIG_fail
;
24568 if (!wxPyCheckForApp()) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24592 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
= NULL
;
24594 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24595 PyObject
*arg2
= (PyObject
*) 0 ;
24596 PyObject
*arg3
= (PyObject
*) 0 ;
24597 PyObject
* obj0
= 0 ;
24598 PyObject
* obj1
= 0 ;
24599 PyObject
* obj2
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self",(char *) "self",(char *) "_class", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24606 if (SWIG_arg_fail(1)) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24616 Py_INCREF(Py_None
); resultobj
= Py_None
;
24623 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
= NULL
;
24625 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24634 if (SWIG_arg_fail(1)) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24655 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
= NULL
;
24657 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24666 if (SWIG_arg_fail(1)) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (wxDC
*)(arg1
)->GetDC();
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24683 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
= NULL
;
24685 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24686 wxDC
*arg2
= (wxDC
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj1
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self",(char *) "dc", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24695 if (SWIG_arg_fail(1)) SWIG_fail
;
24696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24697 if (SWIG_arg_fail(2)) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 (arg1
)->SetDC(arg2
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 Py_INCREF(Py_None
); resultobj
= Py_None
;
24712 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
= NULL
;
24714 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 PyObject
* obj2
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "w",(char *) "h", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail
;
24728 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24729 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24733 if (SWIG_arg_fail(3)) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 Py_INCREF(Py_None
); resultobj
= Py_None
;
24749 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
= NULL
;
24751 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24752 int *arg2
= (int *) 0 ;
24753 int *arg3
= (int *) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self", NULL
24763 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24764 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24777 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24778 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24779 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24786 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
= NULL
;
24788 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 PyObject
* obj1
= 0 ;
24793 PyObject
* obj2
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self",(char *) "w",(char *) "h", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24800 if (SWIG_arg_fail(1)) SWIG_fail
;
24802 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24803 if (SWIG_arg_fail(2)) SWIG_fail
;
24806 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24807 if (SWIG_arg_fail(3)) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 Py_INCREF(Py_None
); resultobj
= Py_None
;
24823 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
= NULL
;
24825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24826 int *arg2
= (int *) 0 ;
24827 int *arg3
= (int *) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self", NULL
24837 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24838 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24851 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24852 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24853 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24860 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
= NULL
;
24862 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 PyObject
* obj2
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "x",(char *) "y", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24874 if (SWIG_arg_fail(1)) SWIG_fail
;
24876 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24877 if (SWIG_arg_fail(2)) SWIG_fail
;
24880 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24881 if (SWIG_arg_fail(3)) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 (arg1
)->SetPPIScreen(arg2
,arg3
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 Py_INCREF(Py_None
); resultobj
= Py_None
;
24897 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
= NULL
;
24899 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24900 int *arg2
= (int *) 0 ;
24901 int *arg3
= (int *) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self", NULL
24911 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24912 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24915 if (SWIG_arg_fail(1)) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->GetPPIScreen(arg2
,arg3
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24924 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24925 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24926 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24927 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24934 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
= NULL
;
24936 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24939 PyObject
* obj0
= 0 ;
24940 PyObject
* obj1
= 0 ;
24941 PyObject
* obj2
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "x",(char *) "y", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24948 if (SWIG_arg_fail(1)) SWIG_fail
;
24950 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24951 if (SWIG_arg_fail(2)) SWIG_fail
;
24954 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24955 if (SWIG_arg_fail(3)) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 Py_INCREF(Py_None
); resultobj
= Py_None
;
24971 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
= NULL
;
24973 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24974 int *arg2
= (int *) 0 ;
24975 int *arg3
= (int *) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 char *kwnames
[] = {
24982 (char *) "self", NULL
24985 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24986 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24989 if (SWIG_arg_fail(1)) SWIG_fail
;
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24994 wxPyEndAllowThreads(__tstate
);
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 Py_INCREF(Py_None
); resultobj
= Py_None
;
24998 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24999 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25000 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25001 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25008 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
= NULL
;
25010 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25012 PyObject
* obj0
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25019 if (SWIG_arg_fail(1)) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 result
= (bool)(arg1
)->IsPreview();
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25036 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
= NULL
;
25038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25040 PyObject
* obj0
= 0 ;
25041 PyObject
* obj1
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self",(char *) "p", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail
;
25050 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
25051 if (SWIG_arg_fail(2)) SWIG_fail
;
25054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25055 (arg1
)->SetIsPreview(arg2
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25060 Py_INCREF(Py_None
); resultobj
= Py_None
;
25067 static PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
= NULL
;
25069 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25073 PyObject
* obj0
= 0 ;
25074 PyObject
* obj1
= 0 ;
25075 PyObject
* obj2
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25082 if (SWIG_arg_fail(1)) SWIG_fail
;
25084 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25085 if (SWIG_arg_fail(2)) SWIG_fail
;
25088 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25089 if (SWIG_arg_fail(3)) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25107 static PyObject
*_wrap_Printout_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25108 PyObject
*resultobj
= NULL
;
25109 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25110 PyObject
* obj0
= 0 ;
25111 char *kwnames
[] = {
25112 (char *) "self", NULL
25115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25117 if (SWIG_arg_fail(1)) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->OnEndDocument();
25122 wxPyEndAllowThreads(__tstate
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25125 Py_INCREF(Py_None
); resultobj
= Py_None
;
25132 static PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25133 PyObject
*resultobj
= NULL
;
25134 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25135 PyObject
* obj0
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "self", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25142 if (SWIG_arg_fail(1)) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 (arg1
)->OnBeginPrinting();
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25157 static PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
= NULL
;
25159 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "self", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25167 if (SWIG_arg_fail(1)) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 (arg1
)->OnEndPrinting();
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 Py_INCREF(Py_None
); resultobj
= Py_None
;
25182 static PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
= NULL
;
25184 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25185 PyObject
* obj0
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25192 if (SWIG_arg_fail(1)) SWIG_fail
;
25194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25195 (arg1
)->OnPreparePrinting();
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25200 Py_INCREF(Py_None
); resultobj
= Py_None
;
25207 static PyObject
*_wrap_Printout_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25208 PyObject
*resultobj
= NULL
;
25209 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self",(char *) "page", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25220 if (SWIG_arg_fail(1)) SWIG_fail
;
25222 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25223 if (SWIG_arg_fail(2)) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 result
= (bool)(arg1
)->HasPage(arg2
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25241 static PyObject
*_wrap_Printout_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
= NULL
;
25243 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25244 int *arg2
= (int *) 0 ;
25245 int *arg3
= (int *) 0 ;
25246 int *arg4
= (int *) 0 ;
25247 int *arg5
= (int *) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self", NULL
25261 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25262 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25263 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25264 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25276 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25277 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25278 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25279 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25280 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25281 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25282 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25283 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25290 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25293 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25295 return Py_BuildValue((char *)"");
25297 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= NULL
;
25299 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25300 wxWindow
*arg2
= (wxWindow
*) 0 ;
25301 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25302 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25303 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25304 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25305 long arg5
= (long) 0 ;
25306 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25307 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25308 wxPreviewCanvas
*result
;
25311 bool temp6
= false ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 PyObject
* obj2
= 0 ;
25315 PyObject
* obj3
= 0 ;
25316 PyObject
* obj4
= 0 ;
25317 PyObject
* obj5
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25324 if (SWIG_arg_fail(1)) SWIG_fail
;
25325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25326 if (SWIG_arg_fail(2)) SWIG_fail
;
25330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25336 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25341 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25342 if (SWIG_arg_fail(5)) SWIG_fail
;
25347 arg6
= wxString_in_helper(obj5
);
25348 if (arg6
== NULL
) SWIG_fail
;
25353 if (!wxPyCheckForApp()) SWIG_fail
;
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25375 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25378 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25380 return Py_BuildValue((char *)"");
25382 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25383 PyObject
*resultobj
= NULL
;
25384 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25385 wxFrame
*arg2
= (wxFrame
*) 0 ;
25386 wxString
*arg3
= 0 ;
25387 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25388 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25389 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25390 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25391 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25392 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25393 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25394 wxPreviewFrame
*result
;
25395 bool temp3
= false ;
25398 bool temp7
= false ;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 PyObject
* obj2
= 0 ;
25402 PyObject
* obj3
= 0 ;
25403 PyObject
* obj4
= 0 ;
25404 PyObject
* obj5
= 0 ;
25405 PyObject
* obj6
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25412 if (SWIG_arg_fail(1)) SWIG_fail
;
25413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25414 if (SWIG_arg_fail(2)) SWIG_fail
;
25416 arg3
= wxString_in_helper(obj2
);
25417 if (arg3
== NULL
) SWIG_fail
;
25423 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25429 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25434 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25435 if (SWIG_arg_fail(6)) SWIG_fail
;
25440 arg7
= wxString_in_helper(obj6
);
25441 if (arg7
== NULL
) SWIG_fail
;
25446 if (!wxPyCheckForApp()) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25476 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
= NULL
;
25478 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25479 PyObject
* obj0
= 0 ;
25480 char *kwnames
[] = {
25481 (char *) "self", NULL
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25486 if (SWIG_arg_fail(1)) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 (arg1
)->Initialize();
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 Py_INCREF(Py_None
); resultobj
= Py_None
;
25501 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25502 PyObject
*resultobj
= NULL
;
25503 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25504 PyObject
* obj0
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25511 if (SWIG_arg_fail(1)) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 (arg1
)->CreateControlBar();
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 Py_INCREF(Py_None
); resultobj
= Py_None
;
25526 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
= NULL
;
25528 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25529 PyObject
* obj0
= 0 ;
25530 char *kwnames
[] = {
25531 (char *) "self", NULL
25534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25536 if (SWIG_arg_fail(1)) SWIG_fail
;
25538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 (arg1
)->CreateCanvas();
25541 wxPyEndAllowThreads(__tstate
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25544 Py_INCREF(Py_None
); resultobj
= Py_None
;
25551 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25552 PyObject
*resultobj
= NULL
;
25553 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25554 wxPreviewControlBar
*result
;
25555 PyObject
* obj0
= 0 ;
25556 char *kwnames
[] = {
25557 (char *) "self", NULL
25560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25562 if (SWIG_arg_fail(1)) SWIG_fail
;
25564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25565 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25567 wxPyEndAllowThreads(__tstate
);
25568 if (PyErr_Occurred()) SWIG_fail
;
25570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25577 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25580 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25582 return Py_BuildValue((char *)"");
25584 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
= NULL
;
25586 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25588 wxWindow
*arg3
= (wxWindow
*) 0 ;
25589 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25590 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25591 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25592 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25593 long arg6
= (long) wxTAB_TRAVERSAL
;
25594 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25595 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25596 wxPreviewControlBar
*result
;
25599 bool temp7
= false ;
25600 PyObject
* obj0
= 0 ;
25601 PyObject
* obj1
= 0 ;
25602 PyObject
* obj2
= 0 ;
25603 PyObject
* obj3
= 0 ;
25604 PyObject
* obj4
= 0 ;
25605 PyObject
* obj5
= 0 ;
25606 PyObject
* obj6
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25613 if (SWIG_arg_fail(1)) SWIG_fail
;
25615 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25616 if (SWIG_arg_fail(2)) SWIG_fail
;
25618 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25619 if (SWIG_arg_fail(3)) SWIG_fail
;
25623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25634 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25635 if (SWIG_arg_fail(6)) SWIG_fail
;
25640 arg7
= wxString_in_helper(obj6
);
25641 if (arg7
== NULL
) SWIG_fail
;
25646 if (!wxPyCheckForApp()) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25668 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
= NULL
;
25670 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25672 PyObject
* obj0
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25679 if (SWIG_arg_fail(1)) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (int)(arg1
)->GetZoomControl();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= SWIG_From_int(static_cast<int >(result
));
25696 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
= NULL
;
25698 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25700 PyObject
* obj0
= 0 ;
25701 PyObject
* obj1
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "self",(char *) "zoom", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25708 if (SWIG_arg_fail(1)) SWIG_fail
;
25710 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25711 if (SWIG_arg_fail(2)) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 (arg1
)->SetZoomControl(arg2
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 Py_INCREF(Py_None
); resultobj
= Py_None
;
25727 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
= NULL
;
25729 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25730 wxPrintPreview
*result
;
25731 PyObject
* obj0
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25738 if (SWIG_arg_fail(1)) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25753 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25754 PyObject
*resultobj
= NULL
;
25755 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25756 PyObject
* obj0
= 0 ;
25757 char *kwnames
[] = {
25758 (char *) "self", NULL
25761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25763 if (SWIG_arg_fail(1)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25771 Py_INCREF(Py_None
); resultobj
= Py_None
;
25778 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25779 PyObject
*resultobj
= NULL
;
25780 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25781 PyObject
* obj0
= 0 ;
25782 char *kwnames
[] = {
25783 (char *) "self", NULL
25786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25788 if (SWIG_arg_fail(1)) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 (arg1
)->OnPrevious();
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25796 Py_INCREF(Py_None
); resultobj
= Py_None
;
25803 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
= NULL
;
25805 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25806 PyObject
* obj0
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25813 if (SWIG_arg_fail(1)) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
= NULL
;
25830 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25831 PyObject
* obj0
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25838 if (SWIG_arg_fail(1)) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 wxPyEndAllowThreads(__tstate
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25846 Py_INCREF(Py_None
); resultobj
= Py_None
;
25853 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25854 PyObject
*resultobj
= NULL
;
25855 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25856 PyObject
* obj0
= 0 ;
25857 char *kwnames
[] = {
25858 (char *) "self", NULL
25861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25863 if (SWIG_arg_fail(1)) SWIG_fail
;
25865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 Py_INCREF(Py_None
); resultobj
= Py_None
;
25878 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25881 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25883 return Py_BuildValue((char *)"");
25885 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25886 PyObject
*resultobj
= NULL
;
25887 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25888 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25889 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25890 wxPrintPreview
*result
;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 PyObject
* obj2
= 0 ;
25895 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25897 if (SWIG_arg_fail(1)) SWIG_fail
;
25898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25899 if (SWIG_arg_fail(2)) SWIG_fail
;
25901 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25902 if (SWIG_arg_fail(3)) SWIG_fail
;
25905 if (!wxPyCheckForApp()) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25919 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25920 PyObject
*resultobj
= NULL
;
25921 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25922 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25923 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25924 wxPrintPreview
*result
;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 PyObject
* obj2
= 0 ;
25929 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25931 if (SWIG_arg_fail(1)) SWIG_fail
;
25932 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(2)) SWIG_fail
;
25934 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25935 if (SWIG_arg_fail(3)) SWIG_fail
;
25937 if (!wxPyCheckForApp()) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25951 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25956 argc
= PyObject_Length(args
);
25957 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25958 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25960 if ((argc
>= 2) && (argc
<= 3)) {
25964 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25974 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25983 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25987 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25995 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26004 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26014 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26024 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26032 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26038 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26043 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
= NULL
;
26045 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26048 PyObject
* obj0
= 0 ;
26049 PyObject
* obj1
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self",(char *) "pageNum", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26056 if (SWIG_arg_fail(1)) SWIG_fail
;
26058 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26059 if (SWIG_arg_fail(2)) SWIG_fail
;
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26077 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
= NULL
;
26079 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26088 if (SWIG_arg_fail(1)) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= (int)(arg1
)->GetCurrentPage();
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= SWIG_From_int(static_cast<int >(result
));
26105 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
= NULL
;
26107 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26108 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26109 PyObject
* obj0
= 0 ;
26110 PyObject
* obj1
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self",(char *) "printout", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26117 if (SWIG_arg_fail(1)) SWIG_fail
;
26118 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26119 if (SWIG_arg_fail(2)) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->SetPrintout(arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 Py_INCREF(Py_None
); resultobj
= Py_None
;
26134 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
= NULL
;
26136 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26137 wxPyPrintout
*result
;
26138 PyObject
* obj0
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26145 if (SWIG_arg_fail(1)) SWIG_fail
;
26147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26148 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26154 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26162 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
= NULL
;
26164 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26165 wxPyPrintout
*result
;
26166 PyObject
* obj0
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26173 if (SWIG_arg_fail(1)) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26190 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
= NULL
;
26192 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26193 wxFrame
*arg2
= (wxFrame
*) 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self",(char *) "frame", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail
;
26203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26204 if (SWIG_arg_fail(2)) SWIG_fail
;
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26207 (arg1
)->SetFrame(arg2
);
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 Py_INCREF(Py_None
); resultobj
= Py_None
;
26219 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
= NULL
;
26221 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26222 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 PyObject
* obj1
= 0 ;
26225 char *kwnames
[] = {
26226 (char *) "self",(char *) "canvas", NULL
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26231 if (SWIG_arg_fail(1)) SWIG_fail
;
26232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26233 if (SWIG_arg_fail(2)) SWIG_fail
;
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 (arg1
)->SetCanvas(arg2
);
26238 wxPyEndAllowThreads(__tstate
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26241 Py_INCREF(Py_None
); resultobj
= Py_None
;
26248 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
= NULL
;
26250 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26259 if (SWIG_arg_fail(1)) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26262 result
= (wxFrame
*)(arg1
)->GetFrame();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= wxPyMake_wxObject(result
, 0);
26276 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
= NULL
;
26278 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26279 wxPreviewCanvas
*result
;
26280 PyObject
* obj0
= 0 ;
26281 char *kwnames
[] = {
26282 (char *) "self", NULL
26285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26287 if (SWIG_arg_fail(1)) SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26302 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
= NULL
;
26304 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26305 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 PyObject
* obj2
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26317 if (SWIG_arg_fail(1)) SWIG_fail
;
26318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26319 if (SWIG_arg_fail(2)) SWIG_fail
;
26321 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26322 if (SWIG_arg_fail(3)) SWIG_fail
;
26323 if (arg3
== NULL
) {
26324 SWIG_null_ref("wxDC");
26326 if (SWIG_arg_fail(3)) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26344 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
= NULL
;
26346 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26347 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 PyObject
* obj2
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26359 if (SWIG_arg_fail(1)) SWIG_fail
;
26360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26361 if (SWIG_arg_fail(2)) SWIG_fail
;
26363 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26364 if (SWIG_arg_fail(3)) SWIG_fail
;
26365 if (arg3
== NULL
) {
26366 SWIG_null_ref("wxDC");
26368 if (SWIG_arg_fail(3)) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26386 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
= NULL
;
26388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 char *kwnames
[] = {
26394 (char *) "self",(char *) "pageNum", NULL
26397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26399 if (SWIG_arg_fail(1)) SWIG_fail
;
26401 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26402 if (SWIG_arg_fail(2)) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= (bool)(arg1
)->RenderPage(arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26420 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
= NULL
;
26422 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26423 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char *kwnames
[] = {
26427 (char *) "self",(char *) "canvas", NULL
26430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26432 if (SWIG_arg_fail(1)) SWIG_fail
;
26433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26434 if (SWIG_arg_fail(2)) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 (arg1
)->AdjustScrollbars(arg2
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 Py_INCREF(Py_None
); resultobj
= Py_None
;
26449 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
= NULL
;
26451 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26452 wxPrintDialogData
*result
;
26453 PyObject
* obj0
= 0 ;
26454 char *kwnames
[] = {
26455 (char *) "self", NULL
26458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26460 if (SWIG_arg_fail(1)) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26465 result
= (wxPrintDialogData
*) &_result_ref
;
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26478 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26479 PyObject
*resultobj
= NULL
;
26480 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26482 PyObject
* obj0
= 0 ;
26483 PyObject
* obj1
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self",(char *) "percent", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26490 if (SWIG_arg_fail(1)) SWIG_fail
;
26492 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26493 if (SWIG_arg_fail(2)) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 (arg1
)->SetZoom(arg2
);
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 Py_INCREF(Py_None
); resultobj
= Py_None
;
26509 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
= NULL
;
26511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail
;
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 result
= (int)(arg1
)->GetZoom();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26529 resultobj
= SWIG_From_int(static_cast<int >(result
));
26537 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
= NULL
;
26539 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26548 if (SWIG_arg_fail(1)) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= (int)(arg1
)->GetMaxPage();
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_From_int(static_cast<int >(result
));
26565 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
= NULL
;
26567 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26569 PyObject
* obj0
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26576 if (SWIG_arg_fail(1)) SWIG_fail
;
26578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26579 result
= (int)(arg1
)->GetMinPage();
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26585 resultobj
= SWIG_From_int(static_cast<int >(result
));
26593 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
= NULL
;
26595 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (bool)(arg1
)->Ok();
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26621 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26622 PyObject
*resultobj
= NULL
;
26623 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 char *kwnames
[] = {
26628 (char *) "self",(char *) "ok", NULL
26631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26633 if (SWIG_arg_fail(1)) SWIG_fail
;
26635 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26636 if (SWIG_arg_fail(2)) SWIG_fail
;
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 (arg1
)->SetOk(arg2
);
26642 wxPyEndAllowThreads(__tstate
);
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 Py_INCREF(Py_None
); resultobj
= Py_None
;
26652 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
= NULL
;
26654 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "interactive", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26665 if (SWIG_arg_fail(1)) SWIG_fail
;
26667 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26668 if (SWIG_arg_fail(2)) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 result
= (bool)(arg1
)->Print(arg2
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26686 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
= NULL
;
26688 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 char *kwnames
[] = {
26691 (char *) "self", NULL
26694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26696 if (SWIG_arg_fail(1)) SWIG_fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 (arg1
)->DetermineScaling();
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 Py_INCREF(Py_None
); resultobj
= Py_None
;
26711 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26714 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26716 return Py_BuildValue((char *)"");
26718 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26719 PyObject
*resultobj
= NULL
;
26720 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26721 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26722 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26723 wxPyPrintPreview
*result
;
26724 PyObject
* obj0
= 0 ;
26725 PyObject
* obj1
= 0 ;
26726 PyObject
* obj2
= 0 ;
26728 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26730 if (SWIG_arg_fail(1)) SWIG_fail
;
26731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26732 if (SWIG_arg_fail(2)) SWIG_fail
;
26734 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26735 if (SWIG_arg_fail(3)) SWIG_fail
;
26738 if (!wxPyCheckForApp()) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26752 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26753 PyObject
*resultobj
= NULL
;
26754 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26755 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26756 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26757 wxPyPrintPreview
*result
;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 PyObject
* obj2
= 0 ;
26762 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26764 if (SWIG_arg_fail(1)) SWIG_fail
;
26765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26766 if (SWIG_arg_fail(2)) SWIG_fail
;
26767 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26768 if (SWIG_arg_fail(3)) SWIG_fail
;
26770 if (!wxPyCheckForApp()) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26784 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26789 argc
= PyObject_Length(args
);
26790 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26791 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26793 if ((argc
>= 2) && (argc
<= 3)) {
26797 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26807 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26816 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26820 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26828 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26837 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26847 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26857 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26865 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26871 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26876 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
= NULL
;
26878 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26879 PyObject
*arg2
= (PyObject
*) 0 ;
26880 PyObject
*arg3
= (PyObject
*) 0 ;
26881 PyObject
* obj0
= 0 ;
26882 PyObject
* obj1
= 0 ;
26883 PyObject
* obj2
= 0 ;
26884 char *kwnames
[] = {
26885 (char *) "self",(char *) "self",(char *) "_class", NULL
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26890 if (SWIG_arg_fail(1)) SWIG_fail
;
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 Py_INCREF(Py_None
); resultobj
= Py_None
;
26907 static PyObject
*_wrap_PyPrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26908 PyObject
*resultobj
= NULL
;
26909 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 char *kwnames
[] = {
26915 (char *) "self",(char *) "pageNum", NULL
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26920 if (SWIG_arg_fail(1)) SWIG_fail
;
26922 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26923 if (SWIG_arg_fail(2)) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26941 static PyObject
*_wrap_PyPrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
= NULL
;
26943 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26944 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 PyObject
* obj2
= 0 ;
26950 char *kwnames
[] = {
26951 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26956 if (SWIG_arg_fail(1)) SWIG_fail
;
26957 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26958 if (SWIG_arg_fail(2)) SWIG_fail
;
26960 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26961 if (SWIG_arg_fail(3)) SWIG_fail
;
26962 if (arg3
== NULL
) {
26963 SWIG_null_ref("wxDC");
26965 if (SWIG_arg_fail(3)) SWIG_fail
;
26968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26969 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26971 wxPyEndAllowThreads(__tstate
);
26972 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26983 static PyObject
*_wrap_PyPrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
= NULL
;
26985 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26986 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 PyObject
* obj2
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26998 if (SWIG_arg_fail(1)) SWIG_fail
;
26999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(2)) SWIG_fail
;
27002 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27003 if (SWIG_arg_fail(3)) SWIG_fail
;
27004 if (arg3
== NULL
) {
27005 SWIG_null_ref("wxDC");
27007 if (SWIG_arg_fail(3)) SWIG_fail
;
27010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27011 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
27013 wxPyEndAllowThreads(__tstate
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27025 static PyObject
*_wrap_PyPrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
= NULL
;
27027 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 char *kwnames
[] = {
27033 (char *) "self",(char *) "pageNum", NULL
27036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27038 if (SWIG_arg_fail(1)) SWIG_fail
;
27040 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27041 if (SWIG_arg_fail(2)) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (bool)(arg1
)->RenderPage(arg2
);
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27059 static PyObject
*_wrap_PyPrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
= NULL
;
27061 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "percent", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27071 if (SWIG_arg_fail(1)) SWIG_fail
;
27073 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27074 if (SWIG_arg_fail(2)) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 (arg1
)->SetZoom(arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 Py_INCREF(Py_None
); resultobj
= Py_None
;
27090 static PyObject
*_wrap_PyPrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27091 PyObject
*resultobj
= NULL
;
27092 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27095 PyObject
* obj0
= 0 ;
27096 PyObject
* obj1
= 0 ;
27097 char *kwnames
[] = {
27098 (char *) "self",(char *) "interactive", NULL
27101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27103 if (SWIG_arg_fail(1)) SWIG_fail
;
27105 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
27106 if (SWIG_arg_fail(2)) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (bool)(arg1
)->Print(arg2
);
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27124 static PyObject
*_wrap_PyPrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
= NULL
;
27126 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(1)) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 (arg1
)->DetermineScaling();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27142 Py_INCREF(Py_None
); resultobj
= Py_None
;
27149 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27152 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27154 return Py_BuildValue((char *)"");
27156 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27157 PyObject
*resultobj
= NULL
;
27158 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27159 wxFrame
*arg2
= (wxFrame
*) 0 ;
27160 wxString
*arg3
= 0 ;
27161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27165 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27166 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27167 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27168 wxPyPreviewFrame
*result
;
27169 bool temp3
= false ;
27172 bool temp7
= false ;
27173 PyObject
* obj0
= 0 ;
27174 PyObject
* obj1
= 0 ;
27175 PyObject
* obj2
= 0 ;
27176 PyObject
* obj3
= 0 ;
27177 PyObject
* obj4
= 0 ;
27178 PyObject
* obj5
= 0 ;
27179 PyObject
* obj6
= 0 ;
27180 char *kwnames
[] = {
27181 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27186 if (SWIG_arg_fail(1)) SWIG_fail
;
27187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27188 if (SWIG_arg_fail(2)) SWIG_fail
;
27190 arg3
= wxString_in_helper(obj2
);
27191 if (arg3
== NULL
) SWIG_fail
;
27197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27208 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27209 if (SWIG_arg_fail(6)) SWIG_fail
;
27214 arg7
= wxString_in_helper(obj6
);
27215 if (arg7
== NULL
) SWIG_fail
;
27220 if (!wxPyCheckForApp()) SWIG_fail
;
27221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27222 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27224 wxPyEndAllowThreads(__tstate
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27250 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
= NULL
;
27252 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27253 PyObject
*arg2
= (PyObject
*) 0 ;
27254 PyObject
*arg3
= (PyObject
*) 0 ;
27255 PyObject
* obj0
= 0 ;
27256 PyObject
* obj1
= 0 ;
27257 PyObject
* obj2
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self",(char *) "self",(char *) "_class", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail
;
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27271 wxPyEndAllowThreads(__tstate
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27274 Py_INCREF(Py_None
); resultobj
= Py_None
;
27281 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
= NULL
;
27283 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27284 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self",(char *) "canvas", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail
;
27294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27295 if (SWIG_arg_fail(2)) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 (arg1
)->SetPreviewCanvas(arg2
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 Py_INCREF(Py_None
); resultobj
= Py_None
;
27310 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
= NULL
;
27312 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27313 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27314 PyObject
* obj0
= 0 ;
27315 PyObject
* obj1
= 0 ;
27316 char *kwnames
[] = {
27317 (char *) "self",(char *) "bar", NULL
27320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27322 if (SWIG_arg_fail(1)) SWIG_fail
;
27323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27324 if (SWIG_arg_fail(2)) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27327 (arg1
)->SetControlBar(arg2
);
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27332 Py_INCREF(Py_None
); resultobj
= Py_None
;
27339 static PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
= NULL
;
27341 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27342 PyObject
* obj0
= 0 ;
27343 char *kwnames
[] = {
27344 (char *) "self", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
27348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27349 if (SWIG_arg_fail(1)) SWIG_fail
;
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 (arg1
)->Initialize();
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 Py_INCREF(Py_None
); resultobj
= Py_None
;
27364 static PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
= NULL
;
27366 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27374 if (SWIG_arg_fail(1)) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 (arg1
)->CreateCanvas();
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 Py_INCREF(Py_None
); resultobj
= Py_None
;
27389 static PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
= NULL
;
27391 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27392 PyObject
* obj0
= 0 ;
27393 char *kwnames
[] = {
27394 (char *) "self", NULL
27397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27399 if (SWIG_arg_fail(1)) SWIG_fail
;
27401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27402 (arg1
)->CreateControlBar();
27404 wxPyEndAllowThreads(__tstate
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 Py_INCREF(Py_None
); resultobj
= Py_None
;
27414 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27417 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27419 return Py_BuildValue((char *)"");
27421 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27422 PyObject
*resultobj
= NULL
;
27423 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27425 wxWindow
*arg3
= (wxWindow
*) 0 ;
27426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27430 long arg6
= (long) 0 ;
27431 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27433 wxPyPreviewControlBar
*result
;
27436 bool temp7
= false ;
27437 PyObject
* obj0
= 0 ;
27438 PyObject
* obj1
= 0 ;
27439 PyObject
* obj2
= 0 ;
27440 PyObject
* obj3
= 0 ;
27441 PyObject
* obj4
= 0 ;
27442 PyObject
* obj5
= 0 ;
27443 PyObject
* obj6
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27450 if (SWIG_arg_fail(1)) SWIG_fail
;
27452 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27453 if (SWIG_arg_fail(2)) SWIG_fail
;
27455 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27456 if (SWIG_arg_fail(3)) SWIG_fail
;
27460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27471 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27472 if (SWIG_arg_fail(6)) SWIG_fail
;
27477 arg7
= wxString_in_helper(obj6
);
27478 if (arg7
== NULL
) SWIG_fail
;
27483 if (!wxPyCheckForApp()) SWIG_fail
;
27484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27485 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27505 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
= NULL
;
27507 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27508 PyObject
*arg2
= (PyObject
*) 0 ;
27509 PyObject
*arg3
= (PyObject
*) 0 ;
27510 PyObject
* obj0
= 0 ;
27511 PyObject
* obj1
= 0 ;
27512 PyObject
* obj2
= 0 ;
27513 char *kwnames
[] = {
27514 (char *) "self",(char *) "self",(char *) "_class", NULL
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27519 if (SWIG_arg_fail(1)) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 Py_INCREF(Py_None
); resultobj
= Py_None
;
27536 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
= NULL
;
27538 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27539 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self",(char *) "preview", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27548 if (SWIG_arg_fail(1)) SWIG_fail
;
27549 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27550 if (SWIG_arg_fail(2)) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 (arg1
)->SetPrintPreview(arg2
);
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
= NULL
;
27567 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 char *kwnames
[] = {
27570 (char *) "self", NULL
27573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames
,&obj0
)) goto fail
;
27574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27575 if (SWIG_arg_fail(1)) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 (arg1
)->CreateButtons();
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27583 Py_INCREF(Py_None
); resultobj
= Py_None
;
27590 static PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
= NULL
;
27592 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27594 PyObject
* obj0
= 0 ;
27595 PyObject
* obj1
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self",(char *) "zoom", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27602 if (SWIG_arg_fail(1)) SWIG_fail
;
27604 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27605 if (SWIG_arg_fail(2)) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 (arg1
)->SetZoomControl(arg2
);
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27614 Py_INCREF(Py_None
); resultobj
= Py_None
;
27621 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27624 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27626 return Py_BuildValue((char *)"");
27628 static PyMethodDef SwigMethods
[] = {
27629 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27637 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27652 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27653 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27662 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27680 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27704 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27717 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27721 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27725 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27730 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27747 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27777 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27784 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27807 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27815 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27827 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27833 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27842 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27848 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27853 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27859 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27863 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27883 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27909 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27917 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27927 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27929 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27938 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27941 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27949 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27967 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27971 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27976 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27980 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27982 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27998 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28001 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28004 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28008 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28017 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28026 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28032 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28047 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28054 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28058 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PyWindow_DoGetSize", (PyCFunction
) _wrap_PyWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PyWindow_DoGetPosition", (PyCFunction
) _wrap_PyWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PyWindow_InitDialog", (PyCFunction
) _wrap_PyWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PyWindow_Validate", (PyCFunction
) _wrap_PyWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PyWindow_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PyWindow_GetMaxSize", (PyCFunction
) _wrap_PyWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PyWindow_AddChild", (PyCFunction
) _wrap_PyWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PyWindow_RemoveChild", (PyCFunction
) _wrap_PyWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28085 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PyPanel_DoGetSize", (PyCFunction
) _wrap_PyPanel_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PyPanel_DoGetPosition", (PyCFunction
) _wrap_PyPanel_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PyPanel_InitDialog", (PyCFunction
) _wrap_PyPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PyPanel_Validate", (PyCFunction
) _wrap_PyPanel_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PyPanel_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PyPanel_GetMaxSize", (PyCFunction
) _wrap_PyPanel_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PyPanel_AddChild", (PyCFunction
) _wrap_PyPanel_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PyPanel_RemoveChild", (PyCFunction
) _wrap_PyPanel_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28112 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PyScrolledWindow_Validate", (PyCFunction
) _wrap_PyScrolledWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PyScrolledWindow_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28139 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28140 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28169 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28170 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28203 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28208 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28209 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, 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_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"Printout_OnEndDocument", (PyCFunction
) _wrap_Printout_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"Printout_OnBeginPrinting", (PyCFunction
) _wrap_Printout_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"Printout_OnEndPrinting", (PyCFunction
) _wrap_Printout_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"Printout_OnPreparePrinting", (PyCFunction
) _wrap_Printout_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"Printout_GetPageInfo", (PyCFunction
) _wrap_Printout_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_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PyPrintPreview_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PyPrintPreview_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PyPrintPreview_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PyPrintPreview_Print", (PyCFunction
) _wrap_PyPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_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_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_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_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_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_wxPNMHandlerTo_p_wxObject(void *x
) {
28845 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28847 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28848 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28850 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28851 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28853 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28854 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28856 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28857 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28859 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28860 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28862 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28863 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28865 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28866 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28868 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28869 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28871 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28874 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28875 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28877 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28880 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28881 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28883 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28884 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28886 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28887 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28889 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28890 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28892 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28893 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28895 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28896 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28898 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28899 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28901 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28904 static void *_p_wxImageTo_p_wxObject(void *x
) {
28905 return (void *)((wxObject
*) ((wxImage
*) x
));
28907 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28910 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28911 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28913 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28914 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28916 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28917 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28919 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28922 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28925 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28926 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28928 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28929 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28931 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28932 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28934 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28935 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28937 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28938 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28940 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28943 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28944 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28946 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28947 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28949 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28952 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28955 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28956 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28958 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28961 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28964 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28965 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28967 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28968 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28970 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28973 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28976 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28979 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28980 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28982 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28983 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28985 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28986 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28988 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28989 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28991 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28994 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28997 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28998 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29000 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29001 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29003 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29004 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29006 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29007 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29009 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29010 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29012 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29013 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29015 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29016 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29018 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29019 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29021 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29022 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29024 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29025 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29027 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29028 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29030 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29033 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29036 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29039 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29042 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29045 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29048 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29051 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29054 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29057 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29060 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29063 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29064 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29066 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29067 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29069 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29070 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29072 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29073 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29075 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29076 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29078 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29079 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29081 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29082 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29084 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29085 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29087 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29088 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29090 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29091 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29093 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29094 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29096 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29097 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29099 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29100 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29102 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29103 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29105 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29106 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29108 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29109 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29111 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29112 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29114 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29115 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29117 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29118 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29120 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29121 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29123 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29124 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29126 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29127 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29129 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29130 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29132 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29133 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29135 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29136 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29138 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29139 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29141 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29142 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29144 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29145 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29147 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29148 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29150 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29151 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29153 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29154 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29156 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29157 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29159 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29160 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29162 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29163 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29165 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29166 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29168 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29169 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29171 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29172 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29174 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29175 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29177 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29178 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29180 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29181 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29183 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29184 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29186 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29187 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29189 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29190 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29192 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29193 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29195 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29196 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29198 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29199 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29201 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29202 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29204 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29205 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29207 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29208 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29210 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29211 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29213 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29214 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29216 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29217 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29219 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29220 return (void *)((wxWindow
*) ((wxControl
*) x
));
29222 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29223 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29225 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29226 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29228 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29229 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29231 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29232 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29234 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29235 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29237 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29238 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29240 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29241 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29243 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29244 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29246 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29247 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29249 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29250 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29252 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29253 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29255 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29256 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29258 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29259 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29261 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29262 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29264 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29265 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29267 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29268 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29270 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29271 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29273 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29274 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29276 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29277 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29279 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29280 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29282 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29283 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29285 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29286 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29288 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29289 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29291 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29292 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29294 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29295 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29297 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29298 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29300 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29301 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29303 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29304 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29306 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29307 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29309 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29310 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29312 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29313 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29315 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29316 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29318 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29319 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29321 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29322 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29324 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29325 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29327 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29328 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29330 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29331 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29333 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29334 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29336 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29337 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29339 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29340 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29342 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29343 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29345 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29346 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29348 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29349 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29351 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29352 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29354 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29355 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29357 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29358 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29360 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29361 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29363 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29364 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29366 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29367 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29369 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29370 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29372 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29373 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29375 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29376 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29377 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29378 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29379 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29380 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29381 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29382 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29383 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29384 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29385 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29386 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29387 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29388 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29389 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29390 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29391 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29392 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29393 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29394 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29395 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29396 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29397 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29398 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29399 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29400 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29401 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29402 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29403 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29404 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29405 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29406 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29407 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29408 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29409 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29410 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29411 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29412 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29413 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29414 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29415 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29416 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29417 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29418 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29419 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29420 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29421 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29422 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29423 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29424 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29425 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29426 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29427 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29428 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29429 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29430 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29431 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29432 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29433 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29434 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29435 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29436 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29437 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29438 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29439 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29440 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29441 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29442 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29443 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29444 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29445 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29446 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29447 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29448 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29449 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29450 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29451 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29452 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29453 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29454 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29455 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29456 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29457 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29458 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29459 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29460 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29461 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29462 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29463 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29464 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29465 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29466 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29467 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29468 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29469 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29470 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29471 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29472 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29473 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29474 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29475 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29476 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29477 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29478 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29479 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29480 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29481 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29482 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29483 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29484 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29485 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29486 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29487 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29488 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29489 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29490 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29491 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29492 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29493 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29494 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29495 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29496 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29497 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29498 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29499 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29500 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29501 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29502 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29503 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29504 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29505 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29506 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29507 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29508 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29509 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29510 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29511 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29512 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29513 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29514 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29515 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29516 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29517 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29518 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29519 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29520 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29521 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29522 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29523 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29524 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29525 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29526 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29527 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29528 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29529 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29530 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29531 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29532 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29533 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29534 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29535 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29536 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29537 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29539 static swig_type_info
*swig_type_initial
[] = {
29541 &_swigt__p_form_ops_t
,
29543 &_swigt__p_unsigned_char
,
29544 &_swigt__p_unsigned_int
,
29545 &_swigt__p_unsigned_long
,
29546 &_swigt__p_wxANIHandler
,
29547 &_swigt__p_wxAcceleratorTable
,
29548 &_swigt__p_wxActivateEvent
,
29549 &_swigt__p_wxArrayInt
,
29550 &_swigt__p_wxBMPHandler
,
29551 &_swigt__p_wxBitmap
,
29552 &_swigt__p_wxBoxSizer
,
29553 &_swigt__p_wxCURHandler
,
29554 &_swigt__p_wxCalculateLayoutEvent
,
29555 &_swigt__p_wxChildFocusEvent
,
29556 &_swigt__p_wxCloseEvent
,
29557 &_swigt__p_wxColour
,
29558 &_swigt__p_wxColourData
,
29559 &_swigt__p_wxColourDialog
,
29560 &_swigt__p_wxCommandEvent
,
29561 &_swigt__p_wxContextMenuEvent
,
29562 &_swigt__p_wxControl
,
29563 &_swigt__p_wxControlWithItems
,
29565 &_swigt__p_wxDateEvent
,
29566 &_swigt__p_wxDialog
,
29567 &_swigt__p_wxDirDialog
,
29568 &_swigt__p_wxDisplayChangedEvent
,
29569 &_swigt__p_wxDropFilesEvent
,
29570 &_swigt__p_wxDuplexMode
,
29571 &_swigt__p_wxEraseEvent
,
29572 &_swigt__p_wxEvent
,
29573 &_swigt__p_wxEvtHandler
,
29574 &_swigt__p_wxFSFile
,
29575 &_swigt__p_wxFileDialog
,
29576 &_swigt__p_wxFileSystem
,
29577 &_swigt__p_wxFindDialogEvent
,
29578 &_swigt__p_wxFindReplaceData
,
29579 &_swigt__p_wxFindReplaceDialog
,
29580 &_swigt__p_wxFlexGridSizer
,
29581 &_swigt__p_wxFocusEvent
,
29583 &_swigt__p_wxFontData
,
29584 &_swigt__p_wxFontDialog
,
29585 &_swigt__p_wxFrame
,
29586 &_swigt__p_wxGBSizerItem
,
29587 &_swigt__p_wxGIFHandler
,
29588 &_swigt__p_wxGridBagSizer
,
29589 &_swigt__p_wxGridSizer
,
29590 &_swigt__p_wxICOHandler
,
29592 &_swigt__p_wxIconBundle
,
29593 &_swigt__p_wxIconizeEvent
,
29594 &_swigt__p_wxIdleEvent
,
29595 &_swigt__p_wxImage
,
29596 &_swigt__p_wxImageHandler
,
29597 &_swigt__p_wxIndividualLayoutConstraint
,
29598 &_swigt__p_wxInitDialogEvent
,
29599 &_swigt__p_wxJPEGHandler
,
29600 &_swigt__p_wxKeyEvent
,
29601 &_swigt__p_wxLayoutAlgorithm
,
29602 &_swigt__p_wxLayoutConstraints
,
29603 &_swigt__p_wxMDIChildFrame
,
29604 &_swigt__p_wxMDIClientWindow
,
29605 &_swigt__p_wxMDIParentFrame
,
29606 &_swigt__p_wxMaximizeEvent
,
29608 &_swigt__p_wxMenuBar
,
29609 &_swigt__p_wxMenuEvent
,
29610 &_swigt__p_wxMenuItem
,
29611 &_swigt__p_wxMessageDialog
,
29612 &_swigt__p_wxMiniFrame
,
29613 &_swigt__p_wxMouseCaptureChangedEvent
,
29614 &_swigt__p_wxMouseEvent
,
29615 &_swigt__p_wxMoveEvent
,
29616 &_swigt__p_wxMultiChoiceDialog
,
29617 &_swigt__p_wxNavigationKeyEvent
,
29618 &_swigt__p_wxNcPaintEvent
,
29619 &_swigt__p_wxNotifyEvent
,
29620 &_swigt__p_wxObject
,
29621 &_swigt__p_wxPCXHandler
,
29622 &_swigt__p_wxPNGHandler
,
29623 &_swigt__p_wxPNMHandler
,
29624 &_swigt__p_wxPageSetupDialog
,
29625 &_swigt__p_wxPageSetupDialogData
,
29626 &_swigt__p_wxPaintEvent
,
29627 &_swigt__p_wxPaletteChangedEvent
,
29628 &_swigt__p_wxPanel
,
29629 &_swigt__p_wxPaperSize
,
29630 &_swigt__p_wxPasswordEntryDialog
,
29631 &_swigt__p_wxPoint
,
29632 &_swigt__p_wxPopupWindow
,
29633 &_swigt__p_wxPreviewCanvas
,
29634 &_swigt__p_wxPreviewControlBar
,
29635 &_swigt__p_wxPreviewFrame
,
29636 &_swigt__p_wxPrintData
,
29637 &_swigt__p_wxPrintDialog
,
29638 &_swigt__p_wxPrintDialogData
,
29639 &_swigt__p_wxPrintPreview
,
29640 &_swigt__p_wxPrinter
,
29641 &_swigt__p_wxProgressDialog
,
29642 &_swigt__p_wxPyApp
,
29643 &_swigt__p_wxPyCommandEvent
,
29644 &_swigt__p_wxPyEvent
,
29645 &_swigt__p_wxPyHtmlListBox
,
29646 &_swigt__p_wxPyImageHandler
,
29647 &_swigt__p_wxPyPanel
,
29648 &_swigt__p_wxPyPopupTransientWindow
,
29649 &_swigt__p_wxPyPreviewControlBar
,
29650 &_swigt__p_wxPyPreviewFrame
,
29651 &_swigt__p_wxPyPrintPreview
,
29652 &_swigt__p_wxPyPrintout
,
29653 &_swigt__p_wxPyScrolledWindow
,
29654 &_swigt__p_wxPySizer
,
29655 &_swigt__p_wxPyTaskBarIcon
,
29656 &_swigt__p_wxPyVListBox
,
29657 &_swigt__p_wxPyVScrolledWindow
,
29658 &_swigt__p_wxPyValidator
,
29659 &_swigt__p_wxPyWindow
,
29660 &_swigt__p_wxQueryLayoutInfoEvent
,
29661 &_swigt__p_wxQueryNewPaletteEvent
,
29663 &_swigt__p_wxRegion
,
29664 &_swigt__p_wxSashEvent
,
29665 &_swigt__p_wxSashLayoutWindow
,
29666 &_swigt__p_wxSashWindow
,
29667 &_swigt__p_wxScrollEvent
,
29668 &_swigt__p_wxScrollWinEvent
,
29669 &_swigt__p_wxScrolledWindow
,
29670 &_swigt__p_wxSetCursorEvent
,
29671 &_swigt__p_wxShowEvent
,
29672 &_swigt__p_wxSingleChoiceDialog
,
29674 &_swigt__p_wxSizeEvent
,
29675 &_swigt__p_wxSizer
,
29676 &_swigt__p_wxSizerItem
,
29677 &_swigt__p_wxSplashScreen
,
29678 &_swigt__p_wxSplashScreenWindow
,
29679 &_swigt__p_wxSplitterEvent
,
29680 &_swigt__p_wxSplitterWindow
,
29681 &_swigt__p_wxStaticBoxSizer
,
29682 &_swigt__p_wxStatusBar
,
29683 &_swigt__p_wxStdDialogButtonSizer
,
29684 &_swigt__p_wxString
,
29685 &_swigt__p_wxSysColourChangedEvent
,
29686 &_swigt__p_wxTIFFHandler
,
29687 &_swigt__p_wxTaskBarIcon
,
29688 &_swigt__p_wxTaskBarIconEvent
,
29689 &_swigt__p_wxTextEntryDialog
,
29690 &_swigt__p_wxTipWindow
,
29691 &_swigt__p_wxToolBar
,
29692 &_swigt__p_wxTopLevelWindow
,
29693 &_swigt__p_wxUpdateUIEvent
,
29694 &_swigt__p_wxValidator
,
29695 &_swigt__p_wxVisualAttributes
,
29696 &_swigt__p_wxWindow
,
29697 &_swigt__p_wxWindowCreateEvent
,
29698 &_swigt__p_wxWindowDestroyEvent
,
29699 &_swigt__p_wxXPMHandler
,
29700 &_swigt__ptrdiff_t
,
29701 &_swigt__std__ptrdiff_t
,
29702 &_swigt__unsigned_int
,
29705 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29706 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29707 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29708 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29709 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29710 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29711 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29712 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29713 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29714 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29715 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29717 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29718 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29719 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29720 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29721 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29722 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29723 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29724 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29725 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
29726 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29727 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
29728 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29729 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29730 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29731 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29732 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29733 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29734 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29735 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29736 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29737 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29738 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29739 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29740 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29741 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29742 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29743 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29744 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29745 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29746 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29747 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29748 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29749 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29750 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29751 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29752 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29753 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29754 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29755 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
29756 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29757 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29758 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29759 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29760 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29761 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
29762 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29763 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29764 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29765 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29766 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29767 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29768 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29769 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29770 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
29771 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29772 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29773 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29774 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29775 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29776 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29777 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29778 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29779 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29780 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29781 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29782 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29783 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29784 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29785 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29786 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29787 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29788 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29789 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29790 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29791 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29792 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29793 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29794 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29795 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29796 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29797 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29798 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29799 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29800 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29801 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29802 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29803 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29804 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29805 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29806 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29807 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29808 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29809 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29810 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29811 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
29812 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29813 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29814 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
29815 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29816 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29817 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29818 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
29819 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29820 static swig_cast_info _swigc__p_wxPreviewControlBar
[] = { {&_swigt__p_wxPreviewControlBar
, 0, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
, 0, 0},{0, 0, 0, 0}};
29821 static swig_cast_info _swigc__p_wxPreviewFrame
[] = { {&_swigt__p_wxPreviewFrame
, 0, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxPreviewFrame
, 0, 0},{0, 0, 0, 0}};
29822 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29823 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29824 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29825 static swig_cast_info _swigc__p_wxPrintPreview
[] = { {&_swigt__p_wxPrintPreview
, 0, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxPrintPreview
, 0, 0},{0, 0, 0, 0}};
29826 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29827 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29828 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29829 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29830 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
29831 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29832 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29833 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29834 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29835 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29836 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29837 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
29838 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
29839 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29840 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29841 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29842 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29843 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29844 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
29845 static swig_cast_info _swigc__p_wxSashWindow
[] = { {&_swigt__p_wxSashWindow
, 0, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxSashWindow
, 0, 0},{0, 0, 0, 0}};
29846 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29847 static swig_cast_info _swigc__p_wxScrolledWindow
[] = { {&_swigt__p_wxScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0},{0, 0, 0, 0}};
29848 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29849 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29850 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
29851 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
29852 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
29853 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
29854 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
29855 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29856 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29857 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29858 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
29859 static swig_cast_info _swigc__p_wxTextEntryDialog
[] = { {&_swigt__p_wxTextEntryDialog
, 0, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog
, 0, 0},{0, 0, 0, 0}};
29860 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
29861 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
29862 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
29863 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
29864 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
29865 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29866 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29867 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29869 static swig_cast_info
*swig_cast_initial
[] = {
29871 _swigc__p_form_ops_t
,
29873 _swigc__p_unsigned_char
,
29874 _swigc__p_unsigned_int
,
29875 _swigc__p_unsigned_long
,
29876 _swigc__p_wxANIHandler
,
29877 _swigc__p_wxAcceleratorTable
,
29878 _swigc__p_wxActivateEvent
,
29879 _swigc__p_wxArrayInt
,
29880 _swigc__p_wxBMPHandler
,
29881 _swigc__p_wxBitmap
,
29882 _swigc__p_wxBoxSizer
,
29883 _swigc__p_wxCURHandler
,
29884 _swigc__p_wxCalculateLayoutEvent
,
29885 _swigc__p_wxChildFocusEvent
,
29886 _swigc__p_wxCloseEvent
,
29887 _swigc__p_wxColour
,
29888 _swigc__p_wxColourData
,
29889 _swigc__p_wxColourDialog
,
29890 _swigc__p_wxCommandEvent
,
29891 _swigc__p_wxContextMenuEvent
,
29892 _swigc__p_wxControl
,
29893 _swigc__p_wxControlWithItems
,
29895 _swigc__p_wxDateEvent
,
29896 _swigc__p_wxDialog
,
29897 _swigc__p_wxDirDialog
,
29898 _swigc__p_wxDisplayChangedEvent
,
29899 _swigc__p_wxDropFilesEvent
,
29900 _swigc__p_wxDuplexMode
,
29901 _swigc__p_wxEraseEvent
,
29903 _swigc__p_wxEvtHandler
,
29904 _swigc__p_wxFSFile
,
29905 _swigc__p_wxFileDialog
,
29906 _swigc__p_wxFileSystem
,
29907 _swigc__p_wxFindDialogEvent
,
29908 _swigc__p_wxFindReplaceData
,
29909 _swigc__p_wxFindReplaceDialog
,
29910 _swigc__p_wxFlexGridSizer
,
29911 _swigc__p_wxFocusEvent
,
29913 _swigc__p_wxFontData
,
29914 _swigc__p_wxFontDialog
,
29916 _swigc__p_wxGBSizerItem
,
29917 _swigc__p_wxGIFHandler
,
29918 _swigc__p_wxGridBagSizer
,
29919 _swigc__p_wxGridSizer
,
29920 _swigc__p_wxICOHandler
,
29922 _swigc__p_wxIconBundle
,
29923 _swigc__p_wxIconizeEvent
,
29924 _swigc__p_wxIdleEvent
,
29926 _swigc__p_wxImageHandler
,
29927 _swigc__p_wxIndividualLayoutConstraint
,
29928 _swigc__p_wxInitDialogEvent
,
29929 _swigc__p_wxJPEGHandler
,
29930 _swigc__p_wxKeyEvent
,
29931 _swigc__p_wxLayoutAlgorithm
,
29932 _swigc__p_wxLayoutConstraints
,
29933 _swigc__p_wxMDIChildFrame
,
29934 _swigc__p_wxMDIClientWindow
,
29935 _swigc__p_wxMDIParentFrame
,
29936 _swigc__p_wxMaximizeEvent
,
29938 _swigc__p_wxMenuBar
,
29939 _swigc__p_wxMenuEvent
,
29940 _swigc__p_wxMenuItem
,
29941 _swigc__p_wxMessageDialog
,
29942 _swigc__p_wxMiniFrame
,
29943 _swigc__p_wxMouseCaptureChangedEvent
,
29944 _swigc__p_wxMouseEvent
,
29945 _swigc__p_wxMoveEvent
,
29946 _swigc__p_wxMultiChoiceDialog
,
29947 _swigc__p_wxNavigationKeyEvent
,
29948 _swigc__p_wxNcPaintEvent
,
29949 _swigc__p_wxNotifyEvent
,
29950 _swigc__p_wxObject
,
29951 _swigc__p_wxPCXHandler
,
29952 _swigc__p_wxPNGHandler
,
29953 _swigc__p_wxPNMHandler
,
29954 _swigc__p_wxPageSetupDialog
,
29955 _swigc__p_wxPageSetupDialogData
,
29956 _swigc__p_wxPaintEvent
,
29957 _swigc__p_wxPaletteChangedEvent
,
29959 _swigc__p_wxPaperSize
,
29960 _swigc__p_wxPasswordEntryDialog
,
29962 _swigc__p_wxPopupWindow
,
29963 _swigc__p_wxPreviewCanvas
,
29964 _swigc__p_wxPreviewControlBar
,
29965 _swigc__p_wxPreviewFrame
,
29966 _swigc__p_wxPrintData
,
29967 _swigc__p_wxPrintDialog
,
29968 _swigc__p_wxPrintDialogData
,
29969 _swigc__p_wxPrintPreview
,
29970 _swigc__p_wxPrinter
,
29971 _swigc__p_wxProgressDialog
,
29973 _swigc__p_wxPyCommandEvent
,
29974 _swigc__p_wxPyEvent
,
29975 _swigc__p_wxPyHtmlListBox
,
29976 _swigc__p_wxPyImageHandler
,
29977 _swigc__p_wxPyPanel
,
29978 _swigc__p_wxPyPopupTransientWindow
,
29979 _swigc__p_wxPyPreviewControlBar
,
29980 _swigc__p_wxPyPreviewFrame
,
29981 _swigc__p_wxPyPrintPreview
,
29982 _swigc__p_wxPyPrintout
,
29983 _swigc__p_wxPyScrolledWindow
,
29984 _swigc__p_wxPySizer
,
29985 _swigc__p_wxPyTaskBarIcon
,
29986 _swigc__p_wxPyVListBox
,
29987 _swigc__p_wxPyVScrolledWindow
,
29988 _swigc__p_wxPyValidator
,
29989 _swigc__p_wxPyWindow
,
29990 _swigc__p_wxQueryLayoutInfoEvent
,
29991 _swigc__p_wxQueryNewPaletteEvent
,
29993 _swigc__p_wxRegion
,
29994 _swigc__p_wxSashEvent
,
29995 _swigc__p_wxSashLayoutWindow
,
29996 _swigc__p_wxSashWindow
,
29997 _swigc__p_wxScrollEvent
,
29998 _swigc__p_wxScrollWinEvent
,
29999 _swigc__p_wxScrolledWindow
,
30000 _swigc__p_wxSetCursorEvent
,
30001 _swigc__p_wxShowEvent
,
30002 _swigc__p_wxSingleChoiceDialog
,
30004 _swigc__p_wxSizeEvent
,
30006 _swigc__p_wxSizerItem
,
30007 _swigc__p_wxSplashScreen
,
30008 _swigc__p_wxSplashScreenWindow
,
30009 _swigc__p_wxSplitterEvent
,
30010 _swigc__p_wxSplitterWindow
,
30011 _swigc__p_wxStaticBoxSizer
,
30012 _swigc__p_wxStatusBar
,
30013 _swigc__p_wxStdDialogButtonSizer
,
30014 _swigc__p_wxString
,
30015 _swigc__p_wxSysColourChangedEvent
,
30016 _swigc__p_wxTIFFHandler
,
30017 _swigc__p_wxTaskBarIcon
,
30018 _swigc__p_wxTaskBarIconEvent
,
30019 _swigc__p_wxTextEntryDialog
,
30020 _swigc__p_wxTipWindow
,
30021 _swigc__p_wxToolBar
,
30022 _swigc__p_wxTopLevelWindow
,
30023 _swigc__p_wxUpdateUIEvent
,
30024 _swigc__p_wxValidator
,
30025 _swigc__p_wxVisualAttributes
,
30026 _swigc__p_wxWindow
,
30027 _swigc__p_wxWindowCreateEvent
,
30028 _swigc__p_wxWindowDestroyEvent
,
30029 _swigc__p_wxXPMHandler
,
30031 _swigc__std__ptrdiff_t
,
30032 _swigc__unsigned_int
,
30036 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30038 static swig_const_info swig_const_table
[] = {
30039 {0, 0, 0, 0.0, 0, 0}};
30044 /*************************************************************************
30045 * Type initialization:
30046 * This problem is tough by the requirement that no dynamic
30047 * memory is used. Also, since swig_type_info structures store pointers to
30048 * swig_cast_info structures and swig_cast_info structures store pointers back
30049 * to swig_type_info structures, we need some lookup code at initialization.
30050 * The idea is that swig generates all the structures that are needed.
30051 * The runtime then collects these partially filled structures.
30052 * The SWIG_InitializeModule function takes these initial arrays out of
30053 * swig_module, and does all the lookup, filling in the swig_module.types
30054 * array with the correct data and linking the correct swig_cast_info
30055 * structures together.
30057 * The generated swig_type_info structures are assigned staticly to an initial
30058 * array. We just loop though that array, and handle each type individually.
30059 * First we lookup if this type has been already loaded, and if so, use the
30060 * loaded structure instead of the generated one. Then we have to fill in the
30061 * cast linked list. The cast data is initially stored in something like a
30062 * two-dimensional array. Each row corresponds to a type (there are the same
30063 * number of rows as there are in the swig_type_initial array). Each entry in
30064 * a column is one of the swig_cast_info structures for that type.
30065 * The cast_initial array is actually an array of arrays, because each row has
30066 * a variable number of columns. So to actually build the cast linked list,
30067 * we find the array of casts associated with the type, and loop through it
30068 * adding the casts to the list. The one last trick we need to do is making
30069 * sure the type pointer in the swig_cast_info struct is correct.
30071 * First off, we lookup the cast->type name to see if it is already loaded.
30072 * There are three cases to handle:
30073 * 1) If the cast->type has already been loaded AND the type we are adding
30074 * casting info to has not been loaded (it is in this module), THEN we
30075 * replace the cast->type pointer with the type pointer that has already
30077 * 2) If BOTH types (the one we are adding casting info to, and the
30078 * cast->type) are loaded, THEN the cast info has already been loaded by
30079 * the previous module so we just ignore it.
30080 * 3) Finally, if cast->type has not already been loaded, then we add that
30081 * swig_cast_info to the linked list (because the cast->type) pointer will
30093 #define SWIGRUNTIME_DEBUG
30097 SWIG_InitializeModule(void *clientdata
) {
30099 swig_module_info
*module_head
;
30100 static int init_run
= 0;
30102 clientdata
= clientdata
;
30104 if (init_run
) return;
30107 /* Initialize the swig_module */
30108 swig_module
.type_initial
= swig_type_initial
;
30109 swig_module
.cast_initial
= swig_cast_initial
;
30111 /* Try and load any already created modules */
30112 module_head
= SWIG_GetModule(clientdata
);
30114 swig_module
.next
= module_head
->next
;
30115 module_head
->next
= &swig_module
;
30117 /* This is the first module loaded */
30118 swig_module
.next
= &swig_module
;
30119 SWIG_SetModule(clientdata
, &swig_module
);
30122 /* Now work on filling in swig_module.types */
30123 #ifdef SWIGRUNTIME_DEBUG
30124 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
30126 for (i
= 0; i
< swig_module
.size
; ++i
) {
30127 swig_type_info
*type
= 0;
30128 swig_type_info
*ret
;
30129 swig_cast_info
*cast
;
30131 #ifdef SWIGRUNTIME_DEBUG
30132 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30135 /* if there is another module already loaded */
30136 if (swig_module
.next
!= &swig_module
) {
30137 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
30140 /* Overwrite clientdata field */
30141 #ifdef SWIGRUNTIME_DEBUG
30142 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
30144 if (swig_module
.type_initial
[i
]->clientdata
) {
30145 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
30146 #ifdef SWIGRUNTIME_DEBUG
30147 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
30151 type
= swig_module
.type_initial
[i
];
30154 /* Insert casting types */
30155 cast
= swig_module
.cast_initial
[i
];
30156 while (cast
->type
) {
30157 /* Don't need to add information already in the list */
30159 #ifdef SWIGRUNTIME_DEBUG
30160 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30162 if (swig_module
.next
!= &swig_module
) {
30163 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30164 #ifdef SWIGRUNTIME_DEBUG
30165 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30169 if (type
== swig_module
.type_initial
[i
]) {
30170 #ifdef SWIGRUNTIME_DEBUG
30171 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30176 /* Check for casting already in the list */
30177 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30178 #ifdef SWIGRUNTIME_DEBUG
30179 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30181 if (!ocast
) ret
= 0;
30186 #ifdef SWIGRUNTIME_DEBUG
30187 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30190 type
->cast
->prev
= cast
;
30191 cast
->next
= type
->cast
;
30197 /* Set entry in modules->types array equal to the type */
30198 swig_module
.types
[i
] = type
;
30200 swig_module
.types
[i
] = 0;
30202 #ifdef SWIGRUNTIME_DEBUG
30203 printf("**** SWIG_InitializeModule: Cast List ******\n");
30204 for (i
= 0; i
< swig_module
.size
; ++i
) {
30206 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30207 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30208 while (cast
->type
) {
30209 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30213 printf("---- Total casts: %d\n",j
);
30215 printf("**** SWIG_InitializeModule: Cast List ******\n");
30219 /* This function will propagate the clientdata field of type to
30220 * any new swig_type_info structures that have been added into the list
30221 * of equivalent types. It is like calling
30222 * SWIG_TypeClientData(type, clientdata) a second time.
30225 SWIG_PropagateClientData(void) {
30227 swig_cast_info
*equiv
;
30228 static int init_run
= 0;
30230 if (init_run
) return;
30233 for (i
= 0; i
< swig_module
.size
; i
++) {
30234 if (swig_module
.types
[i
]->clientdata
) {
30235 equiv
= swig_module
.types
[i
]->cast
;
30237 if (!equiv
->converter
) {
30238 if (equiv
->type
&& !equiv
->type
->clientdata
)
30239 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30241 equiv
= equiv
->next
;
30261 /* Python-specific SWIG API */
30262 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30263 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30264 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30266 /* -----------------------------------------------------------------------------
30267 * global variable support code.
30268 * ----------------------------------------------------------------------------- */
30270 typedef struct swig_globalvar
{
30271 char *name
; /* Name of global variable */
30272 PyObject
*(*get_attr
)(void); /* Return the current value */
30273 int (*set_attr
)(PyObject
*); /* Set the value */
30274 struct swig_globalvar
*next
;
30277 typedef struct swig_varlinkobject
{
30279 swig_globalvar
*vars
;
30280 } swig_varlinkobject
;
30282 SWIGINTERN PyObject
*
30283 swig_varlink_repr(swig_varlinkobject
*v
) {
30285 return PyString_FromString("<Swig global variables>");
30289 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30290 swig_globalvar
*var
;
30292 fprintf(fp
,"Swig global variables { ");
30293 for (var
= v
->vars
; var
; var
=var
->next
) {
30294 fprintf(fp
,"%s", var
->name
);
30295 if (var
->next
) fprintf(fp
,", ");
30297 fprintf(fp
," }\n");
30301 SWIGINTERN PyObject
*
30302 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30303 swig_globalvar
*var
= v
->vars
;
30305 if (strcmp(var
->name
,n
) == 0) {
30306 return (*var
->get_attr
)();
30310 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30315 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30316 swig_globalvar
*var
= v
->vars
;
30318 if (strcmp(var
->name
,n
) == 0) {
30319 return (*var
->set_attr
)(p
);
30323 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30327 SWIGINTERN PyTypeObject
*
30328 swig_varlink_type(void) {
30329 static char varlink__doc__
[] = "Swig var link object";
30330 static PyTypeObject varlink_type
30331 #if !defined(__cplusplus)
30333 static int type_init
= 0;
30338 PyObject_HEAD_INIT(&PyType_Type
)
30339 0, /* Number of items in variable part (ob_size) */
30340 (char *)"swigvarlink", /* Type name (tp_name) */
30341 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30342 0, /* Itemsize (tp_itemsize) */
30343 0, /* Deallocator (tp_dealloc) */
30344 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30345 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30346 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30347 0, /* tp_compare */
30348 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30349 0, /* tp_as_number */
30350 0, /* tp_as_sequence */
30351 0, /* tp_as_mapping */
30355 0, /* tp_getattro */
30356 0, /* tp_setattro */
30357 0, /* tp_as_buffer */
30359 varlink__doc__
, /* tp_doc */
30360 #if PY_VERSION_HEX >= 0x02000000
30361 0, /* tp_traverse */
30364 #if PY_VERSION_HEX >= 0x02010000
30365 0, /* tp_richcompare */
30366 0, /* tp_weaklistoffset */
30368 #if PY_VERSION_HEX >= 0x02020000
30369 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30371 #if PY_VERSION_HEX >= 0x02030000
30374 #ifdef COUNT_ALLOCS
30375 0,0,0,0 /* tp_alloc -> tp_next */
30378 #if !defined(__cplusplus)
30379 varlink_type
= tmp
;
30383 return &varlink_type
;
30386 /* Create a variable linking object for use later */
30387 SWIGINTERN PyObject
*
30388 SWIG_Python_newvarlink(void) {
30389 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30393 return ((PyObject
*) result
);
30397 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30398 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30399 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30401 size_t size
= strlen(name
)+1;
30402 gv
->name
= (char *)malloc(size
);
30404 strncpy(gv
->name
,name
,size
);
30405 gv
->get_attr
= get_attr
;
30406 gv
->set_attr
= set_attr
;
30407 gv
->next
= v
->vars
;
30413 /* -----------------------------------------------------------------------------
30414 * constants/methods manipulation
30415 * ----------------------------------------------------------------------------- */
30417 /* Install Constants */
30419 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30422 for (i
= 0; constants
[i
].type
; ++i
) {
30423 switch(constants
[i
].type
) {
30425 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30427 case SWIG_PY_FLOAT
:
30428 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30430 case SWIG_PY_STRING
:
30431 if (constants
[i
].pvalue
) {
30432 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30434 Py_INCREF(Py_None
);
30438 case SWIG_PY_POINTER
:
30439 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30441 case SWIG_PY_BINARY
:
30442 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30449 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30455 /* -----------------------------------------------------------------------------*/
30456 /* Fix SwigMethods to carry the callback ptrs when needed */
30457 /* -----------------------------------------------------------------------------*/
30460 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30461 swig_const_info
*const_table
,
30462 swig_type_info
**types
,
30463 swig_type_info
**types_initial
) {
30465 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30466 char *c
= methods
[i
].ml_doc
;
30467 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30469 swig_const_info
*ci
= 0;
30470 char *name
= c
+ 10;
30471 for (j
= 0; const_table
[j
].type
; ++j
) {
30472 if (strncmp(const_table
[j
].name
, name
,
30473 strlen(const_table
[j
].name
)) == 0) {
30474 ci
= &(const_table
[j
]);
30479 size_t shift
= (ci
->ptype
) - types
;
30480 swig_type_info
*ty
= types_initial
[shift
];
30481 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30482 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30483 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30486 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30488 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30490 strncpy(buff
, "swig_ptr: ", 10);
30492 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30493 methods
[i
].ml_doc
= ndoc
;
30501 /* -----------------------------------------------------------------------------*
30502 * Initialize type list
30503 * -----------------------------------------------------------------------------*/
30509 /* -----------------------------------------------------------------------------*
30510 * Partial Init method
30511 * -----------------------------------------------------------------------------*/
30516 SWIGEXPORT
void SWIG_init(void) {
30517 static PyObject
*SWIG_globals
= 0;
30519 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30521 /* Fix SwigMethods to carry the callback ptrs when needed */
30522 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30524 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30525 d
= PyModule_GetDict(m
);
30527 SWIG_InitializeModule(0);
30528 SWIG_InstallConstants(d
,swig_const_table
);
30530 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30531 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30532 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30533 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30534 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30536 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30539 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30542 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30545 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30548 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30551 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30554 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30557 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30560 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30563 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30566 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30569 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30572 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30575 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30578 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30581 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30584 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30587 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30590 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30593 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30596 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30599 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30602 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30605 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30608 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30611 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30614 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30617 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30620 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30623 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30626 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30629 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30632 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30635 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30638 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30641 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30644 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30647 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30650 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30653 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30656 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30659 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30662 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30665 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30668 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30671 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30673 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30675 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30678 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30681 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30684 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30687 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30690 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30693 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30696 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30699 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30702 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30705 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30708 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30711 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30714 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30716 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30717 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30718 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30719 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30720 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30721 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30723 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30726 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30729 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30732 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30735 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30738 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30741 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30744 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30747 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30750 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30753 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30756 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30759 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30762 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30765 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30767 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30769 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30772 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30775 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30778 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30781 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30784 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30787 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30790 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30793 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30796 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30799 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30801 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30802 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30803 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30805 // Map renamed classes back to their common name for OOR
30806 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30807 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30808 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30810 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30811 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30812 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30813 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30814 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30815 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30816 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30817 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30818 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30819 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30820 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30821 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30822 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30824 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30827 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30829 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30831 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30834 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30837 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30840 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30843 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
30846 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
30849 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
30851 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30852 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30853 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30854 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30855 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30857 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30860 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30863 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30866 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30869 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30872 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30875 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30878 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30881 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30883 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30884 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30886 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
30889 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
30892 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
30895 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
30898 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
30901 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
30904 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
30907 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
30910 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
30913 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
30916 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
30919 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
30922 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
30925 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
30928 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
30931 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
30934 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
30937 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
30940 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
30943 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
30946 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
30949 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
30952 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
30955 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
30958 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
30961 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
30964 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
30967 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
30970 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
30973 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
30976 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
30979 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
30982 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
30985 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
30988 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
30991 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
30994 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
30997 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
31000 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
31003 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");