1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
29 /***********************************************************************
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
34 ************************************************************************/
36 /* template workaround for compilers that cannot correctly implement the C++ standard */
37 #ifndef SWIGTEMPLATEDISAMBIGUATOR
38 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
45 /* inline attribute */
47 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
48 # define SWIGINLINE inline
54 /* attribute recognised by some compilers to avoid 'unused' warnings */
56 # if defined(__GNUC__) || defined(__ICC)
57 # define SWIGUNUSED __attribute__ ((unused))
63 /* internal SWIG method */
65 # define SWIGINTERN static SWIGUNUSED
68 /* internal inline SWIG method */
69 #ifndef SWIGINTERNINLINE
70 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
73 /* exporting methods for Windows DLLs */
75 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
76 # if defined(STATIC_LINKED)
79 # define SWIGEXPORT __declspec(dllexport)
86 /* calling conventions for Windows */
88 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
89 # define SWIGSTDCALL __stdcall
99 /***********************************************************************
102 * This file contains generic CAPI SWIG runtime support for pointer
105 ************************************************************************/
107 /* This should only be incremented when either the layout of swig_type_info changes,
108 or for whatever reason, the runtime changes incompatibly */
109 #define SWIG_RUNTIME_VERSION "2"
111 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
112 #ifdef SWIG_TYPE_TABLE
113 # define SWIG_QUOTE_STRING(x) #x
114 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
115 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
117 # define SWIG_TYPE_TABLE_NAME
121 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
122 creating a static or dynamic library from the swig runtime code.
123 In 99.9% of the cases, swig just needs to declare them as 'static'.
125 But only do this if is strictly necessary, ie, if you have problems
126 with your compiler or so.
130 # define SWIGRUNTIME SWIGINTERN
133 #ifndef SWIGRUNTIMEINLINE
134 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
143 typedef void *(*swig_converter_func
)(void *);
144 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
146 /* Structure to store inforomation on one type */
147 typedef struct swig_type_info
{
148 const char *name
; /* mangled name of this type */
149 const char *str
; /* human readable name of this type */
150 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
151 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
152 void *clientdata
; /* language specific type data */
155 /* Structure to store a type and conversion function used for casting */
156 typedef struct swig_cast_info
{
157 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
158 swig_converter_func converter
; /* function to cast the void pointers */
159 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
160 struct swig_cast_info
*prev
; /* pointer to the previous cast */
163 /* Structure used to store module information
164 * Each module generates one structure like this, and the runtime collects
165 * all of these structures and stores them in a circularly linked list.*/
166 typedef struct swig_module_info
{
167 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
168 size_t size
; /* Number of types in this module */
169 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
170 swig_type_info
**type_initial
; /* Array of initially generated type structures */
171 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
172 void *clientdata
; /* Language specific module data */
177 Compare two type names skipping the space characters, therefore
178 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
180 Return 0 when the two name types are equivalent, as in
181 strncmp, but skipping ' '.
184 SWIG_TypeNameComp(const char *f1
, const char *l1
,
185 const char *f2
, const char *l2
) {
186 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
187 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
188 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
189 if (*f1
!= *f2
) return (int)(*f1
- *f2
);
191 return (l1
- f1
) - (l2
- f2
);
195 Check type equivalence in a name list like <name1>|<name2>|...
196 Return 0 if not equal, 1 if equal
199 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
201 const char* te
= tb
+ strlen(tb
);
203 while (!equiv
&& *ne
) {
204 for (nb
= ne
; *ne
; ++ne
) {
205 if (*ne
== '|') break;
207 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
214 Check type equivalence in a name list like <name1>|<name2>|...
215 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
218 SWIG_TypeCompare(const char *nb
, const char *tb
) {
220 const char* te
= tb
+ strlen(tb
);
222 while (!equiv
&& *ne
) {
223 for (nb
= ne
; *ne
; ++ne
) {
224 if (*ne
== '|') break;
226 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
233 /* think of this as a c++ template<> or a scheme macro */
234 #define SWIG_TypeCheck_Template(comparison, ty) \
236 swig_cast_info *iter = ty->cast; \
239 if (iter == ty->cast) return iter; \
240 /* Move iter to the top of the linked list */ \
241 iter->prev->next = iter->next; \
243 iter->next->prev = iter->prev; \
244 iter->next = ty->cast; \
246 if (ty->cast) ty->cast->prev = iter; \
258 SWIGRUNTIME swig_cast_info
*
259 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
260 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
263 /* Same as previous function, except strcmp is replaced with a pointer comparison */
264 SWIGRUNTIME swig_cast_info
*
265 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
266 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
270 Cast a pointer up an inheritance hierarchy
272 SWIGRUNTIMEINLINE
void *
273 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
274 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
278 Dynamic pointer casting. Down an inheritance hierarchy
280 SWIGRUNTIME swig_type_info
*
281 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
282 swig_type_info
*lastty
= ty
;
283 if (!ty
|| !ty
->dcast
) return ty
;
284 while (ty
&& (ty
->dcast
)) {
285 ty
= (*ty
->dcast
)(ptr
);
292 Return the name associated with this type
294 SWIGRUNTIMEINLINE
const char *
295 SWIG_TypeName(const swig_type_info
*ty
) {
300 Return the pretty name associated with this type,
301 that is an unmangled type name in a form presentable to the user.
303 SWIGRUNTIME
const char *
304 SWIG_TypePrettyName(const swig_type_info
*type
) {
305 /* The "str" field contains the equivalent pretty names of the
306 type, separated by vertical-bar characters. We choose
307 to print the last name, as it is often (?) the most
309 if (type
->str
!= NULL
) {
310 const char *last_name
= type
->str
;
312 for (s
= type
->str
; *s
; s
++)
313 if (*s
== '|') last_name
= s
+1;
321 Set the clientdata field for a type
324 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
325 swig_cast_info
*cast
= ti
->cast
;
326 /* if (ti->clientdata == clientdata) return; */
327 ti
->clientdata
= clientdata
;
330 if (!cast
->converter
) {
331 swig_type_info
*tc
= cast
->type
;
332 if (!tc
->clientdata
) {
333 SWIG_TypeClientData(tc
, clientdata
);
341 Search for a swig_type_info structure only by mangled name
342 Search is a O(log #types)
344 We start searching at module start, and finish searching when start == end.
345 Note: if start == end at the beginning of the function, we go all the way around
348 SWIGRUNTIME swig_type_info
*
349 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
350 swig_module_info
*end
,
352 swig_module_info
*iter
= start
;
355 register size_t l
= 0;
356 register size_t r
= iter
->size
- 1;
358 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
359 register size_t i
= (l
+ r
) >> 1;
360 const char *iname
= iter
->types
[i
]->name
;
362 register int compare
= strcmp(name
, iname
);
364 return iter
->types
[i
];
365 } else if (compare
< 0) {
371 } else if (compare
> 0) {
375 break; /* should never happen */
380 } while (iter
!= end
);
385 Search for a swig_type_info structure for either a mangled name or a human readable name.
386 It first searches the mangled names of the types, which is a O(log #types)
387 If a type is not found it then searches the human readable names, which is O(#types).
389 We start searching at module start, and finish searching when start == end.
390 Note: if start == end at the beginning of the function, we go all the way around
393 SWIGRUNTIME swig_type_info
*
394 SWIG_TypeQueryModule(swig_module_info
*start
,
395 swig_module_info
*end
,
397 /* STEP 1: Search the name field using binary search */
398 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
402 /* STEP 2: If the type hasn't been found, do a complete search
403 of the str field (the human readable name) */
404 swig_module_info
*iter
= start
;
406 register size_t i
= 0;
407 for (; i
< iter
->size
; ++i
) {
408 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
409 return iter
->types
[i
];
412 } while (iter
!= end
);
415 /* neither found a match */
421 Pack binary data into a string
424 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
425 static const char hex
[17] = "0123456789abcdef";
426 register const unsigned char *u
= (unsigned char *) ptr
;
427 register const unsigned char *eu
= u
+ sz
;
428 for (; u
!= eu
; ++u
) {
429 register unsigned char uu
= *u
;
430 *(c
++) = hex
[(uu
& 0xf0) >> 4];
431 *(c
++) = hex
[uu
& 0xf];
437 Unpack binary data from a string
439 SWIGRUNTIME
const char *
440 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
441 register unsigned char *u
= (unsigned char *) ptr
;
442 register const unsigned char *eu
= u
+ sz
;
443 for (; u
!= eu
; ++u
) {
444 register char d
= *(c
++);
445 register unsigned char uu
= 0;
446 if ((d
>= '0') && (d
<= '9'))
447 uu
= ((d
- '0') << 4);
448 else if ((d
>= 'a') && (d
<= 'f'))
449 uu
= ((d
- ('a'-10)) << 4);
453 if ((d
>= '0') && (d
<= '9'))
455 else if ((d
>= 'a') && (d
<= 'f'))
456 uu
|= (d
- ('a'-10));
465 Pack 'void *' into a string buffer.
468 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
470 if ((2*sizeof(void *) + 2) > bsz
) return 0;
472 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
473 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
478 SWIGRUNTIME
const char *
479 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
481 if (strcmp(c
,"NULL") == 0) {
488 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
492 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
494 size_t lname
= (name
? strlen(name
) : 0);
495 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
497 r
= SWIG_PackData(r
,ptr
,sz
);
499 strncpy(r
,name
,lname
+1);
506 SWIGRUNTIME
const char *
507 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
509 if (strcmp(c
,"NULL") == 0) {
516 return SWIG_UnpackData(++c
,ptr
,sz
);
523 /* -----------------------------------------------------------------------------
524 * SWIG API. Portion that goes into the runtime
525 * ----------------------------------------------------------------------------- */
531 /* -----------------------------------------------------------------------------
532 * for internal method declarations
533 * ----------------------------------------------------------------------------- */
536 # define SWIGINTERN static SWIGUNUSED
539 #ifndef SWIGINTERNINLINE
540 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
544 Exception handling in wrappers
546 #define SWIG_fail goto fail
547 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
548 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
549 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
550 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
551 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
556 #define SWIG_contract_assert(expr, msg) \
557 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
559 /* -----------------------------------------------------------------------------
560 * Constant declarations
561 * ----------------------------------------------------------------------------- */
564 #define SWIG_PY_INT 1
565 #define SWIG_PY_FLOAT 2
566 #define SWIG_PY_STRING 3
567 #define SWIG_PY_POINTER 4
568 #define SWIG_PY_BINARY 5
570 /* Constant information structure */
571 typedef struct swig_const_info
{
577 swig_type_info
**ptype
;
581 /* -----------------------------------------------------------------------------
582 * Alloc. memory flags
583 * ----------------------------------------------------------------------------- */
584 #define SWIG_OLDOBJ 1
585 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
586 #define SWIG_PYSTR SWIG_NEWOBJ + 1
593 /***********************************************************************
596 * This file contains the runtime support for Python modules
597 * and includes code for managing global variables and pointer
600 * Author : David Beazley (beazley@cs.uchicago.edu)
601 ************************************************************************/
603 /* Common SWIG API */
604 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
605 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
606 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
609 /* Python-specific SWIG API */
610 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
611 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
614 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
615 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
617 /* -----------------------------------------------------------------------------
618 * Pointer declarations
619 * ----------------------------------------------------------------------------- */
621 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
622 C/C++ pointers in the python side. Very useful for debugging, but
625 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
626 # define SWIG_COBJECT_TYPES
629 /* Flags for pointer conversion */
630 #define SWIG_POINTER_EXCEPTION 0x1
631 #define SWIG_POINTER_DISOWN 0x2
634 /* Add PyOS_snprintf for old Pythons */
635 #if PY_VERSION_HEX < 0x02020000
636 #define PyOS_snprintf snprintf
643 /* -----------------------------------------------------------------------------
644 * Create a new pointer string
645 * ----------------------------------------------------------------------------- */
646 #ifndef SWIG_BUFFER_SIZE
647 #define SWIG_BUFFER_SIZE 1024
650 /* A crude PyString_FromFormat implementation for old Pythons */
651 #if PY_VERSION_HEX < 0x02020000
653 PyString_FromFormat(const char *fmt
, ...) {
655 char buf
[SWIG_BUFFER_SIZE
* 2];
658 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
660 return (res
< 0 || res
>= sizeof(buf
)) ? 0 : PyString_FromString(buf
);
664 #if PY_VERSION_HEX < 0x01060000
665 #define PyObject_Del(op) PyMem_DEL((op))
668 #if defined(SWIG_COBJECT_TYPES)
669 #if !defined(SWIG_COBJECT_PYTHON)
670 /* -----------------------------------------------------------------------------
671 * Implements a simple Swig Object type, and use it instead of PyCObject
672 * ----------------------------------------------------------------------------- */
680 /* Declarations for objects of type PySwigObject */
683 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
685 char result
[SWIG_BUFFER_SIZE
];
687 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
688 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
695 SWIGRUNTIME PyObject
*
696 PySwigObject_repr(PySwigObject
*v
)
698 char result
[SWIG_BUFFER_SIZE
];
699 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
700 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
703 SWIGRUNTIME PyObject
*
704 PySwigObject_str(PySwigObject
*v
)
706 char result
[SWIG_BUFFER_SIZE
];
707 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
708 PyString_FromString(result
) : 0;
711 SWIGRUNTIME PyObject
*
712 PySwigObject_long(PySwigObject
*v
)
714 return PyLong_FromVoidPtr(v
->ptr
);
717 SWIGRUNTIME PyObject
*
718 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
720 PyObject
*res
= NULL
;
721 PyObject
*args
= PyTuple_New(1);
722 if (args
&& (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0)) {
723 PyObject
*ofmt
= PyString_FromString(fmt
);
725 res
= PyString_Format(ofmt
,args
);
733 SWIGRUNTIME PyObject
*
734 PySwigObject_oct(PySwigObject
*v
)
736 return PySwigObject_format("%o",v
);
739 SWIGRUNTIME PyObject
*
740 PySwigObject_hex(PySwigObject
*v
)
742 return PySwigObject_format("%x",v
);
746 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
748 int c
= strcmp(v
->desc
, w
->desc
);
750 return (c
> 0) ? 1 : -1;
754 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
759 PySwigObject_dealloc(PySwigObject
*self
)
764 SWIGRUNTIME PyTypeObject
*
765 PySwigObject_type(void) {
766 static char pyswigobject_type__doc__
[] =
767 "Swig object carries a C/C++ instance pointer";
769 static PyNumberMethods PySwigObject_as_number
= {
770 (binaryfunc
)0, /*nb_add*/
771 (binaryfunc
)0, /*nb_subtract*/
772 (binaryfunc
)0, /*nb_multiply*/
773 (binaryfunc
)0, /*nb_divide*/
774 (binaryfunc
)0, /*nb_remainder*/
775 (binaryfunc
)0, /*nb_divmod*/
776 (ternaryfunc
)0,/*nb_power*/
777 (unaryfunc
)0, /*nb_negative*/
778 (unaryfunc
)0, /*nb_positive*/
779 (unaryfunc
)0, /*nb_absolute*/
780 (inquiry
)0, /*nb_nonzero*/
787 (coercion
)0, /*nb_coerce*/
788 (unaryfunc
)PySwigObject_long
, /*nb_int*/
789 (unaryfunc
)PySwigObject_long
, /*nb_long*/
790 (unaryfunc
)0, /*nb_float*/
791 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
792 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
793 #if PY_VERSION_HEX >= 0x02020000
794 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
795 #elif PY_VERSION_HEX >= 0x02000000
796 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
800 static PyTypeObject pyswigobject_type
801 #if !defined(__cplusplus)
803 static int type_init
= 0;
808 PyObject_HEAD_INIT(&PyType_Type
)
810 (char *)"PySwigObject", /*tp_name*/
811 sizeof(PySwigObject
), /*tp_basicsize*/
814 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
815 (printfunc
)PySwigObject_print
, /*tp_print*/
816 (getattrfunc
)0, /*tp_getattr*/
817 (setattrfunc
)0, /*tp_setattr*/
818 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
819 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
820 &PySwigObject_as_number
, /*tp_as_number*/
821 0, /*tp_as_sequence*/
823 (hashfunc
)0, /*tp_hash*/
824 (ternaryfunc
)0, /*tp_call*/
825 (reprfunc
)PySwigObject_str
, /*tp_str*/
826 /* Space for future expansion */
828 pyswigobject_type__doc__
, /* Documentation string */
829 #if PY_VERSION_HEX >= 0x02000000
833 #if PY_VERSION_HEX >= 0x02010000
834 0, /* tp_richcompare */
835 0, /* tp_weaklistoffset */
837 #if PY_VERSION_HEX >= 0x02020000
838 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
840 #if PY_VERSION_HEX >= 0x02030000
844 0,0,0,0 /* tp_alloc -> tp_next */
847 #if !defined(__cplusplus)
848 pyswigobject_type
= tmp
;
852 return &pyswigobject_type
;
855 SWIGRUNTIME PyObject
*
856 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
858 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_type());
863 return (PyObject
*)self
;
866 SWIGRUNTIMEINLINE
void *
867 PySwigObject_AsVoidPtr(PyObject
*self
)
869 return ((PySwigObject
*)self
)->ptr
;
872 SWIGRUNTIMEINLINE
const char *
873 PySwigObject_GetDesc(PyObject
*self
)
875 return ((PySwigObject
*)self
)->desc
;
878 SWIGRUNTIMEINLINE
int
879 PySwigObject_Check(PyObject
*op
) {
880 return ((op
)->ob_type
== PySwigObject_type())
881 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
884 /* -----------------------------------------------------------------------------
885 * Implements a simple Swig Packed type, and use it instead of string
886 * ----------------------------------------------------------------------------- */
896 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
898 char result
[SWIG_BUFFER_SIZE
];
900 fputs("<Swig Packed ", fp
);
901 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
910 SWIGRUNTIME PyObject
*
911 PySwigPacked_repr(PySwigPacked
*v
)
913 char result
[SWIG_BUFFER_SIZE
];
914 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
915 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
917 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
921 SWIGRUNTIME PyObject
*
922 PySwigPacked_str(PySwigPacked
*v
)
924 char result
[SWIG_BUFFER_SIZE
];
925 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
926 return PyString_FromFormat("%s%s", result
, v
->desc
);
928 return PyString_FromString(v
->desc
);
933 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
935 int c
= strcmp(v
->desc
, w
->desc
);
937 return (c
> 0) ? 1 : -1;
941 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
942 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
947 PySwigPacked_dealloc(PySwigPacked
*self
)
953 SWIGRUNTIME PyTypeObject
*
954 PySwigPacked_type(void) {
955 static char pyswigpacked_type__doc__
[] =
956 "Swig object carries a C/C++ instance pointer";
957 static PyTypeObject pyswigpacked_type
958 #if !defined(__cplusplus)
960 static int type_init
= 0;
965 PyObject_HEAD_INIT(&PyType_Type
)
967 (char *)"PySwigPacked", /*tp_name*/
968 sizeof(PySwigPacked
), /*tp_basicsize*/
971 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
972 (printfunc
)PySwigPacked_print
, /*tp_print*/
973 (getattrfunc
)0, /*tp_getattr*/
974 (setattrfunc
)0, /*tp_setattr*/
975 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
976 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
978 0, /*tp_as_sequence*/
980 (hashfunc
)0, /*tp_hash*/
981 (ternaryfunc
)0, /*tp_call*/
982 (reprfunc
)PySwigPacked_str
, /*tp_str*/
983 /* Space for future expansion */
985 pyswigpacked_type__doc__
, /* Documentation string */
986 #if PY_VERSION_HEX >= 0x02000000
990 #if PY_VERSION_HEX >= 0x02010000
991 0, /* tp_richcompare */
992 0, /* tp_weaklistoffset */
994 #if PY_VERSION_HEX >= 0x02020000
995 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
997 #if PY_VERSION_HEX >= 0x02030000
1001 0,0,0,0 /* tp_alloc -> tp_next */
1004 #if !defined(__cplusplus)
1005 pyswigpacked_type
= tmp
;
1009 return &pyswigpacked_type
;
1012 SWIGRUNTIME PyObject
*
1013 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
1015 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1019 void *pack
= malloc(size
);
1021 memcpy(pack
, ptr
, size
);
1025 return (PyObject
*) self
;
1031 SWIGRUNTIMEINLINE
const char *
1032 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1034 PySwigPacked
*self
= (PySwigPacked
*)obj
;
1035 if (self
->size
!= size
) return 0;
1036 memcpy(ptr
, self
->pack
, size
);
1040 SWIGRUNTIMEINLINE
const char *
1041 PySwigPacked_GetDesc(PyObject
*self
)
1043 return ((PySwigPacked
*)self
)->desc
;
1046 SWIGRUNTIMEINLINE
int
1047 PySwigPacked_Check(PyObject
*op
) {
1048 return ((op
)->ob_type
== PySwigPacked_type())
1049 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1053 /* -----------------------------------------------------------------------------
1054 * Use the old Python PyCObject instead of PySwigObject
1055 * ----------------------------------------------------------------------------- */
1057 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1058 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1059 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1060 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1066 /* -----------------------------------------------------------------------------
1067 * errors manipulation
1068 * ----------------------------------------------------------------------------- */
1071 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1074 #if defined(SWIG_COBJECT_TYPES)
1075 if (obj
&& PySwigObject_Check(obj
)) {
1076 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1078 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1085 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1087 PyObject
*str
= PyObject_Str(obj
);
1088 const char *cstr
= str
? PyString_AsString(str
) : 0;
1090 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1093 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1100 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1102 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1106 SWIGRUNTIMEINLINE
void
1107 SWIG_Python_NullRef(const char *type
)
1110 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1112 PyErr_Format(PyExc_TypeError
, "null reference was received");
1117 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1119 if (PyErr_Occurred()) {
1121 PyObject
*value
= 0;
1122 PyObject
*traceback
= 0;
1123 PyErr_Fetch(&type
, &value
, &traceback
);
1125 PyObject
*old_str
= PyObject_Str(value
);
1129 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1131 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1142 SWIG_Python_ArgFail(int argnum
)
1144 if (PyErr_Occurred()) {
1145 /* add information about failing argument */
1147 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
1148 return SWIG_Python_AddErrMesg(mesg
, 1);
1155 /* -----------------------------------------------------------------------------
1156 * pointers/data manipulation
1157 * ----------------------------------------------------------------------------- */
1159 /* Convert a pointer value */
1161 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1164 static PyObject
*SWIG_this
= 0;
1166 PyObject
*pyobj
= 0;
1170 if (obj
== Py_None
) {
1175 #ifdef SWIG_COBJECT_TYPES
1176 if (!(PySwigObject_Check(obj
))) {
1178 SWIG_this
= PyString_FromString("this");
1180 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1182 if (!obj
) goto type_error
;
1183 if (!PySwigObject_Check(obj
)) {
1188 vptr
= PySwigObject_AsVoidPtr(obj
);
1189 c
= (const char *) PySwigObject_GetDesc(obj
);
1190 if (newref
) { Py_DECREF(obj
); }
1193 if (!(PyString_Check(obj
))) {
1195 SWIG_this
= PyString_FromString("this");
1197 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1199 if (!obj
) goto type_error
;
1200 if (!PyString_Check(obj
)) {
1205 c
= PyString_AsString(obj
);
1206 /* Pointer values must start with leading underscore */
1207 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1208 if (newref
) { Py_DECREF(obj
); }
1209 if (!c
) goto type_error
;
1214 tc
= SWIG_TypeCheck(c
,ty
);
1215 if (!tc
) goto type_error
;
1216 *ptr
= SWIG_TypeCast(tc
,vptr
);
1220 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1221 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1227 if (pyobj
&& !obj
) {
1229 if (PyCFunction_Check(obj
)) {
1230 /* here we get the method pointer for callbacks */
1231 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1232 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1234 c
= ty
? SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
) : 0;
1235 if (!c
) goto type_error
;
1240 if (flags
& SWIG_POINTER_EXCEPTION
) {
1242 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1244 SWIG_Python_TypeError("C/C++ pointer", obj
);
1250 /* Convert a pointer value, signal an exception on a type mismatch */
1252 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1254 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1256 if (flags
& SWIG_POINTER_EXCEPTION
) {
1257 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1258 SWIG_Python_ArgFail(argnum
);
1264 /* Convert a packed value value */
1266 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1270 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1271 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1273 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1274 c
= PyString_AsString(obj
);
1275 /* Pointer values must start with leading underscore */
1276 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1278 if (!c
) goto type_error
;
1280 tc
= SWIG_TypeCheck(c
,ty
);
1281 if (!tc
) goto type_error
;
1287 if (flags
& SWIG_POINTER_EXCEPTION
) {
1289 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1291 SWIG_Python_TypeError("C/C++ packed data", obj
);
1297 /* Create a new array object */
1298 SWIGRUNTIME PyObject
*
1299 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1302 if (!PyErr_Occurred()) {
1303 PyErr_Format(PyExc_TypeError
, "Swig: null type passed to NewPointerObj");
1311 #ifdef SWIG_COBJECT_TYPES
1312 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1315 char result
[SWIG_BUFFER_SIZE
];
1316 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1317 PyString_FromString(result
) : 0;
1320 if (!robj
|| (robj
== Py_None
)) return robj
;
1321 if (type
->clientdata
) {
1323 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1325 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1329 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1337 SWIGRUNTIME PyObject
*
1338 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1344 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1345 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1348 char result
[SWIG_BUFFER_SIZE
];
1349 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1350 PyString_FromString(result
) : 0;
1356 /* -----------------------------------------------------------------------------*
1358 * -----------------------------------------------------------------------------*/
1360 #ifdef SWIG_LINK_RUNTIME
1361 void *SWIG_ReturnGlobalTypeList(void *);
1364 SWIGRUNTIME swig_module_info
*
1365 SWIG_Python_GetModule(void) {
1366 static void *type_pointer
= (void *)0;
1367 /* first check if module already created */
1368 if (!type_pointer
) {
1369 #ifdef SWIG_LINK_RUNTIME
1370 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1372 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1373 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1374 if (PyErr_Occurred()) {
1376 type_pointer
= (void *)0;
1380 return (swig_module_info
*) type_pointer
;
1383 #if PY_MAJOR_VERSION < 2
1384 /* PyModule_AddObject function was introduced in Python 2.0. The following function
1385 is copied out of Python/modsupport.c in python version 2.3.4 */
1387 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
1390 if (!PyModule_Check(m
)) {
1391 PyErr_SetString(PyExc_TypeError
,
1392 "PyModule_AddObject() needs module as first arg");
1396 PyErr_SetString(PyExc_TypeError
,
1397 "PyModule_AddObject() needs non-NULL value");
1401 dict
= PyModule_GetDict(m
);
1403 /* Internal error -- modules must have a dict! */
1404 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
1405 PyModule_GetName(m
));
1408 if (PyDict_SetItemString(dict
, name
, o
))
1416 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
1417 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
1419 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1420 swig_empty_runtime_method_table
);
1421 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, NULL
);
1422 if (pointer
&& module) {
1423 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
1432 /* -------- TYPES TABLE (BEGIN) -------- */
1434 #define SWIGTYPE_p_char swig_types[0]
1435 #define SWIGTYPE_p_form_ops_t swig_types[1]
1436 #define SWIGTYPE_p_int swig_types[2]
1437 #define SWIGTYPE_p_unsigned_char swig_types[3]
1438 #define SWIGTYPE_p_unsigned_int swig_types[4]
1439 #define SWIGTYPE_p_unsigned_long swig_types[5]
1440 #define SWIGTYPE_p_wxANIHandler swig_types[6]
1441 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
1442 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
1443 #define SWIGTYPE_p_wxArrayInt swig_types[9]
1444 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
1445 #define SWIGTYPE_p_wxBitmap swig_types[11]
1446 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
1447 #define SWIGTYPE_p_wxCURHandler swig_types[13]
1448 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
1449 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
1450 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
1451 #define SWIGTYPE_p_wxColour swig_types[17]
1452 #define SWIGTYPE_p_wxColourData swig_types[18]
1453 #define SWIGTYPE_p_wxColourDialog swig_types[19]
1454 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
1455 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
1456 #define SWIGTYPE_p_wxControl swig_types[22]
1457 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
1458 #define SWIGTYPE_p_wxDC swig_types[24]
1459 #define SWIGTYPE_p_wxDateEvent swig_types[25]
1460 #define SWIGTYPE_p_wxDialog swig_types[26]
1461 #define SWIGTYPE_p_wxDirDialog swig_types[27]
1462 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
1464 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
1465 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
1466 #define SWIGTYPE_p_wxEvent swig_types[32]
1467 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
1468 #define SWIGTYPE_p_wxFSFile swig_types[34]
1469 #define SWIGTYPE_p_wxFileDialog swig_types[35]
1470 #define SWIGTYPE_p_wxFileSystem swig_types[36]
1471 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
1472 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
1473 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
1474 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
1475 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
1476 #define SWIGTYPE_p_wxFont swig_types[42]
1477 #define SWIGTYPE_p_wxFontData swig_types[43]
1478 #define SWIGTYPE_p_wxFontDialog swig_types[44]
1479 #define SWIGTYPE_p_wxFrame swig_types[45]
1480 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
1481 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
1482 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
1483 #define SWIGTYPE_p_wxGridSizer swig_types[49]
1484 #define SWIGTYPE_p_wxICOHandler swig_types[50]
1485 #define SWIGTYPE_p_wxIcon swig_types[51]
1486 #define SWIGTYPE_p_wxIconBundle swig_types[52]
1487 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
1488 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
1489 #define SWIGTYPE_p_wxImage swig_types[55]
1490 #define SWIGTYPE_p_wxImageHandler swig_types[56]
1491 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
1492 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
1493 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
1494 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
1495 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
1496 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
1497 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
1498 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
1499 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
1500 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
1501 #define SWIGTYPE_p_wxMenu swig_types[67]
1502 #define SWIGTYPE_p_wxMenuBar swig_types[68]
1503 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
1504 #define SWIGTYPE_p_wxMenuItem swig_types[70]
1505 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
1506 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
1507 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
1508 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
1509 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
1510 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
1511 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
1512 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
1513 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
1514 #define SWIGTYPE_p_wxObject swig_types[80]
1515 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
1516 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
1517 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
1518 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
1519 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
1520 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
1521 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
1522 #define SWIGTYPE_p_wxPanel swig_types[88]
1523 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1524 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
1525 #define SWIGTYPE_p_wxPoint swig_types[91]
1526 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
1527 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
1528 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
1529 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
1530 #define SWIGTYPE_p_wxPrintData swig_types[96]
1531 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
1532 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
1533 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
1534 #define SWIGTYPE_p_wxPrinter swig_types[100]
1535 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
1536 #define SWIGTYPE_p_wxPyApp swig_types[102]
1537 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
1538 #define SWIGTYPE_p_wxPyEvent swig_types[104]
1539 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
1540 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
1541 #define SWIGTYPE_p_wxPyPanel swig_types[107]
1542 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
1543 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
1544 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
1545 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
1546 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
1547 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
1548 #define SWIGTYPE_p_wxPySizer swig_types[114]
1549 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
1550 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
1551 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
1552 #define SWIGTYPE_p_wxPyValidator swig_types[118]
1553 #define SWIGTYPE_p_wxPyWindow swig_types[119]
1554 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
1555 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
1556 #define SWIGTYPE_p_wxRect swig_types[122]
1557 #define SWIGTYPE_p_wxRegion swig_types[123]
1558 #define SWIGTYPE_p_wxSashEvent swig_types[124]
1559 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
1560 #define SWIGTYPE_p_wxSashWindow swig_types[126]
1561 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
1562 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
1563 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
1564 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
1565 #define SWIGTYPE_p_wxShowEvent swig_types[131]
1566 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
1567 #define SWIGTYPE_p_wxSize swig_types[133]
1568 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
1569 #define SWIGTYPE_p_wxSizer swig_types[135]
1570 #define SWIGTYPE_p_wxSizerItem swig_types[136]
1571 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
1572 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
1573 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
1574 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
1575 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
1576 #define SWIGTYPE_p_wxStatusBar swig_types[142]
1577 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
1578 #define SWIGTYPE_p_wxString swig_types[144]
1579 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
1580 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
1581 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
1582 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
1583 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
1584 #define SWIGTYPE_p_wxTipWindow swig_types[150]
1585 #define SWIGTYPE_p_wxToolBar swig_types[151]
1586 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
1587 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
1588 #define SWIGTYPE_p_wxValidator swig_types[154]
1589 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
1590 #define SWIGTYPE_p_wxWindow swig_types[156]
1591 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
1592 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
1593 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
1594 #define SWIGTYPE_ptrdiff_t swig_types[160]
1595 #define SWIGTYPE_std__ptrdiff_t swig_types[161]
1596 #define SWIGTYPE_unsigned_int swig_types[162]
1597 static swig_type_info
*swig_types
[164];
1598 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
1599 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
1600 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
1602 /* -------- TYPES TABLE (END) -------- */
1605 /*-----------------------------------------------
1606 @(target):= _windows_.so
1607 ------------------------------------------------*/
1608 #define SWIG_init init_windows_
1610 #define SWIG_name "_windows_"
1612 #include "wx/wxPython/wxPython.h"
1613 #include "wx/wxPython/pyclasses.h"
1616 static const wxString
wxPyEmptyString(wxEmptyString
);
1617 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1625 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1628 if (value
< min_value
) {
1630 PyErr_Format(PyExc_OverflowError
,
1631 "value %ld is less than '%s' minimum %ld",
1632 value
, errmsg
, min_value
);
1635 } else if (value
> max_value
) {
1637 PyErr_Format(PyExc_OverflowError
,
1638 "value %ld is greater than '%s' maximum %ld",
1639 value
, errmsg
, max_value
);
1648 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1650 if (PyNumber_Check(obj
)) {
1651 if (val
) *val
= PyInt_AsLong(obj
);
1655 SWIG_Python_TypeError("number", obj
);
1661 #if INT_MAX != LONG_MAX
1663 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1665 const char* errmsg
= val
? "int" : (char*)0;
1667 if (SWIG_AsVal_long(obj
, &v
)) {
1668 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1669 if (val
) *val
= static_cast<int >(v
);
1678 SWIG_type_error(errmsg
, obj
);
1683 SWIGINTERNINLINE
int
1684 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1686 return SWIG_AsVal_long(obj
,(long*)val
);
1691 SWIGINTERNINLINE
int
1692 SWIG_As_int(PyObject
* obj
)
1695 if (!SWIG_AsVal_int(obj
, &v
)) {
1697 this is needed to make valgrind/purify happier.
1699 memset((void*)&v
, 0, sizeof(int));
1705 SWIGINTERNINLINE
long
1706 SWIG_As_long(PyObject
* obj
)
1709 if (!SWIG_AsVal_long(obj
, &v
)) {
1711 this is needed to make valgrind/purify happier.
1713 memset((void*)&v
, 0, sizeof(long));
1719 SWIGINTERNINLINE
int
1720 SWIG_Check_int(PyObject
* obj
)
1722 return SWIG_AsVal_int(obj
, (int*)0);
1726 SWIGINTERNINLINE
int
1727 SWIG_Check_long(PyObject
* obj
)
1729 return SWIG_AsVal_long(obj
, (long*)0);
1734 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1736 if (obj
== Py_True
) {
1737 if (val
) *val
= true;
1740 if (obj
== Py_False
) {
1741 if (val
) *val
= false;
1745 if (SWIG_AsVal_int(obj
, &res
)) {
1746 if (val
) *val
= res
? true : false;
1752 SWIG_type_error("bool", obj
);
1758 SWIGINTERNINLINE
bool
1759 SWIG_As_bool(PyObject
* obj
)
1762 if (!SWIG_AsVal_bool(obj
, &v
)) {
1764 this is needed to make valgrind/purify happier.
1766 memset((void*)&v
, 0, sizeof(bool));
1772 SWIGINTERNINLINE
int
1773 SWIG_Check_bool(PyObject
* obj
)
1775 return SWIG_AsVal_bool(obj
, (bool*)0);
1779 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1780 #define SWIG_From_int PyInt_FromLong
1784 static PyObject
* t_output_helper(PyObject
* result
, PyObject
* obj
)
1790 } else if (result
== Py_None
) {
1794 if (!PyTuple_Check(result
)) {
1796 result
= PyTuple_New(1);
1797 PyTuple_SET_ITEM(result
, 0, o2
);
1799 o3
= PyTuple_New(1);
1800 PyTuple_SetItem(o3
, 0, obj
);
1802 result
= PySequence_Concat(o2
, o3
);
1812 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1814 if (PyNumber_Check(obj
)) {
1815 if (val
) *val
= PyFloat_AsDouble(obj
);
1819 SWIG_Python_TypeError("number", obj
);
1825 SWIGINTERNINLINE
double
1826 SWIG_As_double(PyObject
* obj
)
1829 if (!SWIG_AsVal_double(obj
, &v
)) {
1831 this is needed to make valgrind/purify happier.
1833 memset((void*)&v
, 0, sizeof(double));
1839 SWIGINTERNINLINE
int
1840 SWIG_Check_double(PyObject
* obj
)
1842 return SWIG_AsVal_double(obj
, (double*)0);
1846 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1847 #define SWIG_From_double PyFloat_FromDouble
1850 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1851 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1852 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1853 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1854 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1855 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1857 /*@/opt/swig/share/swig/1.3.27/python/pymacros.swg,72,SWIG_define@*/
1858 #define SWIG_From_long PyInt_FromLong
1863 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1865 self
->GetFieldRect(i
, r
);
1868 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1869 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1870 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1872 #include <wx/popupwin.h>
1875 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1878 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1879 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1880 : wxPopupTransientWindow(parent
, style
) {}
1882 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1883 DEC_PYCALLBACK__(OnDismiss
);
1884 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1889 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1890 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1891 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1894 #include <wx/tipwin.h>
1896 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1897 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1900 #include <wx/tipwin.h>
1903 #include <wx/vscroll.h>
1906 class wxPyVScrolledWindow
: public wxVScrolledWindow
1908 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
1910 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1912 wxPyVScrolledWindow(wxWindow
*parent
,
1913 wxWindowID id
= wxID_ANY
,
1914 const wxPoint
& pos
= wxDefaultPosition
,
1915 const wxSize
& size
= wxDefaultSize
,
1917 const wxString
& name
= wxPyPanelNameStr
)
1918 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1921 // Overridable virtuals
1923 // this function must be overridden in the derived class and it should
1924 // return the height of the given line in pixels
1925 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1928 // this function doesn't have to be overridden but it may be useful to do
1929 // it if calculating the lines heights is a relatively expensive operation
1930 // as it gives the user code a possibility to calculate several of them at
1933 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1934 // shouldn't rely on the latter being called for all lines in the interval
1935 // specified here. It is also possible that OnGetLineHeight() will be
1936 // called for the lines outside of this interval, so this is really just a
1937 // hint, not a promise.
1939 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1941 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1944 // when the number of lines changes, we try to estimate the total height
1945 // of all lines which is a rather expensive operation in terms of lines
1946 // access, so if the user code may estimate the average height
1947 // better/faster than we do, it should override this function to implement
1950 // this function should return the best guess for the total height it may
1952 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1955 // Also expose some other interesting protected methods
1958 // find the index of the line we need to show at the top of the window such
1959 // that the last (fully or partially) visible line is the given one
1960 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1961 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1963 // get the total height of the lines between lineMin (inclusive) and
1964 // lineMax (exclusive)
1965 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1966 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1972 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1974 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1975 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1976 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1980 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1983 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1984 SWIG_Python_TypeError("unsigned number", obj
);
1987 *val
= (unsigned long)v
;
1992 SWIGINTERNINLINE
unsigned long
1993 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1996 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1998 this is needed to make valgrind/purify happier.
2000 memset((void*)&v
, 0, sizeof(unsigned long));
2006 SWIGINTERNINLINE
int
2007 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2009 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2013 SWIGINTERNINLINE PyObject
*
2014 SWIG_From_unsigned_SS_long(unsigned long value
)
2016 return (value
> LONG_MAX
) ?
2017 PyLong_FromUnsignedLong(value
)
2018 : PyInt_FromLong(static_cast<long >(value
));
2022 #include <wx/vlbox.h>
2024 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2026 class wxPyVListBox
: public wxVListBox
2028 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2030 wxPyVListBox() : wxVListBox() {}
2032 wxPyVListBox(wxWindow
*parent
,
2033 wxWindowID id
= wxID_ANY
,
2034 const wxPoint
& pos
= wxDefaultPosition
,
2035 const wxSize
& size
= wxDefaultSize
,
2037 const wxString
& name
= wxPyVListBoxNameStr
)
2038 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2041 // Overridable virtuals
2043 // the derived class must implement this function to actually draw the item
2044 // with the given index on the provided DC
2045 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2046 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2049 // the derived class must implement this method to return the height of the
2051 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2052 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
2055 // this method may be used to draw separators between the lines; note that
2056 // the rectangle may be modified, typically to deflate it a bit before
2057 // passing to OnDrawItem()
2059 // the base class version doesn't do anything
2060 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2061 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
2064 // this method is used to draw the items background and, maybe, a border
2067 // the base class version implements a reasonable default behaviour which
2068 // consists in drawing the selected item with the standard background
2069 // colour and drawing a border around the item if it is either selected or
2071 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2072 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
2078 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
2080 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
2081 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
2082 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
2083 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
2086 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
2087 unsigned long cookie
= 0;
2088 int selected
= self
->GetFirstSelected(cookie
);
2089 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2090 PyObject
* tup
= PyTuple_New(2);
2091 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2092 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2093 wxPyEndBlockThreads(blocked
);
2096 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
2097 int selected
= self
->GetNextSelected(cookie
);
2098 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2099 PyObject
* tup
= PyTuple_New(2);
2100 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2101 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2102 wxPyEndBlockThreads(blocked
);
2106 #include <wx/htmllbox.h>
2109 class wxPyHtmlListBox
: public wxHtmlListBox
2111 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
2113 wxPyHtmlListBox() : wxHtmlListBox() {}
2115 wxPyHtmlListBox(wxWindow
*parent
,
2116 wxWindowID id
= wxID_ANY
,
2117 const wxPoint
& pos
= wxDefaultPosition
,
2118 const wxSize
& size
= wxDefaultSize
,
2120 const wxString
& name
= wxPyVListBoxNameStr
)
2121 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
2124 // Overridable virtuals
2126 // this method must be implemented in the derived class and should return
2127 // the body (i.e. without <html>) of the HTML for the given item
2128 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
2130 // this function may be overridden to decorate HTML returned by OnGetItem()
2131 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
2134 // // this method allows to customize the selection appearance: it may be used
2135 // // to specify the colour of the text which normally has the given colour
2136 // // colFg when it is inside the selection
2138 // // by default, the original colour is not used at all and all text has the
2139 // // same (default for this system) colour inside selection
2140 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2142 // // this is the same as GetSelectedTextColour() but allows to customize the
2143 // // background colour -- this is even more rarely used as you can change it
2144 // // globally using SetSelectionBackground()
2145 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2152 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
2154 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
2155 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2161 #ifndef wxHAS_TASK_BAR_ICON
2162 // implement dummy classes for platforms that don't have it
2164 class wxTaskBarIcon
: public wxEvtHandler
2167 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2171 class wxTaskBarIconEvent
: public wxEvent
2174 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2175 { wxPyRaiseNotImplemented(); }
2176 virtual wxEvent
* Clone() const { return NULL
; }
2177 bool IsOk() const { return false; }
2178 bool IsIconInstalled() const { return false; }
2179 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2180 bool RemoveIcon() { return false; }
2181 bool PopupMenu(wxMenu
*menu
) { return false; }
2185 wxEVT_TASKBAR_MOVE
= 0,
2186 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2187 wxEVT_TASKBAR_LEFT_UP
= 0,
2188 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2189 wxEVT_TASKBAR_RIGHT_UP
= 0,
2190 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2191 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2196 // Otherwise make a class that can virtualize CreatePopupMenu
2197 class wxPyTaskBarIcon
: public wxTaskBarIcon
2199 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
2201 wxPyTaskBarIcon() : wxTaskBarIcon()
2204 wxMenu
* CreatePopupMenu() {
2205 wxMenu
*rval
= NULL
;
2207 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2208 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2211 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2213 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2218 wxPyEndBlockThreads(blocked
);
2220 rval
= wxTaskBarIcon::CreatePopupMenu();
2227 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2231 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2235 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2236 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2237 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2238 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2239 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2240 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2241 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2243 self
->GetFilenames(arr
);
2244 return wxArrayString2PyList_helper(arr
);
2246 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2248 self
->GetPaths(arr
);
2249 return wxArrayString2PyList_helper(arr
);
2251 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2252 return wxArrayInt2PyList_helper(self
->GetSelections());
2254 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
){
2255 return new wxSingleChoiceDialog(parent
, message
, caption
,
2256 choices
, choices_array
, NULL
, style
, pos
);
2258 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2262 // C++ version of Python aware wxWindow
2263 class wxPyWindow
: public wxWindow
2265 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2267 wxPyWindow() : wxWindow() {}
2268 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2269 const wxPoint
& pos
= wxDefaultPosition
,
2270 const wxSize
& size
= wxDefaultSize
,
2272 const wxString
& name
= wxPyPanelNameStr
)
2273 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2275 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2277 bool DoEraseBackground(wxDC
* dc
) {
2279 return wxWindow::DoEraseBackground(dc
->GetHDC());
2281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2299 DEC_PYCALLBACK__(InitDialog
);
2300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2302 DEC_PYCALLBACK_BOOL_(Validate
);
2304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2321 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2323 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2324 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2332 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2335 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2336 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2340 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2342 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2347 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2348 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2352 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2354 // C++ version of Python aware wxPanel
2355 class wxPyPanel
: public wxPanel
2357 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2359 wxPyPanel() : wxPanel() {}
2360 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2361 const wxPoint
& pos
= wxDefaultPosition
,
2362 const wxSize
& size
= wxDefaultSize
,
2364 const wxString
& name
= wxPyPanelNameStr
)
2365 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2367 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2368 bool DoEraseBackground(wxDC
* dc
) {
2370 return wxWindow::DoEraseBackground(dc
->GetHDC());
2372 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2380 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2391 DEC_PYCALLBACK__(InitDialog
);
2392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2394 DEC_PYCALLBACK_BOOL_(Validate
);
2396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2398 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2408 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2427 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2439 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2444 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2446 // C++ version of Python aware wxScrolledWindow
2447 class wxPyScrolledWindow
: public wxScrolledWindow
2449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2451 wxPyScrolledWindow() : wxScrolledWindow() {}
2452 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2453 const wxPoint
& pos
= wxDefaultPosition
,
2454 const wxSize
& size
= wxDefaultSize
,
2456 const wxString
& name
= wxPyPanelNameStr
)
2457 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2459 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2460 bool DoEraseBackground(wxDC
* dc
) {
2462 return wxWindow::DoEraseBackground(dc
->GetHDC());
2464 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2471 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2482 DEC_PYCALLBACK__(InitDialog
);
2483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2485 DEC_PYCALLBACK_BOOL_(Validate
);
2487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2489 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2499 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2518 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2538 #include "wx/wxPython/printfw.h"
2541 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2542 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2543 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2545 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2546 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2547 self
->GetPrivDataLen());
2548 wxPyEndBlockThreads(blocked
);
2551 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2552 if (! PyString_Check(data
)) {
2553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2554 "Expected string object"));
2558 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2559 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2560 wxPyEndBlockThreads(blocked
);
2564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2566 // Since this one would be tough and ugly to do with the Macros...
2567 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2568 bool hadErr
= false;
2571 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2572 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2573 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2574 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2577 val
= PyTuple_GetItem(result
, 0);
2578 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2581 val
= PyTuple_GetItem(result
, 1);
2582 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2585 val
= PyTuple_GetItem(result
, 2);
2586 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2589 val
= PyTuple_GetItem(result
, 3);
2590 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2597 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2602 wxPyEndBlockThreads(blocked
);
2604 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
2625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2631 PyObject* win = wxPyMake_wxObject(a,false); \
2632 PyObject* dc = wxPyMake_wxObject(&b,false); \
2633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2637 wxPyEndBlockThreads(blocked); \
2639 rval = PCLASS::CBNAME(a, b); \
2646 class wxPyPrintPreview
: public wxPrintPreview
2648 DECLARE_CLASS(wxPyPrintPreview
)
2650 wxPyPrintPreview(wxPyPrintout
* printout
,
2651 wxPyPrintout
* printoutForPrinting
,
2652 wxPrintDialogData
* data
=NULL
)
2653 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2655 wxPyPrintPreview(wxPyPrintout
* printout
,
2656 wxPyPrintout
* printoutForPrinting
,
2658 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2664 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2665 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2666 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2667 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2672 // Stupid renamed classes... Fix this in 2.5...
2673 #if defined(__WXMSW__)
2674 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2675 #elif defined(__WXMAC__)
2676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2681 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2685 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2686 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2687 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2690 class wxPyPreviewFrame
: public wxPreviewFrame
2692 DECLARE_CLASS(wxPyPreviewFrame
)
2694 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2695 const wxString
& title
,
2696 const wxPoint
& pos
= wxDefaultPosition
,
2697 const wxSize
& size
= wxDefaultSize
,
2698 long style
= wxDEFAULT_FRAME_STYLE
,
2699 const wxString
& name
= wxPyFrameNameStr
)
2700 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2703 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2704 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2706 DEC_PYCALLBACK_VOID_(Initialize
);
2707 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2708 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2713 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2720 class wxPyPreviewControlBar
: public wxPreviewControlBar
2722 DECLARE_CLASS(wxPyPreviewControlBar
)
2724 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2727 const wxPoint
& pos
= wxDefaultPosition
,
2728 const wxSize
& size
= wxDefaultSize
,
2730 const wxString
& name
= wxPyPanelNameStr
)
2731 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2734 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2736 DEC_PYCALLBACK_VOID_(CreateButtons
);
2737 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2742 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2749 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
= NULL
;
2751 wxWindow
*arg1
= (wxWindow
*) 0 ;
2752 int arg2
= (int) (int)-1 ;
2753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2757 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2758 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2759 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2763 bool temp6
= false ;
2764 PyObject
* obj0
= 0 ;
2765 PyObject
* obj1
= 0 ;
2766 PyObject
* obj2
= 0 ;
2767 PyObject
* obj3
= 0 ;
2768 PyObject
* obj4
= 0 ;
2769 PyObject
* obj5
= 0 ;
2771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2776 if (SWIG_arg_fail(1)) SWIG_fail
;
2779 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
2780 if (SWIG_arg_fail(2)) SWIG_fail
;
2786 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2792 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2797 arg5
= static_cast<long >(SWIG_As_long(obj4
));
2798 if (SWIG_arg_fail(5)) SWIG_fail
;
2803 arg6
= wxString_in_helper(obj5
);
2804 if (arg6
== NULL
) SWIG_fail
;
2809 if (!wxPyCheckForApp()) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2831 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
= NULL
;
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2840 if (!wxPyCheckForApp()) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 result
= (wxPanel
*)new wxPanel();
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2854 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
= NULL
;
2856 wxPanel
*arg1
= (wxPanel
*) 0 ;
2857 wxWindow
*arg2
= (wxWindow
*) 0 ;
2858 int arg3
= (int) (int)-1 ;
2859 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2860 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2861 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2862 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2863 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2864 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2865 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2869 bool temp7
= false ;
2870 PyObject
* obj0
= 0 ;
2871 PyObject
* obj1
= 0 ;
2872 PyObject
* obj2
= 0 ;
2873 PyObject
* obj3
= 0 ;
2874 PyObject
* obj4
= 0 ;
2875 PyObject
* obj5
= 0 ;
2876 PyObject
* obj6
= 0 ;
2878 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2883 if (SWIG_arg_fail(1)) SWIG_fail
;
2884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2885 if (SWIG_arg_fail(2)) SWIG_fail
;
2888 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
2889 if (SWIG_arg_fail(3)) SWIG_fail
;
2895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2906 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2907 if (SWIG_arg_fail(6)) SWIG_fail
;
2912 arg7
= wxString_in_helper(obj6
);
2913 if (arg7
== NULL
) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2941 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2942 PyObject
*resultobj
= NULL
;
2943 wxPanel
*arg1
= (wxPanel
*) 0 ;
2944 PyObject
* obj0
= 0 ;
2946 (char *) "self", NULL
2949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2951 if (SWIG_arg_fail(1)) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 (arg1
)->InitDialog();
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
= NULL
;
2968 wxPanel
*arg1
= (wxPanel
*) 0 ;
2969 PyObject
* obj0
= 0 ;
2971 (char *) "self", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2976 if (SWIG_arg_fail(1)) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2984 Py_INCREF(Py_None
); resultobj
= Py_None
;
2991 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
= NULL
;
2993 wxPanel
*arg1
= (wxPanel
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2996 (char *) "self", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
3000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
3001 if (SWIG_arg_fail(1)) SWIG_fail
;
3003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3004 (arg1
)->SetFocusIgnoringChildren();
3006 wxPyEndAllowThreads(__tstate
);
3007 if (PyErr_Occurred()) SWIG_fail
;
3009 Py_INCREF(Py_None
); resultobj
= Py_None
;
3016 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
*resultobj
= NULL
;
3018 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3019 wxVisualAttributes result
;
3020 PyObject
* obj0
= 0 ;
3022 (char *) "variant", NULL
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3028 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3029 if (SWIG_arg_fail(1)) SWIG_fail
;
3033 if (!wxPyCheckForApp()) SWIG_fail
;
3034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3035 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3037 wxPyEndAllowThreads(__tstate
);
3038 if (PyErr_Occurred()) SWIG_fail
;
3041 wxVisualAttributes
* resultptr
;
3042 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3051 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
3053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3054 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
3056 return Py_BuildValue((char *)"");
3058 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3059 PyObject
*resultobj
= NULL
;
3060 wxWindow
*arg1
= (wxWindow
*) 0 ;
3061 int arg2
= (int) (int)-1 ;
3062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3066 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3067 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3068 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3069 wxScrolledWindow
*result
;
3072 bool temp6
= false ;
3073 PyObject
* obj0
= 0 ;
3074 PyObject
* obj1
= 0 ;
3075 PyObject
* obj2
= 0 ;
3076 PyObject
* obj3
= 0 ;
3077 PyObject
* obj4
= 0 ;
3078 PyObject
* obj5
= 0 ;
3080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3085 if (SWIG_arg_fail(1)) SWIG_fail
;
3088 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
3089 if (SWIG_arg_fail(2)) SWIG_fail
;
3095 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3101 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3106 arg5
= static_cast<long >(SWIG_As_long(obj4
));
3107 if (SWIG_arg_fail(5)) SWIG_fail
;
3112 arg6
= wxString_in_helper(obj5
);
3113 if (arg6
== NULL
) SWIG_fail
;
3118 if (!wxPyCheckForApp()) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3140 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3141 PyObject
*resultobj
= NULL
;
3142 wxScrolledWindow
*result
;
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
3149 if (!wxPyCheckForApp()) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3163 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
= NULL
;
3165 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3166 wxWindow
*arg2
= (wxWindow
*) 0 ;
3167 int arg3
= (int) (int)-1 ;
3168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3172 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3173 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3178 bool temp7
= false ;
3179 PyObject
* obj0
= 0 ;
3180 PyObject
* obj1
= 0 ;
3181 PyObject
* obj2
= 0 ;
3182 PyObject
* obj3
= 0 ;
3183 PyObject
* obj4
= 0 ;
3184 PyObject
* obj5
= 0 ;
3185 PyObject
* obj6
= 0 ;
3187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3192 if (SWIG_arg_fail(1)) SWIG_fail
;
3193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3194 if (SWIG_arg_fail(2)) SWIG_fail
;
3197 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
3198 if (SWIG_arg_fail(3)) SWIG_fail
;
3204 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3210 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3215 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3216 if (SWIG_arg_fail(6)) SWIG_fail
;
3221 arg7
= wxString_in_helper(obj6
);
3222 if (arg7
== NULL
) SWIG_fail
;
3227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3230 wxPyEndAllowThreads(__tstate
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3250 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
= NULL
;
3252 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3257 int arg6
= (int) 0 ;
3258 int arg7
= (int) 0 ;
3259 bool arg8
= (bool) false ;
3260 PyObject
* obj0
= 0 ;
3261 PyObject
* obj1
= 0 ;
3262 PyObject
* obj2
= 0 ;
3263 PyObject
* obj3
= 0 ;
3264 PyObject
* obj4
= 0 ;
3265 PyObject
* obj5
= 0 ;
3266 PyObject
* obj6
= 0 ;
3267 PyObject
* obj7
= 0 ;
3269 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3274 if (SWIG_arg_fail(1)) SWIG_fail
;
3276 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3277 if (SWIG_arg_fail(2)) SWIG_fail
;
3280 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3281 if (SWIG_arg_fail(3)) SWIG_fail
;
3284 arg4
= static_cast<int >(SWIG_As_int(obj3
));
3285 if (SWIG_arg_fail(4)) SWIG_fail
;
3288 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3289 if (SWIG_arg_fail(5)) SWIG_fail
;
3293 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3294 if (SWIG_arg_fail(6)) SWIG_fail
;
3299 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3300 if (SWIG_arg_fail(7)) SWIG_fail
;
3305 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3306 if (SWIG_arg_fail(8)) SWIG_fail
;
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 Py_INCREF(Py_None
); resultobj
= Py_None
;
3323 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3324 PyObject
*resultobj
= NULL
;
3325 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3328 PyObject
* obj0
= 0 ;
3329 PyObject
* obj1
= 0 ;
3330 PyObject
* obj2
= 0 ;
3332 (char *) "self",(char *) "x",(char *) "y", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3337 if (SWIG_arg_fail(1)) SWIG_fail
;
3339 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3340 if (SWIG_arg_fail(2)) SWIG_fail
;
3343 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3344 if (SWIG_arg_fail(3)) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 (arg1
)->Scroll(arg2
,arg3
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 Py_INCREF(Py_None
); resultobj
= Py_None
;
3360 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
= NULL
;
3362 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3366 PyObject
* obj1
= 0 ;
3368 (char *) "self",(char *) "orient", NULL
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3373 if (SWIG_arg_fail(1)) SWIG_fail
;
3375 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3376 if (SWIG_arg_fail(2)) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= SWIG_From_int(static_cast<int >(result
));
3394 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
= NULL
;
3396 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3401 PyObject
* obj2
= 0 ;
3403 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3408 if (SWIG_arg_fail(1)) SWIG_fail
;
3410 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3411 if (SWIG_arg_fail(2)) SWIG_fail
;
3414 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3415 if (SWIG_arg_fail(3)) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
= NULL
;
3433 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3437 PyObject
* obj1
= 0 ;
3438 PyObject
* obj2
= 0 ;
3440 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3445 if (SWIG_arg_fail(1)) SWIG_fail
;
3447 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3448 if (SWIG_arg_fail(2)) SWIG_fail
;
3451 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3452 if (SWIG_arg_fail(3)) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 (arg1
)->SetScrollRate(arg2
,arg3
);
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3461 Py_INCREF(Py_None
); resultobj
= Py_None
;
3468 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3469 PyObject
*resultobj
= NULL
;
3470 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3471 int *arg2
= (int *) 0 ;
3472 int *arg3
= (int *) 0 ;
3477 PyObject
* obj0
= 0 ;
3479 (char *) "self", NULL
3482 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3483 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3486 if (SWIG_arg_fail(1)) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3495 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3496 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3497 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3498 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3505 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3506 PyObject
*resultobj
= NULL
;
3507 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3510 PyObject
* obj0
= 0 ;
3511 PyObject
* obj1
= 0 ;
3512 PyObject
* obj2
= 0 ;
3514 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3519 if (SWIG_arg_fail(1)) SWIG_fail
;
3521 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3522 if (SWIG_arg_fail(2)) SWIG_fail
;
3525 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
3526 if (SWIG_arg_fail(3)) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 (arg1
)->EnableScrolling(arg2
,arg3
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 Py_INCREF(Py_None
); resultobj
= Py_None
;
3542 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
= NULL
;
3544 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3545 int *arg2
= (int *) 0 ;
3546 int *arg3
= (int *) 0 ;
3551 PyObject
* obj0
= 0 ;
3553 (char *) "self", NULL
3556 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3557 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3560 if (SWIG_arg_fail(1)) SWIG_fail
;
3562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3563 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3565 wxPyEndAllowThreads(__tstate
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3568 Py_INCREF(Py_None
); resultobj
= Py_None
;
3569 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3570 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3571 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3572 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3579 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
= NULL
;
3581 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3586 PyObject
* obj2
= 0 ;
3588 (char *) "self",(char *) "xs",(char *) "ys", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3593 if (SWIG_arg_fail(1)) SWIG_fail
;
3595 arg2
= static_cast<double >(SWIG_As_double(obj1
));
3596 if (SWIG_arg_fail(2)) SWIG_fail
;
3599 arg3
= static_cast<double >(SWIG_As_double(obj2
));
3600 if (SWIG_arg_fail(3)) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 (arg1
)->SetScale(arg2
,arg3
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 Py_INCREF(Py_None
); resultobj
= Py_None
;
3616 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
= NULL
;
3618 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3620 PyObject
* obj0
= 0 ;
3622 (char *) "self", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= SWIG_From_double(static_cast<double >(result
));
3644 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
= NULL
;
3646 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3655 if (SWIG_arg_fail(1)) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= SWIG_From_double(static_cast<double >(result
));
3672 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3673 PyObject
*resultobj
= NULL
;
3674 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3678 PyObject
* obj0
= 0 ;
3679 PyObject
* obj1
= 0 ;
3681 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3683 if (SWIG_arg_fail(1)) SWIG_fail
;
3686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 wxPoint
* resultptr
;
3697 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3706 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3707 PyObject
*resultobj
= NULL
;
3708 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3711 int *arg4
= (int *) 0 ;
3712 int *arg5
= (int *) 0 ;
3717 PyObject
* obj0
= 0 ;
3718 PyObject
* obj1
= 0 ;
3719 PyObject
* obj2
= 0 ;
3721 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3722 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3723 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3725 if (SWIG_arg_fail(1)) SWIG_fail
;
3727 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3728 if (SWIG_arg_fail(2)) SWIG_fail
;
3731 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3732 if (SWIG_arg_fail(3)) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3743 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3744 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3745 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3752 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3757 argc
= PyObject_Length(args
);
3758 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3759 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3765 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3774 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3777 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3785 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3793 _v
= SWIG_Check_int(argv
[1]);
3795 _v
= SWIG_Check_int(argv
[2]);
3797 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3803 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3808 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3809 PyObject
*resultobj
= NULL
;
3810 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3817 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3819 if (SWIG_arg_fail(1)) SWIG_fail
;
3822 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3826 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3828 wxPyEndAllowThreads(__tstate
);
3829 if (PyErr_Occurred()) SWIG_fail
;
3832 wxPoint
* resultptr
;
3833 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3842 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3843 PyObject
*resultobj
= NULL
;
3844 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3847 int *arg4
= (int *) 0 ;
3848 int *arg5
= (int *) 0 ;
3853 PyObject
* obj0
= 0 ;
3854 PyObject
* obj1
= 0 ;
3855 PyObject
* obj2
= 0 ;
3857 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3858 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3859 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3861 if (SWIG_arg_fail(1)) SWIG_fail
;
3863 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3864 if (SWIG_arg_fail(2)) SWIG_fail
;
3867 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3868 if (SWIG_arg_fail(3)) SWIG_fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3877 Py_INCREF(Py_None
); resultobj
= Py_None
;
3878 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3879 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3880 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3881 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3888 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3893 argc
= PyObject_Length(args
);
3894 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3895 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3901 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3910 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3913 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3921 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3929 _v
= SWIG_Check_int(argv
[1]);
3931 _v
= SWIG_Check_int(argv
[2]);
3933 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3939 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3944 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
= NULL
;
3946 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "self", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 (arg1
)->AdjustScrollbars();
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3962 Py_INCREF(Py_None
); resultobj
= Py_None
;
3969 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
= NULL
;
3971 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3972 wxScrollWinEvent
*arg2
= 0 ;
3974 PyObject
* obj0
= 0 ;
3975 PyObject
* obj1
= 0 ;
3977 (char *) "self",(char *) "event", NULL
3980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3982 if (SWIG_arg_fail(1)) SWIG_fail
;
3984 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3985 if (SWIG_arg_fail(2)) SWIG_fail
;
3987 SWIG_null_ref("wxScrollWinEvent");
3989 if (SWIG_arg_fail(2)) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_From_int(static_cast<int >(result
));
4007 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
= NULL
;
4009 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4010 wxWindow
*arg2
= (wxWindow
*) 0 ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "self",(char *) "target", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
4018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4019 if (SWIG_arg_fail(1)) SWIG_fail
;
4020 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4021 if (SWIG_arg_fail(2)) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 (arg1
)->SetTargetWindow(arg2
);
4026 wxPyEndAllowThreads(__tstate
);
4027 if (PyErr_Occurred()) SWIG_fail
;
4029 Py_INCREF(Py_None
); resultobj
= Py_None
;
4036 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
= NULL
;
4038 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4040 PyObject
* obj0
= 0 ;
4042 (char *) "self", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
4046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4047 if (SWIG_arg_fail(1)) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= wxPyMake_wxObject(result
, 0);
4064 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
*resultobj
= NULL
;
4066 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4068 PyObject
* obj0
= 0 ;
4069 PyObject
* obj1
= 0 ;
4071 (char *) "self",(char *) "dc", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4076 if (SWIG_arg_fail(1)) SWIG_fail
;
4078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4079 if (SWIG_arg_fail(2)) SWIG_fail
;
4081 SWIG_null_ref("wxDC");
4083 if (SWIG_arg_fail(2)) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 (arg1
)->DoPrepareDC(*arg2
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 Py_INCREF(Py_None
); resultobj
= Py_None
;
4099 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
= NULL
;
4101 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4102 wxVisualAttributes result
;
4103 PyObject
* obj0
= 0 ;
4105 (char *) "variant", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4111 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4112 if (SWIG_arg_fail(1)) SWIG_fail
;
4116 if (!wxPyCheckForApp()) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 wxVisualAttributes
* resultptr
;
4125 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4134 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4137 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4139 return Py_BuildValue((char *)"");
4141 static int _wrap_FrameNameStr_set(PyObject
*) {
4142 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4147 static PyObject
*_wrap_FrameNameStr_get(void) {
4148 PyObject
*pyobj
= NULL
;
4152 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4154 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4161 static int _wrap_DialogNameStr_set(PyObject
*) {
4162 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4167 static PyObject
*_wrap_DialogNameStr_get(void) {
4168 PyObject
*pyobj
= NULL
;
4172 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4174 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4181 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4182 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4187 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4188 PyObject
*pyobj
= NULL
;
4192 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4194 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4201 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4202 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4207 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4208 PyObject
*pyobj
= NULL
;
4212 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4214 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4221 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
= NULL
;
4223 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4224 bool arg2
= (bool) true ;
4225 PyObject
* obj0
= 0 ;
4226 PyObject
* obj1
= 0 ;
4228 (char *) "self",(char *) "maximize", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4233 if (SWIG_arg_fail(1)) SWIG_fail
;
4236 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4237 if (SWIG_arg_fail(2)) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 (arg1
)->Maximize(arg2
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 Py_INCREF(Py_None
); resultobj
= Py_None
;
4254 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
= NULL
;
4256 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4257 PyObject
* obj0
= 0 ;
4259 (char *) "self", NULL
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4264 if (SWIG_arg_fail(1)) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 Py_INCREF(Py_None
); resultobj
= Py_None
;
4279 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
= NULL
;
4281 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4282 bool arg2
= (bool) true ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4286 (char *) "self",(char *) "iconize", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4291 if (SWIG_arg_fail(1)) SWIG_fail
;
4294 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4295 if (SWIG_arg_fail(2)) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 (arg1
)->Iconize(arg2
);
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 Py_INCREF(Py_None
); resultobj
= Py_None
;
4312 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
= NULL
;
4314 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4318 (char *) "self", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4323 if (SWIG_arg_fail(1)) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4340 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
= NULL
;
4342 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4344 PyObject
* obj0
= 0 ;
4346 (char *) "self", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4351 if (SWIG_arg_fail(1)) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4368 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
= NULL
;
4370 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4374 (char *) "self", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4379 if (SWIG_arg_fail(1)) SWIG_fail
;
4381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4382 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4389 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4398 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
= NULL
;
4400 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4403 PyObject
* obj1
= 0 ;
4405 (char *) "self",(char *) "icon", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4410 if (SWIG_arg_fail(1)) SWIG_fail
;
4412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4413 if (SWIG_arg_fail(2)) SWIG_fail
;
4415 SWIG_null_ref("wxIcon");
4417 if (SWIG_arg_fail(2)) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 Py_INCREF(Py_None
); resultobj
= Py_None
;
4433 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
= NULL
;
4435 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4436 wxIconBundle
*arg2
= 0 ;
4437 PyObject
* obj0
= 0 ;
4438 PyObject
* obj1
= 0 ;
4440 (char *) "self",(char *) "icons", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4445 if (SWIG_arg_fail(1)) SWIG_fail
;
4447 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4448 if (SWIG_arg_fail(2)) SWIG_fail
;
4450 SWIG_null_ref("wxIconBundle");
4452 if (SWIG_arg_fail(2)) SWIG_fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 Py_INCREF(Py_None
); resultobj
= Py_None
;
4468 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
= NULL
;
4470 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4472 long arg3
= (long) wxFULLSCREEN_ALL
;
4474 PyObject
* obj0
= 0 ;
4475 PyObject
* obj1
= 0 ;
4476 PyObject
* obj2
= 0 ;
4478 (char *) "self",(char *) "show",(char *) "style", NULL
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4483 if (SWIG_arg_fail(1)) SWIG_fail
;
4485 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4486 if (SWIG_arg_fail(2)) SWIG_fail
;
4490 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4491 if (SWIG_arg_fail(3)) SWIG_fail
;
4495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4496 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4498 wxPyEndAllowThreads(__tstate
);
4499 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4510 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
= NULL
;
4512 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4514 PyObject
* obj0
= 0 ;
4516 (char *) "self", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4521 if (SWIG_arg_fail(1)) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4538 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
= NULL
;
4540 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4541 wxString
*arg2
= 0 ;
4542 bool temp2
= false ;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4546 (char *) "self",(char *) "title", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4551 if (SWIG_arg_fail(1)) SWIG_fail
;
4553 arg2
= wxString_in_helper(obj1
);
4554 if (arg2
== NULL
) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 (arg1
)->SetTitle((wxString
const &)*arg2
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4564 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
= NULL
;
4581 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4590 if (SWIG_arg_fail(1)) SWIG_fail
;
4592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4595 wxPyEndAllowThreads(__tstate
);
4596 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4611 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
= NULL
;
4613 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4614 wxRegion
*arg2
= 0 ;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4619 (char *) "self",(char *) "region", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4624 if (SWIG_arg_fail(1)) SWIG_fail
;
4626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4627 if (SWIG_arg_fail(2)) SWIG_fail
;
4629 SWIG_null_ref("wxRegion");
4631 if (SWIG_arg_fail(2)) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4649 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
= NULL
;
4651 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4652 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4656 (char *) "self",(char *) "flags", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4661 if (SWIG_arg_fail(1)) SWIG_fail
;
4664 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4665 if (SWIG_arg_fail(2)) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 (arg1
)->RequestUserAttention(arg2
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 Py_INCREF(Py_None
); resultobj
= Py_None
;
4682 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
= NULL
;
4684 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4686 PyObject
* obj0
= 0 ;
4688 (char *) "self", NULL
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4693 if (SWIG_arg_fail(1)) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (bool)(arg1
)->IsActive();
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4710 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
= NULL
;
4712 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4717 (char *) "self",(char *) "on", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4722 if (SWIG_arg_fail(1)) SWIG_fail
;
4724 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4725 if (SWIG_arg_fail(2)) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 Py_INCREF(Py_None
); resultobj
= Py_None
;
4741 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
= NULL
;
4743 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4747 (char *) "self", NULL
4750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4752 if (SWIG_arg_fail(1)) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4769 static PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
= NULL
;
4771 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4772 int arg2
= (int) wxBOTH
;
4773 PyObject
* obj0
= 0 ;
4774 PyObject
* obj1
= 0 ;
4776 (char *) "self",(char *) "dir", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
4780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4781 if (SWIG_arg_fail(1)) SWIG_fail
;
4784 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4785 if (SWIG_arg_fail(2)) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 (arg1
)->CenterOnScreen(arg2
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 Py_INCREF(Py_None
); resultobj
= Py_None
;
4802 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4805 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4807 return Py_BuildValue((char *)"");
4809 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
= NULL
;
4811 wxWindow
*arg1
= (wxWindow
*) 0 ;
4812 int arg2
= (int) (int)-1 ;
4813 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4814 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4819 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4820 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4823 bool temp3
= false ;
4826 bool temp7
= false ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4829 PyObject
* obj2
= 0 ;
4830 PyObject
* obj3
= 0 ;
4831 PyObject
* obj4
= 0 ;
4832 PyObject
* obj5
= 0 ;
4833 PyObject
* obj6
= 0 ;
4835 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4840 if (SWIG_arg_fail(1)) SWIG_fail
;
4843 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4844 if (SWIG_arg_fail(2)) SWIG_fail
;
4849 arg3
= wxString_in_helper(obj2
);
4850 if (arg3
== NULL
) SWIG_fail
;
4857 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4863 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4868 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4869 if (SWIG_arg_fail(6)) SWIG_fail
;
4874 arg7
= wxString_in_helper(obj6
);
4875 if (arg7
== NULL
) SWIG_fail
;
4880 if (!wxPyCheckForApp()) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4910 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
= NULL
;
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4919 if (!wxPyCheckForApp()) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (wxFrame
*)new wxFrame();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4933 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
= NULL
;
4935 wxFrame
*arg1
= (wxFrame
*) 0 ;
4936 wxWindow
*arg2
= (wxWindow
*) 0 ;
4937 int arg3
= (int) (int)-1 ;
4938 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4939 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4940 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4941 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4942 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4943 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4944 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4945 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4946 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4948 bool temp4
= false ;
4951 bool temp8
= false ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4954 PyObject
* obj2
= 0 ;
4955 PyObject
* obj3
= 0 ;
4956 PyObject
* obj4
= 0 ;
4957 PyObject
* obj5
= 0 ;
4958 PyObject
* obj6
= 0 ;
4959 PyObject
* obj7
= 0 ;
4961 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4966 if (SWIG_arg_fail(1)) SWIG_fail
;
4967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4968 if (SWIG_arg_fail(2)) SWIG_fail
;
4971 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
4972 if (SWIG_arg_fail(3)) SWIG_fail
;
4977 arg4
= wxString_in_helper(obj3
);
4978 if (arg4
== NULL
) SWIG_fail
;
4985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4996 arg7
= static_cast<long >(SWIG_As_long(obj6
));
4997 if (SWIG_arg_fail(7)) SWIG_fail
;
5002 arg8
= wxString_in_helper(obj7
);
5003 if (arg8
== NULL
) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5039 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
= NULL
;
5041 wxFrame
*arg1
= (wxFrame
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5050 if (SWIG_arg_fail(1)) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5059 wxPoint
* resultptr
;
5060 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5069 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= NULL
;
5071 wxFrame
*arg1
= (wxFrame
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5079 if (SWIG_arg_fail(1)) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 (arg1
)->SendSizeEvent();
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 Py_INCREF(Py_None
); resultobj
= Py_None
;
5094 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
= NULL
;
5096 wxFrame
*arg1
= (wxFrame
*) 0 ;
5097 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5098 PyObject
* obj0
= 0 ;
5099 PyObject
* obj1
= 0 ;
5101 (char *) "self",(char *) "menubar", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5106 if (SWIG_arg_fail(1)) SWIG_fail
;
5107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5108 if (SWIG_arg_fail(2)) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 (arg1
)->SetMenuBar(arg2
);
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5116 Py_INCREF(Py_None
); resultobj
= Py_None
;
5123 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
*resultobj
= NULL
;
5125 wxFrame
*arg1
= (wxFrame
*) 0 ;
5127 PyObject
* obj0
= 0 ;
5129 (char *) "self", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5134 if (SWIG_arg_fail(1)) SWIG_fail
;
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5143 resultobj
= wxPyMake_wxObject(result
, 0);
5151 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5152 PyObject
*resultobj
= NULL
;
5153 wxFrame
*arg1
= (wxFrame
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5159 (char *) "self",(char *) "winid", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5167 if (SWIG_arg_fail(2)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5185 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= NULL
;
5187 wxFrame
*arg1
= (wxFrame
*) 0 ;
5188 int arg2
= (int) 1 ;
5189 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5190 int arg4
= (int) 0 ;
5191 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5192 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5193 wxStatusBar
*result
;
5194 bool temp5
= false ;
5195 PyObject
* obj0
= 0 ;
5196 PyObject
* obj1
= 0 ;
5197 PyObject
* obj2
= 0 ;
5198 PyObject
* obj3
= 0 ;
5199 PyObject
* obj4
= 0 ;
5201 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5206 if (SWIG_arg_fail(1)) SWIG_fail
;
5209 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5210 if (SWIG_arg_fail(2)) SWIG_fail
;
5215 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5216 if (SWIG_arg_fail(3)) SWIG_fail
;
5221 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5222 if (SWIG_arg_fail(4)) SWIG_fail
;
5227 arg5
= wxString_in_helper(obj4
);
5228 if (arg5
== NULL
) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5236 wxPyEndAllowThreads(__tstate
);
5237 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5256 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
= NULL
;
5258 wxFrame
*arg1
= (wxFrame
*) 0 ;
5259 wxStatusBar
*result
;
5260 PyObject
* obj0
= 0 ;
5262 (char *) "self", NULL
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5267 if (SWIG_arg_fail(1)) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5272 wxPyEndAllowThreads(__tstate
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5284 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
*resultobj
= NULL
;
5286 wxFrame
*arg1
= (wxFrame
*) 0 ;
5287 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5288 PyObject
* obj0
= 0 ;
5289 PyObject
* obj1
= 0 ;
5291 (char *) "self",(char *) "statBar", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5296 if (SWIG_arg_fail(1)) SWIG_fail
;
5297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5298 if (SWIG_arg_fail(2)) SWIG_fail
;
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 (arg1
)->SetStatusBar(arg2
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 Py_INCREF(Py_None
); resultobj
= Py_None
;
5313 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5314 PyObject
*resultobj
= NULL
;
5315 wxFrame
*arg1
= (wxFrame
*) 0 ;
5316 wxString
*arg2
= 0 ;
5317 int arg3
= (int) 0 ;
5318 bool temp2
= false ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 PyObject
* obj2
= 0 ;
5323 (char *) "self",(char *) "text",(char *) "number", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5328 if (SWIG_arg_fail(1)) SWIG_fail
;
5330 arg2
= wxString_in_helper(obj1
);
5331 if (arg2
== NULL
) SWIG_fail
;
5336 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5337 if (SWIG_arg_fail(3)) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 Py_INCREF(Py_None
); resultobj
= Py_None
;
5362 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
= NULL
;
5364 wxFrame
*arg1
= (wxFrame
*) 0 ;
5366 int *arg3
= (int *) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "widths", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail
;
5377 arg2
= PyList_Size(obj1
);
5378 arg3
= int_LIST_helper(obj1
);
5379 if (arg3
== NULL
) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 if (arg3
) delete [] arg3
;
5395 if (arg3
) delete [] arg3
;
5401 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
*resultobj
= NULL
;
5403 wxFrame
*arg1
= (wxFrame
*) 0 ;
5404 wxString
*arg2
= 0 ;
5405 int arg3
= (int) 0 ;
5406 bool temp2
= false ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5409 PyObject
* obj2
= 0 ;
5411 (char *) "self",(char *) "text",(char *) "number", NULL
5414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5416 if (SWIG_arg_fail(1)) SWIG_fail
;
5418 arg2
= wxString_in_helper(obj1
);
5419 if (arg2
== NULL
) SWIG_fail
;
5424 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5425 if (SWIG_arg_fail(3)) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5435 Py_INCREF(Py_None
); resultobj
= Py_None
;
5450 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
= NULL
;
5452 wxFrame
*arg1
= (wxFrame
*) 0 ;
5453 int arg2
= (int) 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5457 (char *) "self",(char *) "number", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5462 if (SWIG_arg_fail(1)) SWIG_fail
;
5465 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5466 if (SWIG_arg_fail(2)) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 (arg1
)->PopStatusText(arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 Py_INCREF(Py_None
); resultobj
= Py_None
;
5483 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
= NULL
;
5485 wxFrame
*arg1
= (wxFrame
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5488 PyObject
* obj1
= 0 ;
5490 (char *) "self",(char *) "n", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5495 if (SWIG_arg_fail(1)) SWIG_fail
;
5497 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5498 if (SWIG_arg_fail(2)) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 (arg1
)->SetStatusBarPane(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 Py_INCREF(Py_None
); resultobj
= Py_None
;
5514 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
= NULL
;
5516 wxFrame
*arg1
= (wxFrame
*) 0 ;
5518 PyObject
* obj0
= 0 ;
5520 (char *) "self", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_From_int(static_cast<int >(result
));
5542 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
= NULL
;
5544 wxFrame
*arg1
= (wxFrame
*) 0 ;
5545 long arg2
= (long) -1 ;
5546 int arg3
= (int) -1 ;
5547 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5550 bool temp4
= false ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 PyObject
* obj2
= 0 ;
5554 PyObject
* obj3
= 0 ;
5556 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5561 if (SWIG_arg_fail(1)) SWIG_fail
;
5564 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5565 if (SWIG_arg_fail(2)) SWIG_fail
;
5570 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5571 if (SWIG_arg_fail(3)) SWIG_fail
;
5576 arg4
= wxString_in_helper(obj3
);
5577 if (arg4
== NULL
) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5589 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5605 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
= NULL
;
5607 wxFrame
*arg1
= (wxFrame
*) 0 ;
5609 PyObject
* obj0
= 0 ;
5611 (char *) "self", NULL
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5616 if (SWIG_arg_fail(1)) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5625 resultobj
= wxPyMake_wxObject(result
, (bool)0);
5633 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5634 PyObject
*resultobj
= NULL
;
5635 wxFrame
*arg1
= (wxFrame
*) 0 ;
5636 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5640 (char *) "self",(char *) "toolbar", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail
;
5646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5647 if (SWIG_arg_fail(2)) SWIG_fail
;
5649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5650 (arg1
)->SetToolBar(arg2
);
5652 wxPyEndAllowThreads(__tstate
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5655 Py_INCREF(Py_None
); resultobj
= Py_None
;
5662 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
= NULL
;
5664 wxFrame
*arg1
= (wxFrame
*) 0 ;
5665 wxString
*arg2
= 0 ;
5667 bool temp2
= false ;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5670 PyObject
* obj2
= 0 ;
5672 (char *) "self",(char *) "text",(char *) "show", NULL
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5677 if (SWIG_arg_fail(1)) SWIG_fail
;
5679 arg2
= wxString_in_helper(obj1
);
5680 if (arg2
== NULL
) SWIG_fail
;
5684 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5685 if (SWIG_arg_fail(3)) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5694 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
= NULL
;
5711 wxFrame
*arg1
= (wxFrame
*) 0 ;
5712 wxMenu
*arg2
= (wxMenu
*) NULL
;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5716 (char *) "self",(char *) "menu", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5721 if (SWIG_arg_fail(1)) SWIG_fail
;
5723 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5724 if (SWIG_arg_fail(2)) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 (arg1
)->DoMenuUpdates(arg2
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 Py_INCREF(Py_None
); resultobj
= Py_None
;
5740 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
= NULL
;
5742 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5743 wxVisualAttributes result
;
5744 PyObject
* obj0
= 0 ;
5746 (char *) "variant", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5752 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5753 if (SWIG_arg_fail(1)) SWIG_fail
;
5757 if (!wxPyCheckForApp()) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 wxVisualAttributes
* resultptr
;
5766 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5775 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5778 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5780 return Py_BuildValue((char *)"");
5782 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
= NULL
;
5784 wxWindow
*arg1
= (wxWindow
*) 0 ;
5785 int arg2
= (int) (int)-1 ;
5786 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5787 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5790 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5791 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5792 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5793 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5794 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5796 bool temp3
= false ;
5799 bool temp7
= false ;
5800 PyObject
* obj0
= 0 ;
5801 PyObject
* obj1
= 0 ;
5802 PyObject
* obj2
= 0 ;
5803 PyObject
* obj3
= 0 ;
5804 PyObject
* obj4
= 0 ;
5805 PyObject
* obj5
= 0 ;
5806 PyObject
* obj6
= 0 ;
5808 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5813 if (SWIG_arg_fail(1)) SWIG_fail
;
5816 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5817 if (SWIG_arg_fail(2)) SWIG_fail
;
5822 arg3
= wxString_in_helper(obj2
);
5823 if (arg3
== NULL
) SWIG_fail
;
5830 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5836 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5841 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5842 if (SWIG_arg_fail(6)) SWIG_fail
;
5847 arg7
= wxString_in_helper(obj6
);
5848 if (arg7
== NULL
) SWIG_fail
;
5853 if (!wxPyCheckForApp()) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5883 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
= NULL
;
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5892 if (!wxPyCheckForApp()) SWIG_fail
;
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 result
= (wxDialog
*)new wxDialog();
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5906 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
= NULL
;
5908 wxDialog
*arg1
= (wxDialog
*) 0 ;
5909 wxWindow
*arg2
= (wxWindow
*) 0 ;
5910 int arg3
= (int) (int)-1 ;
5911 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5912 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5913 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5914 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5915 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5916 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5917 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5918 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5919 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5921 bool temp4
= false ;
5924 bool temp8
= false ;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5927 PyObject
* obj2
= 0 ;
5928 PyObject
* obj3
= 0 ;
5929 PyObject
* obj4
= 0 ;
5930 PyObject
* obj5
= 0 ;
5931 PyObject
* obj6
= 0 ;
5932 PyObject
* obj7
= 0 ;
5934 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5939 if (SWIG_arg_fail(1)) SWIG_fail
;
5940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5941 if (SWIG_arg_fail(2)) SWIG_fail
;
5944 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5945 if (SWIG_arg_fail(3)) SWIG_fail
;
5950 arg4
= wxString_in_helper(obj3
);
5951 if (arg4
== NULL
) SWIG_fail
;
5958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5964 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5969 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5970 if (SWIG_arg_fail(7)) SWIG_fail
;
5975 arg8
= wxString_in_helper(obj7
);
5976 if (arg8
== NULL
) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6012 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
= NULL
;
6014 wxDialog
*arg1
= (wxDialog
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6019 (char *) "self",(char *) "returnCode", NULL
6022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
6023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6024 if (SWIG_arg_fail(1)) SWIG_fail
;
6026 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6027 if (SWIG_arg_fail(2)) SWIG_fail
;
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 (arg1
)->SetReturnCode(arg2
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 Py_INCREF(Py_None
); resultobj
= Py_None
;
6043 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
= NULL
;
6045 wxDialog
*arg1
= (wxDialog
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6054 if (SWIG_arg_fail(1)) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_From_int(static_cast<int >(result
));
6071 static PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
= NULL
;
6073 wxDialog
*arg1
= (wxDialog
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "affirmativeId", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6083 if (SWIG_arg_fail(1)) SWIG_fail
;
6085 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6086 if (SWIG_arg_fail(2)) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 (arg1
)->SetAffirmativeId(arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 Py_INCREF(Py_None
); resultobj
= Py_None
;
6102 static PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
= NULL
;
6104 wxDialog
*arg1
= (wxDialog
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6108 (char *) "self", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetAffirmativeId",kwnames
,&obj0
)) goto fail
;
6112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6113 if (SWIG_arg_fail(1)) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= SWIG_From_int(static_cast<int >(result
));
6130 static PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
= NULL
;
6132 wxDialog
*arg1
= (wxDialog
*) 0 ;
6134 PyObject
* obj0
= 0 ;
6135 PyObject
* obj1
= 0 ;
6137 (char *) "self",(char *) "escapeId", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) goto fail
;
6141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6142 if (SWIG_arg_fail(1)) SWIG_fail
;
6144 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6145 if (SWIG_arg_fail(2)) SWIG_fail
;
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 (arg1
)->SetEscapeId(arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
= NULL
;
6163 wxDialog
*arg1
= (wxDialog
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetEscapeId",kwnames
,&obj0
)) goto fail
;
6171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6172 if (SWIG_arg_fail(1)) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_From_int(static_cast<int >(result
));
6189 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
= NULL
;
6191 wxDialog
*arg1
= (wxDialog
*) 0 ;
6192 wxString
*arg2
= 0 ;
6194 bool temp2
= false ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "message", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6203 if (SWIG_arg_fail(1)) SWIG_fail
;
6205 arg2
= wxString_in_helper(obj1
);
6206 if (arg2
== NULL
) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6233 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= NULL
;
6235 wxDialog
*arg1
= (wxDialog
*) 0 ;
6237 bool arg3
= (bool) false ;
6238 int arg4
= (int) 0 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6242 PyObject
* obj2
= 0 ;
6243 PyObject
* obj3
= 0 ;
6245 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6250 if (SWIG_arg_fail(1)) SWIG_fail
;
6252 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6253 if (SWIG_arg_fail(2)) SWIG_fail
;
6257 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6258 if (SWIG_arg_fail(3)) SWIG_fail
;
6263 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6264 if (SWIG_arg_fail(4)) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6275 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6283 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
= NULL
;
6285 wxDialog
*arg1
= (wxDialog
*) 0 ;
6287 wxStdDialogButtonSizer
*result
;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6291 (char *) "self",(char *) "flags", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6296 if (SWIG_arg_fail(1)) SWIG_fail
;
6298 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6299 if (SWIG_arg_fail(2)) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6315 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
= NULL
;
6317 wxDialog
*arg1
= (wxDialog
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6321 (char *) "self", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6326 if (SWIG_arg_fail(1)) SWIG_fail
;
6328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6343 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
= NULL
;
6345 wxDialog
*arg1
= (wxDialog
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6349 (char *) "self", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6354 if (SWIG_arg_fail(1)) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (int)(arg1
)->ShowModal();
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_From_int(static_cast<int >(result
));
6371 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
= NULL
;
6373 wxDialog
*arg1
= (wxDialog
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6378 (char *) "self",(char *) "retCode", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6383 if (SWIG_arg_fail(1)) SWIG_fail
;
6385 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6386 if (SWIG_arg_fail(2)) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->EndModal(arg2
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 Py_INCREF(Py_None
); resultobj
= Py_None
;
6402 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
= NULL
;
6404 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6405 wxVisualAttributes result
;
6406 PyObject
* obj0
= 0 ;
6408 (char *) "variant", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6414 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6415 if (SWIG_arg_fail(1)) SWIG_fail
;
6419 if (!wxPyCheckForApp()) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 wxVisualAttributes
* resultptr
;
6428 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6437 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6440 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6442 return Py_BuildValue((char *)"");
6444 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
= NULL
;
6446 wxWindow
*arg1
= (wxWindow
*) 0 ;
6447 int arg2
= (int) (int)-1 ;
6448 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6449 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6452 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6453 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6454 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6455 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6456 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6457 wxMiniFrame
*result
;
6458 bool temp3
= false ;
6461 bool temp7
= false ;
6462 PyObject
* obj0
= 0 ;
6463 PyObject
* obj1
= 0 ;
6464 PyObject
* obj2
= 0 ;
6465 PyObject
* obj3
= 0 ;
6466 PyObject
* obj4
= 0 ;
6467 PyObject
* obj5
= 0 ;
6468 PyObject
* obj6
= 0 ;
6470 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6475 if (SWIG_arg_fail(1)) SWIG_fail
;
6478 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6479 if (SWIG_arg_fail(2)) SWIG_fail
;
6484 arg3
= wxString_in_helper(obj2
);
6485 if (arg3
== NULL
) SWIG_fail
;
6492 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6498 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6503 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6504 if (SWIG_arg_fail(6)) SWIG_fail
;
6509 arg7
= wxString_in_helper(obj6
);
6510 if (arg7
== NULL
) SWIG_fail
;
6515 if (!wxPyCheckForApp()) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6545 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
= NULL
;
6547 wxMiniFrame
*result
;
6552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6554 if (!wxPyCheckForApp()) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (wxMiniFrame
*)new wxMiniFrame();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6568 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
= NULL
;
6570 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6571 wxWindow
*arg2
= (wxWindow
*) 0 ;
6572 int arg3
= (int) (int)-1 ;
6573 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6574 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6575 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6576 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6577 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6578 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6579 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6580 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6581 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6583 bool temp4
= false ;
6586 bool temp8
= false ;
6587 PyObject
* obj0
= 0 ;
6588 PyObject
* obj1
= 0 ;
6589 PyObject
* obj2
= 0 ;
6590 PyObject
* obj3
= 0 ;
6591 PyObject
* obj4
= 0 ;
6592 PyObject
* obj5
= 0 ;
6593 PyObject
* obj6
= 0 ;
6594 PyObject
* obj7
= 0 ;
6596 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6601 if (SWIG_arg_fail(1)) SWIG_fail
;
6602 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(2)) SWIG_fail
;
6606 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6607 if (SWIG_arg_fail(3)) SWIG_fail
;
6612 arg4
= wxString_in_helper(obj3
);
6613 if (arg4
== NULL
) SWIG_fail
;
6620 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6626 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6631 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6632 if (SWIG_arg_fail(7)) SWIG_fail
;
6637 arg8
= wxString_in_helper(obj7
);
6638 if (arg8
== NULL
) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6674 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6677 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6679 return Py_BuildValue((char *)"");
6681 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
= NULL
;
6683 wxBitmap
*arg1
= 0 ;
6684 wxWindow
*arg2
= (wxWindow
*) 0 ;
6686 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6687 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6688 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6689 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6690 long arg6
= (long) wxNO_BORDER
;
6691 wxSplashScreenWindow
*result
;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 PyObject
* obj2
= 0 ;
6697 PyObject
* obj3
= 0 ;
6698 PyObject
* obj4
= 0 ;
6699 PyObject
* obj5
= 0 ;
6701 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6707 if (SWIG_arg_fail(1)) SWIG_fail
;
6709 SWIG_null_ref("wxBitmap");
6711 if (SWIG_arg_fail(1)) SWIG_fail
;
6713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6714 if (SWIG_arg_fail(2)) SWIG_fail
;
6716 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6717 if (SWIG_arg_fail(3)) SWIG_fail
;
6722 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6728 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6733 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6734 if (SWIG_arg_fail(6)) SWIG_fail
;
6738 if (!wxPyCheckForApp()) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6752 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
= NULL
;
6754 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6755 wxBitmap
*arg2
= 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6759 (char *) "self",(char *) "bitmap", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6764 if (SWIG_arg_fail(1)) SWIG_fail
;
6766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6767 if (SWIG_arg_fail(2)) SWIG_fail
;
6769 SWIG_null_ref("wxBitmap");
6771 if (SWIG_arg_fail(2)) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 Py_INCREF(Py_None
); resultobj
= Py_None
;
6787 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
= NULL
;
6789 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6791 PyObject
* obj0
= 0 ;
6793 (char *) "self", NULL
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6798 if (SWIG_arg_fail(1)) SWIG_fail
;
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6803 result
= (wxBitmap
*) &_result_ref
;
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 wxBitmap
* resultptr
= new wxBitmap(*result
);
6811 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6819 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6822 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6824 return Py_BuildValue((char *)"");
6826 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
= NULL
;
6828 wxBitmap
*arg1
= 0 ;
6831 wxWindow
*arg4
= (wxWindow
*) 0 ;
6832 int arg5
= (int) -1 ;
6833 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6834 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6835 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6836 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6837 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6838 wxSplashScreen
*result
;
6841 PyObject
* obj0
= 0 ;
6842 PyObject
* obj1
= 0 ;
6843 PyObject
* obj2
= 0 ;
6844 PyObject
* obj3
= 0 ;
6845 PyObject
* obj4
= 0 ;
6846 PyObject
* obj5
= 0 ;
6847 PyObject
* obj6
= 0 ;
6848 PyObject
* obj7
= 0 ;
6850 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6856 if (SWIG_arg_fail(1)) SWIG_fail
;
6858 SWIG_null_ref("wxBitmap");
6860 if (SWIG_arg_fail(1)) SWIG_fail
;
6863 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6864 if (SWIG_arg_fail(2)) SWIG_fail
;
6867 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6868 if (SWIG_arg_fail(3)) SWIG_fail
;
6870 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6871 if (SWIG_arg_fail(4)) SWIG_fail
;
6874 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6875 if (SWIG_arg_fail(5)) SWIG_fail
;
6881 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6887 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6892 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6893 if (SWIG_arg_fail(8)) SWIG_fail
;
6897 if (!wxPyCheckForApp()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6911 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
= NULL
;
6913 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6917 (char *) "self", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6922 if (SWIG_arg_fail(1)) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= SWIG_From_long(static_cast<long >(result
));
6939 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= NULL
;
6941 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6942 wxSplashScreenWindow
*result
;
6943 PyObject
* obj0
= 0 ;
6945 (char *) "self", NULL
6948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6950 if (SWIG_arg_fail(1)) SWIG_fail
;
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6965 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
= NULL
;
6967 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6971 (char *) "self", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6976 if (SWIG_arg_fail(1)) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= SWIG_From_int(static_cast<int >(result
));
6993 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6996 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6998 return Py_BuildValue((char *)"");
7000 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
= NULL
;
7002 wxWindow
*arg1
= (wxWindow
*) 0 ;
7003 int arg2
= (int) -1 ;
7004 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
7005 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
7006 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7007 wxStatusBar
*result
;
7008 bool temp4
= false ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 PyObject
* obj2
= 0 ;
7012 PyObject
* obj3
= 0 ;
7014 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7019 if (SWIG_arg_fail(1)) SWIG_fail
;
7022 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7023 if (SWIG_arg_fail(2)) SWIG_fail
;
7028 arg3
= static_cast<long >(SWIG_As_long(obj2
));
7029 if (SWIG_arg_fail(3)) SWIG_fail
;
7034 arg4
= wxString_in_helper(obj3
);
7035 if (arg4
== NULL
) SWIG_fail
;
7040 if (!wxPyCheckForApp()) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
7062 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
= NULL
;
7064 wxStatusBar
*result
;
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
7071 if (!wxPyCheckForApp()) SWIG_fail
;
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 result
= (wxStatusBar
*)new wxStatusBar();
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
7085 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
= NULL
;
7087 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7088 wxWindow
*arg2
= (wxWindow
*) 0 ;
7089 int arg3
= (int) -1 ;
7090 long arg4
= (long) wxST_SIZEGRIP
;
7091 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
7092 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
7094 bool temp5
= false ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7097 PyObject
* obj2
= 0 ;
7098 PyObject
* obj3
= 0 ;
7099 PyObject
* obj4
= 0 ;
7101 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7106 if (SWIG_arg_fail(1)) SWIG_fail
;
7107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7108 if (SWIG_arg_fail(2)) SWIG_fail
;
7111 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7112 if (SWIG_arg_fail(3)) SWIG_fail
;
7117 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7118 if (SWIG_arg_fail(4)) SWIG_fail
;
7123 arg5
= wxString_in_helper(obj4
);
7124 if (arg5
== NULL
) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7152 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
*resultobj
= NULL
;
7154 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7155 int arg2
= (int) 1 ;
7156 PyObject
* obj0
= 0 ;
7157 PyObject
* obj1
= 0 ;
7159 (char *) "self",(char *) "number", NULL
7162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7164 if (SWIG_arg_fail(1)) SWIG_fail
;
7167 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7168 if (SWIG_arg_fail(2)) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 (arg1
)->SetFieldsCount(arg2
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 Py_INCREF(Py_None
); resultobj
= Py_None
;
7185 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
= NULL
;
7187 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7189 PyObject
* obj0
= 0 ;
7191 (char *) "self", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7196 if (SWIG_arg_fail(1)) SWIG_fail
;
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= SWIG_From_int(static_cast<int >(result
));
7213 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
= NULL
;
7215 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7216 wxString
*arg2
= 0 ;
7217 int arg3
= (int) 0 ;
7218 bool temp2
= false ;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7221 PyObject
* obj2
= 0 ;
7223 (char *) "self",(char *) "text",(char *) "number", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7228 if (SWIG_arg_fail(1)) SWIG_fail
;
7230 arg2
= wxString_in_helper(obj1
);
7231 if (arg2
== NULL
) SWIG_fail
;
7236 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7237 if (SWIG_arg_fail(3)) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 Py_INCREF(Py_None
); resultobj
= Py_None
;
7262 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
= NULL
;
7264 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7265 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_GetStatusText",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 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7302 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
= NULL
;
7304 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7305 wxString
*arg2
= 0 ;
7306 int arg3
= (int) 0 ;
7307 bool temp2
= false ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 PyObject
* obj2
= 0 ;
7312 (char *) "self",(char *) "text",(char *) "number", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7317 if (SWIG_arg_fail(1)) SWIG_fail
;
7319 arg2
= wxString_in_helper(obj1
);
7320 if (arg2
== NULL
) SWIG_fail
;
7325 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7326 if (SWIG_arg_fail(3)) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 Py_INCREF(Py_None
); resultobj
= Py_None
;
7351 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7352 PyObject
*resultobj
= NULL
;
7353 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7354 int arg2
= (int) 0 ;
7355 PyObject
* obj0
= 0 ;
7356 PyObject
* obj1
= 0 ;
7358 (char *) "self",(char *) "number", NULL
7361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7363 if (SWIG_arg_fail(1)) SWIG_fail
;
7366 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7367 if (SWIG_arg_fail(2)) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 (arg1
)->PopStatusText(arg2
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
= NULL
;
7386 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7388 int *arg3
= (int *) 0 ;
7389 PyObject
* obj0
= 0 ;
7390 PyObject
* obj1
= 0 ;
7392 (char *) "self",(char *) "widths", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7397 if (SWIG_arg_fail(1)) SWIG_fail
;
7399 arg2
= PyList_Size(obj1
);
7400 arg3
= int_LIST_helper(obj1
);
7401 if (arg3
== NULL
) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 if (arg3
) delete [] arg3
;
7417 if (arg3
) delete [] arg3
;
7423 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
= NULL
;
7425 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7427 int *arg3
= (int *) 0 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 (char *) "self",(char *) "styles", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7436 if (SWIG_arg_fail(1)) SWIG_fail
;
7438 arg2
= PyList_Size(obj1
);
7439 arg3
= int_LIST_helper(obj1
);
7440 if (arg3
== NULL
) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 Py_INCREF(Py_None
); resultobj
= Py_None
;
7451 if (arg3
) delete [] arg3
;
7456 if (arg3
) delete [] arg3
;
7462 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7463 PyObject
*resultobj
= NULL
;
7464 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7470 (char *) "self",(char *) "i", NULL
7473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7475 if (SWIG_arg_fail(1)) SWIG_fail
;
7477 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7478 if (SWIG_arg_fail(2)) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7489 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7498 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
= NULL
;
7500 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "height", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7510 if (SWIG_arg_fail(1)) SWIG_fail
;
7512 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7513 if (SWIG_arg_fail(2)) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 (arg1
)->SetMinHeight(arg2
);
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 Py_INCREF(Py_None
); resultobj
= Py_None
;
7529 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
= NULL
;
7531 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "self", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7540 if (SWIG_arg_fail(1)) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= SWIG_From_int(static_cast<int >(result
));
7557 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
= NULL
;
7559 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7563 (char *) "self", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7568 if (SWIG_arg_fail(1)) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_From_int(static_cast<int >(result
));
7585 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
= NULL
;
7587 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7588 wxVisualAttributes result
;
7589 PyObject
* obj0
= 0 ;
7591 (char *) "variant", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7597 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7598 if (SWIG_arg_fail(1)) SWIG_fail
;
7602 if (!wxPyCheckForApp()) SWIG_fail
;
7603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7606 wxPyEndAllowThreads(__tstate
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 wxVisualAttributes
* resultptr
;
7611 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7620 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7623 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7625 return Py_BuildValue((char *)"");
7627 static int _wrap_SplitterNameStr_set(PyObject
*) {
7628 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7633 static PyObject
*_wrap_SplitterNameStr_get(void) {
7634 PyObject
*pyobj
= NULL
;
7638 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7640 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7647 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
= NULL
;
7649 wxWindow
*arg1
= (wxWindow
*) 0 ;
7650 int arg2
= (int) -1 ;
7651 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7652 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7653 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7654 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7655 long arg5
= (long) wxSP_3D
;
7656 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7657 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7658 wxSplitterWindow
*result
;
7661 bool temp6
= false ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 PyObject
* obj2
= 0 ;
7665 PyObject
* obj3
= 0 ;
7666 PyObject
* obj4
= 0 ;
7667 PyObject
* obj5
= 0 ;
7669 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7674 if (SWIG_arg_fail(1)) SWIG_fail
;
7677 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7678 if (SWIG_arg_fail(2)) SWIG_fail
;
7684 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7690 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7695 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7696 if (SWIG_arg_fail(5)) SWIG_fail
;
7701 arg6
= wxString_in_helper(obj5
);
7702 if (arg6
== NULL
) SWIG_fail
;
7707 if (!wxPyCheckForApp()) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7729 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
= NULL
;
7731 wxSplitterWindow
*result
;
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7738 if (!wxPyCheckForApp()) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7752 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
= NULL
;
7754 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7755 wxWindow
*arg2
= (wxWindow
*) 0 ;
7756 int arg3
= (int) -1 ;
7757 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7758 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7759 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7760 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7761 long arg6
= (long) wxSP_3D
;
7762 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7763 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7767 bool temp7
= false ;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7770 PyObject
* obj2
= 0 ;
7771 PyObject
* obj3
= 0 ;
7772 PyObject
* obj4
= 0 ;
7773 PyObject
* obj5
= 0 ;
7774 PyObject
* obj6
= 0 ;
7776 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7781 if (SWIG_arg_fail(1)) SWIG_fail
;
7782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7783 if (SWIG_arg_fail(2)) SWIG_fail
;
7786 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7787 if (SWIG_arg_fail(3)) SWIG_fail
;
7793 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7799 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7804 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7805 if (SWIG_arg_fail(6)) SWIG_fail
;
7810 arg7
= wxString_in_helper(obj6
);
7811 if (arg7
== NULL
) SWIG_fail
;
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7819 wxPyEndAllowThreads(__tstate
);
7820 if (PyErr_Occurred()) SWIG_fail
;
7823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7839 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
= NULL
;
7841 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7850 if (SWIG_arg_fail(1)) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7855 wxPyEndAllowThreads(__tstate
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= wxPyMake_wxObject(result
, 0);
7867 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
= NULL
;
7869 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7871 PyObject
* obj0
= 0 ;
7873 (char *) "self", NULL
7876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7878 if (SWIG_arg_fail(1)) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= wxPyMake_wxObject(result
, 0);
7895 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
= NULL
;
7897 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7899 PyObject
* obj0
= 0 ;
7900 PyObject
* obj1
= 0 ;
7902 (char *) "self",(char *) "mode", NULL
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7907 if (SWIG_arg_fail(1)) SWIG_fail
;
7909 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7910 if (SWIG_arg_fail(2)) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 (arg1
)->SetSplitMode(arg2
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 Py_INCREF(Py_None
); resultobj
= Py_None
;
7926 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
= NULL
;
7928 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "self", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7937 if (SWIG_arg_fail(1)) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_From_int((result
));
7952 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
= NULL
;
7954 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7955 wxWindow
*arg2
= (wxWindow
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7957 PyObject
* obj1
= 0 ;
7959 (char *) "self",(char *) "window", NULL
7962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7964 if (SWIG_arg_fail(1)) SWIG_fail
;
7965 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7966 if (SWIG_arg_fail(2)) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 (arg1
)->Initialize(arg2
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 Py_INCREF(Py_None
); resultobj
= Py_None
;
7981 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
= NULL
;
7983 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7984 wxWindow
*arg2
= (wxWindow
*) 0 ;
7985 wxWindow
*arg3
= (wxWindow
*) 0 ;
7986 int arg4
= (int) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7990 PyObject
* obj2
= 0 ;
7991 PyObject
* obj3
= 0 ;
7993 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7998 if (SWIG_arg_fail(1)) SWIG_fail
;
7999 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8000 if (SWIG_arg_fail(2)) SWIG_fail
;
8001 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8002 if (SWIG_arg_fail(3)) SWIG_fail
;
8005 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8006 if (SWIG_arg_fail(4)) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8025 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
= NULL
;
8027 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8028 wxWindow
*arg2
= (wxWindow
*) 0 ;
8029 wxWindow
*arg3
= (wxWindow
*) 0 ;
8030 int arg4
= (int) 0 ;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8034 PyObject
* obj2
= 0 ;
8035 PyObject
* obj3
= 0 ;
8037 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
8040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8042 if (SWIG_arg_fail(1)) SWIG_fail
;
8043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8044 if (SWIG_arg_fail(2)) SWIG_fail
;
8045 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8046 if (SWIG_arg_fail(3)) SWIG_fail
;
8049 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8050 if (SWIG_arg_fail(4)) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8069 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
= NULL
;
8071 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8072 wxWindow
*arg2
= (wxWindow
*) NULL
;
8074 PyObject
* obj0
= 0 ;
8075 PyObject
* obj1
= 0 ;
8077 (char *) "self",(char *) "toRemove", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
8081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8082 if (SWIG_arg_fail(1)) SWIG_fail
;
8084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8085 if (SWIG_arg_fail(2)) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 result
= (bool)(arg1
)->Unsplit(arg2
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8103 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
= NULL
;
8105 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8106 wxWindow
*arg2
= (wxWindow
*) 0 ;
8107 wxWindow
*arg3
= (wxWindow
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8111 PyObject
* obj2
= 0 ;
8113 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8118 if (SWIG_arg_fail(1)) SWIG_fail
;
8119 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8120 if (SWIG_arg_fail(2)) SWIG_fail
;
8121 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8122 if (SWIG_arg_fail(3)) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8139 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
= NULL
;
8141 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8142 PyObject
* obj0
= 0 ;
8144 (char *) "self", NULL
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
8148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8149 if (SWIG_arg_fail(1)) SWIG_fail
;
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 (arg1
)->UpdateSize();
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 Py_INCREF(Py_None
); resultobj
= Py_None
;
8164 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
= NULL
;
8166 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8170 (char *) "self", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8175 if (SWIG_arg_fail(1)) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8192 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
= NULL
;
8194 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8196 PyObject
* obj0
= 0 ;
8197 PyObject
* obj1
= 0 ;
8199 (char *) "self",(char *) "width", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8204 if (SWIG_arg_fail(1)) SWIG_fail
;
8206 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8207 if (SWIG_arg_fail(2)) SWIG_fail
;
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 (arg1
)->SetSashSize(arg2
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 Py_INCREF(Py_None
); resultobj
= Py_None
;
8223 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
= NULL
;
8225 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8230 (char *) "self",(char *) "width", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8235 if (SWIG_arg_fail(1)) SWIG_fail
;
8237 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8238 if (SWIG_arg_fail(2)) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 (arg1
)->SetBorderSize(arg2
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
= NULL
;
8256 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "self", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8265 if (SWIG_arg_fail(1)) SWIG_fail
;
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8270 wxPyEndAllowThreads(__tstate
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= SWIG_From_int(static_cast<int >(result
));
8282 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
= NULL
;
8284 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8286 PyObject
* obj0
= 0 ;
8288 (char *) "self", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8293 if (SWIG_arg_fail(1)) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= SWIG_From_int(static_cast<int >(result
));
8310 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
= NULL
;
8312 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8314 bool arg3
= (bool) true ;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8317 PyObject
* obj2
= 0 ;
8319 (char *) "self",(char *) "position",(char *) "redraw", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8324 if (SWIG_arg_fail(1)) SWIG_fail
;
8326 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8327 if (SWIG_arg_fail(2)) SWIG_fail
;
8331 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8332 if (SWIG_arg_fail(3)) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->SetSashPosition(arg2
,arg3
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
= NULL
;
8351 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8353 PyObject
* obj0
= 0 ;
8355 (char *) "self", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= SWIG_From_int(static_cast<int >(result
));
8377 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
= NULL
;
8379 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8381 PyObject
* obj0
= 0 ;
8382 PyObject
* obj1
= 0 ;
8384 (char *) "self",(char *) "gravity", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8389 if (SWIG_arg_fail(1)) SWIG_fail
;
8391 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8392 if (SWIG_arg_fail(2)) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 (arg1
)->SetSashGravity(arg2
);
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 Py_INCREF(Py_None
); resultobj
= Py_None
;
8408 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
= NULL
;
8410 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8412 PyObject
* obj0
= 0 ;
8414 (char *) "self", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8419 if (SWIG_arg_fail(1)) SWIG_fail
;
8421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8422 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 resultobj
= SWIG_From_double(static_cast<double >(result
));
8436 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
= NULL
;
8438 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8443 (char *) "self",(char *) "min", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8450 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8451 if (SWIG_arg_fail(2)) SWIG_fail
;
8454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8455 (arg1
)->SetMinimumPaneSize(arg2
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 Py_INCREF(Py_None
); resultobj
= Py_None
;
8467 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
= NULL
;
8469 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8471 PyObject
* obj0
= 0 ;
8473 (char *) "self", NULL
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8478 if (SWIG_arg_fail(1)) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_From_int(static_cast<int >(result
));
8495 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
= NULL
;
8497 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8500 int arg4
= (int) 5 ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 PyObject
* obj2
= 0 ;
8505 PyObject
* obj3
= 0 ;
8507 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8512 if (SWIG_arg_fail(1)) SWIG_fail
;
8514 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8515 if (SWIG_arg_fail(2)) SWIG_fail
;
8518 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8519 if (SWIG_arg_fail(3)) SWIG_fail
;
8523 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8524 if (SWIG_arg_fail(4)) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8543 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
= NULL
;
8545 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "self", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8553 if (SWIG_arg_fail(1)) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 (arg1
)->SizeWindows();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8561 Py_INCREF(Py_None
); resultobj
= Py_None
;
8568 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
= NULL
;
8570 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8572 PyObject
* obj0
= 0 ;
8573 PyObject
* obj1
= 0 ;
8575 (char *) "self",(char *) "needUpdating", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8580 if (SWIG_arg_fail(1)) SWIG_fail
;
8582 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8583 if (SWIG_arg_fail(2)) SWIG_fail
;
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 (arg1
)->SetNeedUpdating(arg2
);
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 Py_INCREF(Py_None
); resultobj
= Py_None
;
8599 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
= NULL
;
8601 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8610 if (SWIG_arg_fail(1)) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
= NULL
;
8629 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8630 wxVisualAttributes result
;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "variant", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8639 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8640 if (SWIG_arg_fail(1)) SWIG_fail
;
8644 if (!wxPyCheckForApp()) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8648 wxPyEndAllowThreads(__tstate
);
8649 if (PyErr_Occurred()) SWIG_fail
;
8652 wxVisualAttributes
* resultptr
;
8653 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8662 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8665 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8667 return Py_BuildValue((char *)"");
8669 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
= NULL
;
8671 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8672 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8673 wxSplitterEvent
*result
;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8677 (char *) "type",(char *) "splitter", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8683 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8684 if (SWIG_arg_fail(1)) SWIG_fail
;
8688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8689 if (SWIG_arg_fail(2)) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8705 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
= NULL
;
8707 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8712 (char *) "self",(char *) "pos", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8717 if (SWIG_arg_fail(1)) SWIG_fail
;
8719 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8720 if (SWIG_arg_fail(2)) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 (arg1
)->SetSashPosition(arg2
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
= NULL
;
8738 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8742 (char *) "self", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_From_int(static_cast<int >(result
));
8764 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
= NULL
;
8766 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "self", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8775 if (SWIG_arg_fail(1)) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8784 resultobj
= wxPyMake_wxObject(result
, 0);
8792 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
= NULL
;
8794 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8798 (char *) "self", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8803 if (SWIG_arg_fail(1)) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= SWIG_From_int(static_cast<int >(result
));
8820 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8821 PyObject
*resultobj
= NULL
;
8822 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8824 PyObject
* obj0
= 0 ;
8826 (char *) "self", NULL
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8831 if (SWIG_arg_fail(1)) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_From_int(static_cast<int >(result
));
8848 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8851 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8853 return Py_BuildValue((char *)"");
8855 static int _wrap_SashNameStr_set(PyObject
*) {
8856 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8861 static PyObject
*_wrap_SashNameStr_get(void) {
8862 PyObject
*pyobj
= NULL
;
8866 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8868 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8875 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8876 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8881 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8882 PyObject
*pyobj
= NULL
;
8886 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8888 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8895 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
= NULL
;
8897 wxWindow
*arg1
= (wxWindow
*) 0 ;
8898 int arg2
= (int) -1 ;
8899 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8900 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8901 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8902 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8903 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8904 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8905 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8906 wxSashWindow
*result
;
8909 bool temp6
= false ;
8910 PyObject
* obj0
= 0 ;
8911 PyObject
* obj1
= 0 ;
8912 PyObject
* obj2
= 0 ;
8913 PyObject
* obj3
= 0 ;
8914 PyObject
* obj4
= 0 ;
8915 PyObject
* obj5
= 0 ;
8917 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8922 if (SWIG_arg_fail(1)) SWIG_fail
;
8925 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8926 if (SWIG_arg_fail(2)) SWIG_fail
;
8932 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8938 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8943 arg5
= static_cast<long >(SWIG_As_long(obj4
));
8944 if (SWIG_arg_fail(5)) SWIG_fail
;
8949 arg6
= wxString_in_helper(obj5
);
8950 if (arg6
== NULL
) SWIG_fail
;
8955 if (!wxPyCheckForApp()) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8977 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
= NULL
;
8979 wxSashWindow
*result
;
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8986 if (!wxPyCheckForApp()) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (wxSashWindow
*)new wxSashWindow();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
9000 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
= NULL
;
9002 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9003 wxWindow
*arg2
= (wxWindow
*) 0 ;
9004 int arg3
= (int) -1 ;
9005 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9006 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9007 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9008 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9009 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
9010 wxString
const &arg7_defvalue
= wxPySashNameStr
;
9011 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9015 bool temp7
= false ;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9018 PyObject
* obj2
= 0 ;
9019 PyObject
* obj3
= 0 ;
9020 PyObject
* obj4
= 0 ;
9021 PyObject
* obj5
= 0 ;
9022 PyObject
* obj6
= 0 ;
9024 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9029 if (SWIG_arg_fail(1)) SWIG_fail
;
9030 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
9031 if (SWIG_arg_fail(2)) SWIG_fail
;
9034 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9035 if (SWIG_arg_fail(3)) SWIG_fail
;
9041 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9047 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9052 arg6
= static_cast<long >(SWIG_As_long(obj5
));
9053 if (SWIG_arg_fail(6)) SWIG_fail
;
9058 arg7
= wxString_in_helper(obj6
);
9059 if (arg7
== NULL
) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9087 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= NULL
;
9089 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9090 wxSashEdgePosition arg2
;
9092 PyObject
* obj0
= 0 ;
9093 PyObject
* obj1
= 0 ;
9094 PyObject
* obj2
= 0 ;
9096 (char *) "self",(char *) "edge",(char *) "sash", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9101 if (SWIG_arg_fail(1)) SWIG_fail
;
9103 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9104 if (SWIG_arg_fail(2)) SWIG_fail
;
9107 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9108 if (SWIG_arg_fail(3)) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetSashVisible(arg2
,arg3
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9124 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
= NULL
;
9126 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9127 wxSashEdgePosition arg2
;
9129 PyObject
* obj0
= 0 ;
9130 PyObject
* obj1
= 0 ;
9132 (char *) "self",(char *) "edge", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9137 if (SWIG_arg_fail(1)) SWIG_fail
;
9139 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9140 if (SWIG_arg_fail(2)) SWIG_fail
;
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
9146 wxPyEndAllowThreads(__tstate
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9158 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
*resultobj
= NULL
;
9160 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9161 wxSashEdgePosition arg2
;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 PyObject
* obj2
= 0 ;
9167 (char *) "self",(char *) "edge",(char *) "border", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9172 if (SWIG_arg_fail(1)) SWIG_fail
;
9174 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9175 if (SWIG_arg_fail(2)) SWIG_fail
;
9178 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9179 if (SWIG_arg_fail(3)) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 (arg1
)->SetSashBorder(arg2
,arg3
);
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 Py_INCREF(Py_None
); resultobj
= Py_None
;
9195 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= NULL
;
9197 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9198 wxSashEdgePosition arg2
;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9203 (char *) "self",(char *) "edge", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9208 if (SWIG_arg_fail(1)) SWIG_fail
;
9210 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9211 if (SWIG_arg_fail(2)) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9229 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
= NULL
;
9231 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9232 wxSashEdgePosition arg2
;
9234 PyObject
* obj0
= 0 ;
9235 PyObject
* obj1
= 0 ;
9237 (char *) "self",(char *) "edge", NULL
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
9241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9242 if (SWIG_arg_fail(1)) SWIG_fail
;
9244 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9245 if (SWIG_arg_fail(2)) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_From_int(static_cast<int >(result
));
9263 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
= NULL
;
9265 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9268 PyObject
* obj1
= 0 ;
9270 (char *) "self",(char *) "width", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9275 if (SWIG_arg_fail(1)) SWIG_fail
;
9277 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9278 if (SWIG_arg_fail(2)) SWIG_fail
;
9281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9282 (arg1
)->SetDefaultBorderSize(arg2
);
9284 wxPyEndAllowThreads(__tstate
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 Py_INCREF(Py_None
); resultobj
= Py_None
;
9294 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
*resultobj
= NULL
;
9296 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9298 PyObject
* obj0
= 0 ;
9300 (char *) "self", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9314 resultobj
= SWIG_From_int(static_cast<int >(result
));
9322 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
= NULL
;
9324 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9327 PyObject
* obj1
= 0 ;
9329 (char *) "self",(char *) "width", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9334 if (SWIG_arg_fail(1)) SWIG_fail
;
9336 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9337 if (SWIG_arg_fail(2)) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 (arg1
)->SetExtraBorderSize(arg2
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 Py_INCREF(Py_None
); resultobj
= Py_None
;
9353 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
= NULL
;
9355 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9359 (char *) "self", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9364 if (SWIG_arg_fail(1)) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= SWIG_From_int(static_cast<int >(result
));
9381 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9382 PyObject
*resultobj
= NULL
;
9383 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9388 (char *) "self",(char *) "min", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9393 if (SWIG_arg_fail(1)) SWIG_fail
;
9395 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9396 if (SWIG_arg_fail(2)) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9400 (arg1
)->SetMinimumSizeX(arg2
);
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 Py_INCREF(Py_None
); resultobj
= Py_None
;
9412 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
= NULL
;
9414 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9416 PyObject
* obj0
= 0 ;
9417 PyObject
* obj1
= 0 ;
9419 (char *) "self",(char *) "min", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9424 if (SWIG_arg_fail(1)) SWIG_fail
;
9426 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9427 if (SWIG_arg_fail(2)) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 (arg1
)->SetMinimumSizeY(arg2
);
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 Py_INCREF(Py_None
); resultobj
= Py_None
;
9443 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
= NULL
;
9445 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_From_int(static_cast<int >(result
));
9471 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
= NULL
;
9473 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "self", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9482 if (SWIG_arg_fail(1)) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_From_int(static_cast<int >(result
));
9499 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
= NULL
;
9501 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj1
= 0 ;
9506 (char *) "self",(char *) "max", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9511 if (SWIG_arg_fail(1)) SWIG_fail
;
9513 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9514 if (SWIG_arg_fail(2)) SWIG_fail
;
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 (arg1
)->SetMaximumSizeX(arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 Py_INCREF(Py_None
); resultobj
= Py_None
;
9530 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
= NULL
;
9532 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9537 (char *) "self",(char *) "max", NULL
9540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail
;
9544 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9545 if (SWIG_arg_fail(2)) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 (arg1
)->SetMaximumSizeY(arg2
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= NULL
;
9563 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9572 if (SWIG_arg_fail(1)) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= SWIG_From_int(static_cast<int >(result
));
9589 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
= NULL
;
9591 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9600 if (SWIG_arg_fail(1)) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_From_int(static_cast<int >(result
));
9617 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
= NULL
;
9619 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9622 int arg4
= (int) 2 ;
9623 wxSashEdgePosition result
;
9624 PyObject
* obj0
= 0 ;
9625 PyObject
* obj1
= 0 ;
9626 PyObject
* obj2
= 0 ;
9627 PyObject
* obj3
= 0 ;
9629 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9634 if (SWIG_arg_fail(1)) SWIG_fail
;
9636 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9637 if (SWIG_arg_fail(2)) SWIG_fail
;
9640 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9641 if (SWIG_arg_fail(3)) SWIG_fail
;
9645 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9646 if (SWIG_arg_fail(4)) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_From_int((result
));
9663 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= NULL
;
9665 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9666 PyObject
* obj0
= 0 ;
9668 (char *) "self", NULL
9671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9673 if (SWIG_arg_fail(1)) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 (arg1
)->SizeWindows();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 Py_INCREF(Py_None
); resultobj
= Py_None
;
9688 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9691 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9693 return Py_BuildValue((char *)"");
9695 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
= NULL
;
9697 int arg1
= (int) 0 ;
9698 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9699 wxSashEvent
*result
;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9703 (char *) "id",(char *) "edge", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9709 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9710 if (SWIG_arg_fail(1)) SWIG_fail
;
9715 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9716 if (SWIG_arg_fail(2)) SWIG_fail
;
9720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9721 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9723 wxPyEndAllowThreads(__tstate
);
9724 if (PyErr_Occurred()) SWIG_fail
;
9726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9733 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
= NULL
;
9735 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9736 wxSashEdgePosition arg2
;
9737 PyObject
* obj0
= 0 ;
9738 PyObject
* obj1
= 0 ;
9740 (char *) "self",(char *) "edge", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9748 if (SWIG_arg_fail(2)) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 (arg1
)->SetEdge(arg2
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 Py_INCREF(Py_None
); resultobj
= Py_None
;
9764 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
= NULL
;
9766 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9767 wxSashEdgePosition result
;
9768 PyObject
* obj0
= 0 ;
9770 (char *) "self", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9775 if (SWIG_arg_fail(1)) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_From_int((result
));
9790 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
= NULL
;
9792 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9798 (char *) "self",(char *) "rect", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9803 if (SWIG_arg_fail(1)) SWIG_fail
;
9806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9812 wxPyEndAllowThreads(__tstate
);
9813 if (PyErr_Occurred()) SWIG_fail
;
9815 Py_INCREF(Py_None
); resultobj
= Py_None
;
9822 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
= NULL
;
9824 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "self", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9833 if (SWIG_arg_fail(1)) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9843 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9852 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9853 PyObject
*resultobj
= NULL
;
9854 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9855 wxSashDragStatus arg2
;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9859 (char *) "self",(char *) "status", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9867 if (SWIG_arg_fail(2)) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 (arg1
)->SetDragStatus(arg2
);
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 Py_INCREF(Py_None
); resultobj
= Py_None
;
9883 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
= NULL
;
9885 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9886 wxSashDragStatus result
;
9887 PyObject
* obj0
= 0 ;
9889 (char *) "self", NULL
9892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9894 if (SWIG_arg_fail(1)) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9899 wxPyEndAllowThreads(__tstate
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9902 resultobj
= SWIG_From_int((result
));
9909 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9912 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9914 return Py_BuildValue((char *)"");
9916 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
= NULL
;
9918 int arg1
= (int) 0 ;
9919 wxQueryLayoutInfoEvent
*result
;
9920 PyObject
* obj0
= 0 ;
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9928 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9934 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9936 wxPyEndAllowThreads(__tstate
);
9937 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9946 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= NULL
;
9948 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9950 PyObject
* obj0
= 0 ;
9951 PyObject
* obj1
= 0 ;
9953 (char *) "self",(char *) "length", NULL
9956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9958 if (SWIG_arg_fail(1)) SWIG_fail
;
9960 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9961 if (SWIG_arg_fail(2)) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->SetRequestedLength(arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 Py_INCREF(Py_None
); resultobj
= Py_None
;
9977 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
= NULL
;
9979 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "self", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9988 if (SWIG_arg_fail(1)) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_From_int(static_cast<int >(result
));
10005 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
= NULL
;
10007 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "flags", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10017 if (SWIG_arg_fail(1)) SWIG_fail
;
10019 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10020 if (SWIG_arg_fail(2)) SWIG_fail
;
10023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10024 (arg1
)->SetFlags(arg2
);
10026 wxPyEndAllowThreads(__tstate
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10029 Py_INCREF(Py_None
); resultobj
= Py_None
;
10036 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
= NULL
;
10038 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10040 PyObject
* obj0
= 0 ;
10041 char *kwnames
[] = {
10042 (char *) "self", NULL
10045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10047 if (SWIG_arg_fail(1)) SWIG_fail
;
10049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10050 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
10052 wxPyEndAllowThreads(__tstate
);
10053 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= SWIG_From_int(static_cast<int >(result
));
10064 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
= NULL
;
10066 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10069 PyObject
* obj0
= 0 ;
10070 PyObject
* obj1
= 0 ;
10071 char *kwnames
[] = {
10072 (char *) "self",(char *) "size", NULL
10075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10077 if (SWIG_arg_fail(1)) SWIG_fail
;
10080 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 (arg1
)->SetSize((wxSize
const &)*arg2
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 Py_INCREF(Py_None
); resultobj
= Py_None
;
10096 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10097 PyObject
*resultobj
= NULL
;
10098 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10100 PyObject
* obj0
= 0 ;
10101 char *kwnames
[] = {
10102 (char *) "self", NULL
10105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10116 wxSize
* resultptr
;
10117 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10126 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
= NULL
;
10128 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10129 wxLayoutOrientation arg2
;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self",(char *) "orient", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10138 if (SWIG_arg_fail(1)) SWIG_fail
;
10140 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10141 if (SWIG_arg_fail(2)) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 (arg1
)->SetOrientation(arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
= NULL
;
10159 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10160 wxLayoutOrientation result
;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10168 if (SWIG_arg_fail(1)) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_From_int((result
));
10183 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
= NULL
;
10185 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10186 wxLayoutAlignment arg2
;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj1
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self",(char *) "align", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10195 if (SWIG_arg_fail(1)) SWIG_fail
;
10197 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10198 if (SWIG_arg_fail(2)) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 (arg1
)->SetAlignment(arg2
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 Py_INCREF(Py_None
); resultobj
= Py_None
;
10214 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
= NULL
;
10216 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10217 wxLayoutAlignment result
;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10225 if (SWIG_arg_fail(1)) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_From_int((result
));
10240 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10243 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10245 return Py_BuildValue((char *)"");
10247 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
*resultobj
= NULL
;
10249 int arg1
= (int) 0 ;
10250 wxCalculateLayoutEvent
*result
;
10251 PyObject
* obj0
= 0 ;
10252 char *kwnames
[] = {
10253 (char *) "id", NULL
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10259 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10260 if (SWIG_arg_fail(1)) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10277 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
= NULL
;
10279 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10281 PyObject
* obj0
= 0 ;
10282 PyObject
* obj1
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self",(char *) "flags", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10289 if (SWIG_arg_fail(1)) SWIG_fail
;
10291 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10292 if (SWIG_arg_fail(2)) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 (arg1
)->SetFlags(arg2
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 Py_INCREF(Py_None
); resultobj
= Py_None
;
10308 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
= NULL
;
10310 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10319 if (SWIG_arg_fail(1)) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= SWIG_From_int(static_cast<int >(result
));
10336 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
= NULL
;
10338 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self",(char *) "rect", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10349 if (SWIG_arg_fail(1)) SWIG_fail
;
10352 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 (arg1
)->SetRect((wxRect
const &)*arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 Py_INCREF(Py_None
); resultobj
= Py_None
;
10368 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
= NULL
;
10370 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 char *kwnames
[] = {
10374 (char *) "self", NULL
10377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10379 if (SWIG_arg_fail(1)) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 wxRect
* resultptr
;
10389 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10398 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10401 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10403 return Py_BuildValue((char *)"");
10405 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
= NULL
;
10407 wxWindow
*arg1
= (wxWindow
*) 0 ;
10408 int arg2
= (int) -1 ;
10409 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10410 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10411 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10412 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10413 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10414 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10415 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10416 wxSashLayoutWindow
*result
;
10419 bool temp6
= false ;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 PyObject
* obj2
= 0 ;
10423 PyObject
* obj3
= 0 ;
10424 PyObject
* obj4
= 0 ;
10425 PyObject
* obj5
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10432 if (SWIG_arg_fail(1)) SWIG_fail
;
10435 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10436 if (SWIG_arg_fail(2)) SWIG_fail
;
10442 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10448 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10453 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10454 if (SWIG_arg_fail(5)) SWIG_fail
;
10459 arg6
= wxString_in_helper(obj5
);
10460 if (arg6
== NULL
) SWIG_fail
;
10465 if (!wxPyCheckForApp()) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10487 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
= NULL
;
10489 wxSashLayoutWindow
*result
;
10490 char *kwnames
[] = {
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10496 if (!wxPyCheckForApp()) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10510 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
= NULL
;
10512 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10513 wxWindow
*arg2
= (wxWindow
*) 0 ;
10514 int arg3
= (int) -1 ;
10515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10519 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10520 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10525 bool temp7
= false ;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 PyObject
* obj2
= 0 ;
10529 PyObject
* obj3
= 0 ;
10530 PyObject
* obj4
= 0 ;
10531 PyObject
* obj5
= 0 ;
10532 PyObject
* obj6
= 0 ;
10533 char *kwnames
[] = {
10534 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10539 if (SWIG_arg_fail(1)) SWIG_fail
;
10540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10541 if (SWIG_arg_fail(2)) SWIG_fail
;
10544 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10545 if (SWIG_arg_fail(3)) SWIG_fail
;
10551 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10557 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10562 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10563 if (SWIG_arg_fail(6)) SWIG_fail
;
10568 arg7
= wxString_in_helper(obj6
);
10569 if (arg7
== NULL
) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10597 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
= NULL
;
10599 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10600 wxLayoutAlignment result
;
10601 PyObject
* obj0
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10608 if (SWIG_arg_fail(1)) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= SWIG_From_int((result
));
10623 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
= NULL
;
10625 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10626 wxLayoutOrientation result
;
10627 PyObject
* obj0
= 0 ;
10628 char *kwnames
[] = {
10629 (char *) "self", NULL
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10634 if (SWIG_arg_fail(1)) SWIG_fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 resultobj
= SWIG_From_int((result
));
10649 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
= NULL
;
10651 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10652 wxLayoutAlignment arg2
;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 char *kwnames
[] = {
10656 (char *) "self",(char *) "alignment", NULL
10659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10661 if (SWIG_arg_fail(1)) SWIG_fail
;
10663 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10664 if (SWIG_arg_fail(2)) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->SetAlignment(arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 Py_INCREF(Py_None
); resultobj
= Py_None
;
10680 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
= NULL
;
10682 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "size", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10693 if (SWIG_arg_fail(1)) SWIG_fail
;
10696 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10700 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
= NULL
;
10714 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10715 wxLayoutOrientation arg2
;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "orientation", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10724 if (SWIG_arg_fail(1)) SWIG_fail
;
10726 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10727 if (SWIG_arg_fail(2)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->SetOrientation(arg2
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 Py_INCREF(Py_None
); resultobj
= Py_None
;
10743 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10746 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10748 return Py_BuildValue((char *)"");
10750 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= NULL
;
10752 wxLayoutAlgorithm
*result
;
10753 char *kwnames
[] = {
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10762 wxPyEndAllowThreads(__tstate
);
10763 if (PyErr_Occurred()) SWIG_fail
;
10765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10772 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
= NULL
;
10774 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10775 PyObject
* obj0
= 0 ;
10776 char *kwnames
[] = {
10777 (char *) "self", NULL
10780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10782 if (SWIG_arg_fail(1)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
= NULL
;
10799 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10800 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10801 wxRect
*arg3
= (wxRect
*) NULL
;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 PyObject
* obj2
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self",(char *) "frame",(char *) "rect", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10812 if (SWIG_arg_fail(1)) SWIG_fail
;
10813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10814 if (SWIG_arg_fail(2)) SWIG_fail
;
10816 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10817 if (SWIG_arg_fail(3)) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10835 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
= NULL
;
10837 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10838 wxFrame
*arg2
= (wxFrame
*) 0 ;
10839 wxWindow
*arg3
= (wxWindow
*) NULL
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail
;
10851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10852 if (SWIG_arg_fail(2)) SWIG_fail
;
10854 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10855 if (SWIG_arg_fail(3)) SWIG_fail
;
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10861 wxPyEndAllowThreads(__tstate
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10873 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= NULL
;
10875 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10876 wxWindow
*arg2
= (wxWindow
*) 0 ;
10877 wxWindow
*arg3
= (wxWindow
*) NULL
;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 PyObject
* obj2
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10888 if (SWIG_arg_fail(1)) SWIG_fail
;
10889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10890 if (SWIG_arg_fail(2)) SWIG_fail
;
10892 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(3)) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10911 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10914 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10916 return Py_BuildValue((char *)"");
10918 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
= NULL
;
10920 wxWindow
*arg1
= (wxWindow
*) 0 ;
10921 int arg2
= (int) wxBORDER_NONE
;
10922 wxPopupWindow
*result
;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "parent",(char *) "flags", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10931 if (SWIG_arg_fail(1)) SWIG_fail
;
10934 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10935 if (SWIG_arg_fail(2)) SWIG_fail
;
10939 if (!wxPyCheckForApp()) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10953 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
= NULL
;
10955 wxPopupWindow
*result
;
10956 char *kwnames
[] = {
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10962 if (!wxPyCheckForApp()) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (wxPopupWindow
*)new wxPopupWindow();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10976 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
= NULL
;
10978 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10979 wxWindow
*arg2
= (wxWindow
*) 0 ;
10980 int arg3
= (int) wxBORDER_NONE
;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 PyObject
* obj2
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "parent",(char *) "flags", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10991 if (SWIG_arg_fail(1)) SWIG_fail
;
10992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10993 if (SWIG_arg_fail(2)) SWIG_fail
;
10996 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10997 if (SWIG_arg_fail(3)) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 result
= (bool)(arg1
)->Create(arg2
,arg3
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11016 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= NULL
;
11018 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
11019 wxPoint
*arg2
= 0 ;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 PyObject
* obj2
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
11032 if (SWIG_arg_fail(1)) SWIG_fail
;
11035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11039 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 Py_INCREF(Py_None
); resultobj
= Py_None
;
11055 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
11057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11058 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
11060 return Py_BuildValue((char *)"");
11062 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
= NULL
;
11064 wxWindow
*arg1
= (wxWindow
*) 0 ;
11065 int arg2
= (int) wxBORDER_NONE
;
11066 wxPyPopupTransientWindow
*result
;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "parent",(char *) "style", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
11074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11075 if (SWIG_arg_fail(1)) SWIG_fail
;
11078 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11079 if (SWIG_arg_fail(2)) SWIG_fail
;
11083 if (!wxPyCheckForApp()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11097 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
= NULL
;
11099 wxPyPopupTransientWindow
*result
;
11100 char *kwnames
[] = {
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
11106 if (!wxPyCheckForApp()) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11120 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
= NULL
;
11122 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11123 PyObject
*arg2
= (PyObject
*) 0 ;
11124 PyObject
*arg3
= (PyObject
*) 0 ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 PyObject
* obj2
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "self",(char *) "self",(char *) "_class", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11134 if (SWIG_arg_fail(1)) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 Py_INCREF(Py_None
); resultobj
= Py_None
;
11151 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
= NULL
;
11153 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11154 wxWindow
*arg2
= (wxWindow
*) NULL
;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self",(char *) "focus", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
11162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11163 if (SWIG_arg_fail(1)) SWIG_fail
;
11165 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11166 if (SWIG_arg_fail(2)) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->Popup(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= NULL
;
11184 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
11191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11192 if (SWIG_arg_fail(1)) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 Py_INCREF(Py_None
); resultobj
= Py_None
;
11207 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
11209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11210 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
11212 return Py_BuildValue((char *)"");
11214 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
= NULL
;
11216 wxWindow
*arg1
= (wxWindow
*) 0 ;
11217 wxString
*arg2
= 0 ;
11218 int arg3
= (int) 100 ;
11219 wxRect
*arg4
= (wxRect
*) NULL
;
11220 wxTipWindow
*result
;
11221 bool temp2
= false ;
11222 PyObject
* obj0
= 0 ;
11223 PyObject
* obj1
= 0 ;
11224 PyObject
* obj2
= 0 ;
11225 PyObject
* obj3
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11232 if (SWIG_arg_fail(1)) SWIG_fail
;
11234 arg2
= wxString_in_helper(obj1
);
11235 if (arg2
== NULL
) SWIG_fail
;
11240 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11241 if (SWIG_arg_fail(3)) SWIG_fail
;
11245 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
11246 if (SWIG_arg_fail(4)) SWIG_fail
;
11249 if (!wxPyCheckForApp()) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11271 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
= NULL
;
11273 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "rectBound", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11284 if (SWIG_arg_fail(1)) SWIG_fail
;
11287 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
= NULL
;
11305 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11313 if (SWIG_arg_fail(1)) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 Py_INCREF(Py_None
); resultobj
= Py_None
;
11328 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11331 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11333 return Py_BuildValue((char *)"");
11335 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
= NULL
;
11337 wxWindow
*arg1
= (wxWindow
*) 0 ;
11338 int arg2
= (int) wxID_ANY
;
11339 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11340 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11341 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11342 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11343 long arg5
= (long) 0 ;
11344 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11345 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11346 wxPyVScrolledWindow
*result
;
11349 bool temp6
= false ;
11350 PyObject
* obj0
= 0 ;
11351 PyObject
* obj1
= 0 ;
11352 PyObject
* obj2
= 0 ;
11353 PyObject
* obj3
= 0 ;
11354 PyObject
* obj4
= 0 ;
11355 PyObject
* obj5
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11362 if (SWIG_arg_fail(1)) SWIG_fail
;
11365 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11366 if (SWIG_arg_fail(2)) SWIG_fail
;
11372 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11378 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11383 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11384 if (SWIG_arg_fail(5)) SWIG_fail
;
11389 arg6
= wxString_in_helper(obj5
);
11390 if (arg6
== NULL
) SWIG_fail
;
11395 if (!wxPyCheckForApp()) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11417 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
= NULL
;
11419 wxPyVScrolledWindow
*result
;
11420 char *kwnames
[] = {
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11426 if (!wxPyCheckForApp()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11440 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
= NULL
;
11442 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11443 PyObject
*arg2
= (PyObject
*) 0 ;
11444 PyObject
*arg3
= (PyObject
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 PyObject
* obj2
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self",(char *) "self",(char *) "_class", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11454 if (SWIG_arg_fail(1)) SWIG_fail
;
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11459 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11461 wxPyEndAllowThreads(__tstate
);
11462 if (PyErr_Occurred()) SWIG_fail
;
11464 Py_INCREF(Py_None
); resultobj
= Py_None
;
11471 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
= NULL
;
11473 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11474 wxWindow
*arg2
= (wxWindow
*) 0 ;
11475 int arg3
= (int) wxID_ANY
;
11476 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11477 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11478 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11479 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11480 long arg6
= (long) 0 ;
11481 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11482 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11486 bool temp7
= false ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 PyObject
* obj2
= 0 ;
11490 PyObject
* obj3
= 0 ;
11491 PyObject
* obj4
= 0 ;
11492 PyObject
* obj5
= 0 ;
11493 PyObject
* obj6
= 0 ;
11494 char *kwnames
[] = {
11495 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11500 if (SWIG_arg_fail(1)) SWIG_fail
;
11501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11502 if (SWIG_arg_fail(2)) SWIG_fail
;
11505 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11506 if (SWIG_arg_fail(3)) SWIG_fail
;
11512 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11518 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11523 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11524 if (SWIG_arg_fail(6)) SWIG_fail
;
11529 arg7
= wxString_in_helper(obj6
);
11530 if (arg7
== NULL
) SWIG_fail
;
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11538 wxPyEndAllowThreads(__tstate
);
11539 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11558 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11559 PyObject
*resultobj
= NULL
;
11560 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11562 PyObject
* obj0
= 0 ;
11563 PyObject
* obj1
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "self",(char *) "count", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11570 if (SWIG_arg_fail(1)) SWIG_fail
;
11572 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11573 if (SWIG_arg_fail(2)) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 (arg1
)->SetLineCount(arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 Py_INCREF(Py_None
); resultobj
= Py_None
;
11589 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
= NULL
;
11591 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "line", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11602 if (SWIG_arg_fail(1)) SWIG_fail
;
11604 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11605 if (SWIG_arg_fail(2)) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11623 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
= NULL
;
11625 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self",(char *) "lines", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11636 if (SWIG_arg_fail(1)) SWIG_fail
;
11638 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11639 if (SWIG_arg_fail(2)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (bool)(arg1
)->ScrollLines(arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11657 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
= NULL
;
11659 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 PyObject
* obj1
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "pages", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11670 if (SWIG_arg_fail(1)) SWIG_fail
;
11672 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11673 if (SWIG_arg_fail(2)) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (bool)(arg1
)->ScrollPages(arg2
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11691 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
= NULL
;
11693 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "self",(char *) "line", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11703 if (SWIG_arg_fail(1)) SWIG_fail
;
11705 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11706 if (SWIG_arg_fail(2)) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 (arg1
)->RefreshLine(arg2
);
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 Py_INCREF(Py_None
); resultobj
= Py_None
;
11722 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
= NULL
;
11724 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 PyObject
* obj2
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self",(char *) "from",(char *) "to", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11736 if (SWIG_arg_fail(1)) SWIG_fail
;
11738 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11739 if (SWIG_arg_fail(2)) SWIG_fail
;
11742 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11743 if (SWIG_arg_fail(3)) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 (arg1
)->RefreshLines(arg2
,arg3
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 Py_INCREF(Py_None
); resultobj
= Py_None
;
11759 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
= NULL
;
11761 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 PyObject
* obj2
= 0 ;
11768 char *kwnames
[] = {
11769 (char *) "self",(char *) "x",(char *) "y", NULL
11772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11774 if (SWIG_arg_fail(1)) SWIG_fail
;
11776 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11777 if (SWIG_arg_fail(2)) SWIG_fail
;
11780 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11781 if (SWIG_arg_fail(3)) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= SWIG_From_int(static_cast<int >(result
));
11799 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11800 PyObject
*resultobj
= NULL
;
11801 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11802 wxPoint
*arg2
= 0 ;
11805 PyObject
* obj0
= 0 ;
11806 PyObject
* obj1
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "self",(char *) "pt", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11813 if (SWIG_arg_fail(1)) SWIG_fail
;
11816 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_From_int(static_cast<int >(result
));
11834 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
= NULL
;
11836 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11837 PyObject
* obj0
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11844 if (SWIG_arg_fail(1)) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 (arg1
)->RefreshAll();
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 Py_INCREF(Py_None
); resultobj
= Py_None
;
11859 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
= NULL
;
11861 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11863 PyObject
* obj0
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "self", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11870 if (SWIG_arg_fail(1)) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11887 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
= NULL
;
11889 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11891 PyObject
* obj0
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11898 if (SWIG_arg_fail(1)) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11915 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11916 PyObject
*resultobj
= NULL
;
11917 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11919 PyObject
* obj0
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11926 if (SWIG_arg_fail(1)) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11943 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
= NULL
;
11945 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 char *kwnames
[] = {
11951 (char *) "self",(char *) "line", NULL
11954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11956 if (SWIG_arg_fail(1)) SWIG_fail
;
11958 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11959 if (SWIG_arg_fail(2)) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11977 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
= NULL
;
11979 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11981 PyObject
* obj0
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11988 if (SWIG_arg_fail(1)) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12005 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
= NULL
;
12007 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
12015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
12016 if (SWIG_arg_fail(1)) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12033 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
12035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12036 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
12038 return Py_BuildValue((char *)"");
12040 static int _wrap_VListBoxNameStr_set(PyObject
*) {
12041 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
12046 static PyObject
*_wrap_VListBoxNameStr_get(void) {
12047 PyObject
*pyobj
= NULL
;
12051 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
12053 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
12060 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
= NULL
;
12062 wxWindow
*arg1
= (wxWindow
*) 0 ;
12063 int arg2
= (int) wxID_ANY
;
12064 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12065 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12066 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12067 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12068 long arg5
= (long) 0 ;
12069 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12070 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12071 wxPyVListBox
*result
;
12074 bool temp6
= false ;
12075 PyObject
* obj0
= 0 ;
12076 PyObject
* obj1
= 0 ;
12077 PyObject
* obj2
= 0 ;
12078 PyObject
* obj3
= 0 ;
12079 PyObject
* obj4
= 0 ;
12080 PyObject
* obj5
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12087 if (SWIG_arg_fail(1)) SWIG_fail
;
12090 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12091 if (SWIG_arg_fail(2)) SWIG_fail
;
12097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12108 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12109 if (SWIG_arg_fail(5)) SWIG_fail
;
12114 arg6
= wxString_in_helper(obj5
);
12115 if (arg6
== NULL
) SWIG_fail
;
12120 if (!wxPyCheckForApp()) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12142 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
= NULL
;
12144 wxPyVListBox
*result
;
12145 char *kwnames
[] = {
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
12151 if (!wxPyCheckForApp()) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (wxPyVListBox
*)new wxPyVListBox();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12165 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
= NULL
;
12167 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12168 PyObject
*arg2
= (PyObject
*) 0 ;
12169 PyObject
*arg3
= (PyObject
*) 0 ;
12170 PyObject
* obj0
= 0 ;
12171 PyObject
* obj1
= 0 ;
12172 PyObject
* obj2
= 0 ;
12173 char *kwnames
[] = {
12174 (char *) "self",(char *) "self",(char *) "_class", NULL
12177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12179 if (SWIG_arg_fail(1)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 Py_INCREF(Py_None
); resultobj
= Py_None
;
12196 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
= NULL
;
12198 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12199 wxWindow
*arg2
= (wxWindow
*) 0 ;
12200 int arg3
= (int) wxID_ANY
;
12201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12205 long arg6
= (long) 0 ;
12206 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12207 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12211 bool temp7
= false ;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 PyObject
* obj2
= 0 ;
12215 PyObject
* obj3
= 0 ;
12216 PyObject
* obj4
= 0 ;
12217 PyObject
* obj5
= 0 ;
12218 PyObject
* obj6
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12225 if (SWIG_arg_fail(1)) SWIG_fail
;
12226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12227 if (SWIG_arg_fail(2)) SWIG_fail
;
12230 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12231 if (SWIG_arg_fail(3)) SWIG_fail
;
12237 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12243 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12248 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12249 if (SWIG_arg_fail(6)) SWIG_fail
;
12254 arg7
= wxString_in_helper(obj6
);
12255 if (arg7
== NULL
) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12283 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
= NULL
;
12285 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12294 if (SWIG_arg_fail(1)) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12311 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
= NULL
;
12313 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12322 if (SWIG_arg_fail(1)) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12339 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
= NULL
;
12341 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 char *kwnames
[] = {
12345 (char *) "self", NULL
12348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12350 if (SWIG_arg_fail(1)) SWIG_fail
;
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12355 wxPyEndAllowThreads(__tstate
);
12356 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= SWIG_From_int(static_cast<int >(result
));
12367 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
= NULL
;
12369 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self",(char *) "item", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12380 if (SWIG_arg_fail(1)) SWIG_fail
;
12382 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12383 if (SWIG_arg_fail(2)) SWIG_fail
;
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12389 wxPyEndAllowThreads(__tstate
);
12390 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12401 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
= NULL
;
12403 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "item", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",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<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12417 if (SWIG_arg_fail(2)) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12435 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
= NULL
;
12437 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12446 if (SWIG_arg_fail(1)) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12463 static PyObject
*_wrap_VListBox_GetFirstSelected(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_GetFirstSelected",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();
12477 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 resultobj
= result
;
12489 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12490 PyObject
*resultobj
= NULL
;
12491 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12492 unsigned long arg2
;
12494 PyObject
* obj0
= 0 ;
12495 PyObject
* obj1
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self",(char *) "cookie", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12502 if (SWIG_arg_fail(1)) SWIG_fail
;
12504 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12505 if (SWIG_arg_fail(2)) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= result
;
12521 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
= NULL
;
12523 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12532 if (SWIG_arg_fail(1)) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 wxPoint
* resultptr
;
12542 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12551 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
= NULL
;
12553 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12555 PyObject
* obj0
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12562 if (SWIG_arg_fail(1)) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12566 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12567 result
= (wxColour
*) &_result_ref
;
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12580 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
= NULL
;
12582 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 PyObject
* obj1
= 0 ;
12586 char *kwnames
[] = {
12587 (char *) "self",(char *) "count", NULL
12590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12592 if (SWIG_arg_fail(1)) SWIG_fail
;
12594 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12595 if (SWIG_arg_fail(2)) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 (arg1
)->SetItemCount(arg2
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 Py_INCREF(Py_None
); resultobj
= Py_None
;
12611 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
= NULL
;
12613 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12621 if (SWIG_arg_fail(1)) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 Py_INCREF(Py_None
); resultobj
= Py_None
;
12636 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
= NULL
;
12638 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self",(char *) "selection", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12648 if (SWIG_arg_fail(1)) SWIG_fail
;
12650 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12651 if (SWIG_arg_fail(2)) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 (arg1
)->SetSelection(arg2
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 Py_INCREF(Py_None
); resultobj
= Py_None
;
12667 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12668 PyObject
*resultobj
= NULL
;
12669 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12671 bool arg3
= (bool) true ;
12673 PyObject
* obj0
= 0 ;
12674 PyObject
* obj1
= 0 ;
12675 PyObject
* obj2
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "self",(char *) "item",(char *) "select", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12682 if (SWIG_arg_fail(1)) SWIG_fail
;
12684 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12685 if (SWIG_arg_fail(2)) SWIG_fail
;
12689 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12690 if (SWIG_arg_fail(3)) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12709 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
= NULL
;
12711 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 PyObject
* obj2
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self",(char *) "from",(char *) "to", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12724 if (SWIG_arg_fail(1)) SWIG_fail
;
12726 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12727 if (SWIG_arg_fail(2)) SWIG_fail
;
12730 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12731 if (SWIG_arg_fail(3)) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12749 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
= NULL
;
12751 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self",(char *) "item", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",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
;
12763 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12764 if (SWIG_arg_fail(2)) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 (arg1
)->Toggle(arg2
);
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 Py_INCREF(Py_None
); resultobj
= Py_None
;
12780 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
= NULL
;
12782 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12784 PyObject
* obj0
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12791 if (SWIG_arg_fail(1)) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (bool)(arg1
)->SelectAll();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12808 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
= NULL
;
12810 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12819 if (SWIG_arg_fail(1)) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 result
= (bool)(arg1
)->DeselectAll();
12824 wxPyEndAllowThreads(__tstate
);
12825 if (PyErr_Occurred()) SWIG_fail
;
12828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12836 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12837 PyObject
*resultobj
= NULL
;
12838 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12839 wxPoint
*arg2
= 0 ;
12841 PyObject
* obj0
= 0 ;
12842 PyObject
* obj1
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self",(char *) "pt", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12849 if (SWIG_arg_fail(1)) SWIG_fail
;
12852 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 Py_INCREF(Py_None
); resultobj
= Py_None
;
12868 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
= NULL
;
12870 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 PyObject
* obj2
= 0 ;
12876 char *kwnames
[] = {
12877 (char *) "self",(char *) "x",(char *) "y", NULL
12880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12882 if (SWIG_arg_fail(1)) SWIG_fail
;
12884 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12885 if (SWIG_arg_fail(2)) SWIG_fail
;
12888 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12889 if (SWIG_arg_fail(3)) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 (arg1
)->SetMargins(arg2
,arg3
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 Py_INCREF(Py_None
); resultobj
= Py_None
;
12905 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
= NULL
;
12907 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12908 wxColour
*arg2
= 0 ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self",(char *) "col", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12921 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 Py_INCREF(Py_None
); resultobj
= Py_None
;
12937 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12940 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12942 return Py_BuildValue((char *)"");
12944 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
= NULL
;
12946 wxWindow
*arg1
= (wxWindow
*) 0 ;
12947 int arg2
= (int) wxID_ANY
;
12948 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12949 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12950 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12951 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12952 long arg5
= (long) 0 ;
12953 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12954 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12955 wxPyHtmlListBox
*result
;
12958 bool temp6
= false ;
12959 PyObject
* obj0
= 0 ;
12960 PyObject
* obj1
= 0 ;
12961 PyObject
* obj2
= 0 ;
12962 PyObject
* obj3
= 0 ;
12963 PyObject
* obj4
= 0 ;
12964 PyObject
* obj5
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12971 if (SWIG_arg_fail(1)) SWIG_fail
;
12974 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12975 if (SWIG_arg_fail(2)) SWIG_fail
;
12981 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12987 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12992 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12993 if (SWIG_arg_fail(5)) SWIG_fail
;
12998 arg6
= wxString_in_helper(obj5
);
12999 if (arg6
== NULL
) SWIG_fail
;
13004 if (!wxPyCheckForApp()) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
13026 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
= NULL
;
13028 wxPyHtmlListBox
*result
;
13029 char *kwnames
[] = {
13033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
13035 if (!wxPyCheckForApp()) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
13049 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
= NULL
;
13051 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13052 PyObject
*arg2
= (PyObject
*) 0 ;
13053 PyObject
*arg3
= (PyObject
*) 0 ;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 PyObject
* obj2
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self",(char *) "self",(char *) "_class", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13063 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13073 Py_INCREF(Py_None
); resultobj
= Py_None
;
13080 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
= NULL
;
13082 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13083 wxWindow
*arg2
= (wxWindow
*) 0 ;
13084 int arg3
= (int) wxID_ANY
;
13085 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13086 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13087 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13088 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13089 long arg6
= (long) 0 ;
13090 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
13091 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13095 bool temp7
= false ;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 PyObject
* obj2
= 0 ;
13099 PyObject
* obj3
= 0 ;
13100 PyObject
* obj4
= 0 ;
13101 PyObject
* obj5
= 0 ;
13102 PyObject
* obj6
= 0 ;
13103 char *kwnames
[] = {
13104 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13109 if (SWIG_arg_fail(1)) SWIG_fail
;
13110 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13111 if (SWIG_arg_fail(2)) SWIG_fail
;
13114 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13115 if (SWIG_arg_fail(3)) SWIG_fail
;
13121 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13127 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13132 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13133 if (SWIG_arg_fail(6)) SWIG_fail
;
13138 arg7
= wxString_in_helper(obj6
);
13139 if (arg7
== NULL
) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13167 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
= NULL
;
13169 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
13176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13177 if (SWIG_arg_fail(1)) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 (arg1
)->RefreshAll();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 Py_INCREF(Py_None
); resultobj
= Py_None
;
13192 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
= NULL
;
13194 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self",(char *) "count", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
13203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13204 if (SWIG_arg_fail(1)) SWIG_fail
;
13206 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
13207 if (SWIG_arg_fail(2)) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 (arg1
)->SetItemCount(arg2
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 Py_INCREF(Py_None
); resultobj
= Py_None
;
13223 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
= NULL
;
13225 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13226 wxFileSystem
*result
;
13227 PyObject
* obj0
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
13233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail
;
13236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
13239 result
= (wxFileSystem
*) &_result_ref
;
13242 wxPyEndAllowThreads(__tstate
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
13252 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
13254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13255 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
13257 return Py_BuildValue((char *)"");
13259 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= NULL
;
13261 wxPyTaskBarIcon
*result
;
13262 char *kwnames
[] = {
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13268 if (!wxPyCheckForApp()) SWIG_fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13282 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
= NULL
;
13284 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",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();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 Py_INCREF(Py_None
); resultobj
= Py_None
;
13307 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
= NULL
;
13309 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13310 PyObject
*arg2
= (PyObject
*) 0 ;
13311 PyObject
*arg3
= (PyObject
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 PyObject
* obj1
= 0 ;
13315 PyObject
* obj2
= 0 ;
13316 PyObject
* obj3
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13323 if (SWIG_arg_fail(1)) SWIG_fail
;
13327 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13328 if (SWIG_arg_fail(4)) SWIG_fail
;
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 Py_INCREF(Py_None
); resultobj
= Py_None
;
13344 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
= NULL
;
13346 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 wxPyTaskBarIcon_Destroy(arg1
);
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 Py_INCREF(Py_None
); resultobj
= Py_None
;
13369 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
= NULL
;
13371 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13380 if (SWIG_arg_fail(1)) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13397 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13398 PyObject
*resultobj
= NULL
;
13399 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13401 PyObject
* obj0
= 0 ;
13402 char *kwnames
[] = {
13403 (char *) "self", NULL
13406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13408 if (SWIG_arg_fail(1)) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13425 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
= NULL
;
13427 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13429 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13430 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13432 bool temp3
= false ;
13433 PyObject
* obj0
= 0 ;
13434 PyObject
* obj1
= 0 ;
13435 PyObject
* obj2
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13442 if (SWIG_arg_fail(1)) SWIG_fail
;
13444 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13445 if (SWIG_arg_fail(2)) SWIG_fail
;
13446 if (arg2
== NULL
) {
13447 SWIG_null_ref("wxIcon");
13449 if (SWIG_arg_fail(2)) SWIG_fail
;
13453 arg3
= wxString_in_helper(obj2
);
13454 if (arg3
== NULL
) SWIG_fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13482 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
= NULL
;
13484 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13493 if (SWIG_arg_fail(1)) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13496 result
= (bool)(arg1
)->RemoveIcon();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13510 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
= NULL
;
13512 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13513 wxMenu
*arg2
= (wxMenu
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 PyObject
* obj1
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self",(char *) "menu", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13523 if (SWIG_arg_fail(1)) SWIG_fail
;
13524 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13525 if (SWIG_arg_fail(2)) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (bool)(arg1
)->PopupMenu(arg2
);
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13542 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13545 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13547 return Py_BuildValue((char *)"");
13549 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
= NULL
;
13552 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13553 wxTaskBarIconEvent
*result
;
13554 PyObject
* obj0
= 0 ;
13555 PyObject
* obj1
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "evtType",(char *) "tbIcon", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13563 if (SWIG_arg_fail(1)) SWIG_fail
;
13565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13566 if (SWIG_arg_fail(2)) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13569 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13581 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13584 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13586 return Py_BuildValue((char *)"");
13588 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13589 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13594 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13595 PyObject
*pyobj
= NULL
;
13599 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13601 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13608 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13609 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13614 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13615 PyObject
*pyobj
= NULL
;
13619 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13621 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13628 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13629 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13634 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13635 PyObject
*pyobj
= NULL
;
13639 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13641 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13648 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13649 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13654 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13655 PyObject
*pyobj
= NULL
;
13659 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13661 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13668 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13669 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13674 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13675 PyObject
*pyobj
= NULL
;
13679 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13681 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13688 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13689 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13694 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13695 PyObject
*pyobj
= NULL
;
13699 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13701 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13708 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
= NULL
;
13710 wxColourData
*result
;
13711 char *kwnames
[] = {
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (wxColourData
*)new wxColourData();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13730 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
= NULL
;
13732 wxColourData
*arg1
= (wxColourData
*) 0 ;
13733 PyObject
* obj0
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13740 if (SWIG_arg_fail(1)) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 Py_INCREF(Py_None
); resultobj
= Py_None
;
13755 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
= NULL
;
13757 wxColourData
*arg1
= (wxColourData
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "self", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13766 if (SWIG_arg_fail(1)) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (bool)(arg1
)->GetChooseFull();
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
= NULL
;
13785 wxColourData
*arg1
= (wxColourData
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13794 if (SWIG_arg_fail(1)) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (arg1
)->GetColour();
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13803 wxColour
* resultptr
;
13804 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13813 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
= NULL
;
13815 wxColourData
*arg1
= (wxColourData
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self",(char *) "i", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13826 if (SWIG_arg_fail(1)) SWIG_fail
;
13828 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13829 if (SWIG_arg_fail(2)) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (arg1
)->GetCustomColour(arg2
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 wxColour
* resultptr
;
13840 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13849 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
= NULL
;
13851 wxColourData
*arg1
= (wxColourData
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 char *kwnames
[] = {
13856 (char *) "self",(char *) "flag", NULL
13859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13861 if (SWIG_arg_fail(1)) SWIG_fail
;
13863 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13864 if (SWIG_arg_fail(2)) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 (arg1
)->SetChooseFull(arg2
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 Py_INCREF(Py_None
); resultobj
= Py_None
;
13880 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= NULL
;
13882 wxColourData
*arg1
= (wxColourData
*) 0 ;
13883 wxColour
*arg2
= 0 ;
13885 PyObject
* obj0
= 0 ;
13886 PyObject
* obj1
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "self",(char *) "colour", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13893 if (SWIG_arg_fail(1)) SWIG_fail
;
13896 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 (arg1
)->SetColour((wxColour
const &)*arg2
);
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 Py_INCREF(Py_None
); resultobj
= Py_None
;
13912 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
= NULL
;
13914 wxColourData
*arg1
= (wxColourData
*) 0 ;
13916 wxColour
*arg3
= 0 ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 PyObject
* obj2
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self",(char *) "i",(char *) "colour", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13927 if (SWIG_arg_fail(1)) SWIG_fail
;
13929 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13930 if (SWIG_arg_fail(2)) SWIG_fail
;
13934 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 Py_INCREF(Py_None
); resultobj
= Py_None
;
13950 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13953 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13955 return Py_BuildValue((char *)"");
13957 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
= NULL
;
13959 wxWindow
*arg1
= (wxWindow
*) 0 ;
13960 wxColourData
*arg2
= (wxColourData
*) NULL
;
13961 wxColourDialog
*result
;
13962 PyObject
* obj0
= 0 ;
13963 PyObject
* obj1
= 0 ;
13964 char *kwnames
[] = {
13965 (char *) "parent",(char *) "data", NULL
13968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13970 if (SWIG_arg_fail(1)) SWIG_fail
;
13972 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13973 if (SWIG_arg_fail(2)) SWIG_fail
;
13976 if (!wxPyCheckForApp()) SWIG_fail
;
13977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13978 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13980 wxPyEndAllowThreads(__tstate
);
13981 if (PyErr_Occurred()) SWIG_fail
;
13983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13990 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
= NULL
;
13992 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13993 wxColourData
*result
;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
14000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
14001 if (SWIG_arg_fail(1)) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 wxColourData
&_result_ref
= (arg1
)->GetColourData();
14006 result
= (wxColourData
*) &_result_ref
;
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
14019 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
14021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14022 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
14024 return Py_BuildValue((char *)"");
14026 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
= NULL
;
14028 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
14029 wxColour
const &arg2_defvalue
= wxNullColour
;
14030 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
14031 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14032 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14035 bool temp3
= false ;
14036 PyObject
* obj0
= 0 ;
14037 PyObject
* obj1
= 0 ;
14038 PyObject
* obj2
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14051 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
14056 arg3
= wxString_in_helper(obj2
);
14057 if (arg3
== NULL
) SWIG_fail
;
14062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14063 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
14065 wxPyEndAllowThreads(__tstate
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14069 wxColour
* resultptr
;
14070 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
14071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
14087 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
= NULL
;
14089 wxWindow
*arg1
= (wxWindow
*) 0 ;
14090 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
14091 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14092 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14093 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14094 long arg4
= (long) 0 ;
14095 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14096 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14097 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14098 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14099 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
14100 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14101 wxDirDialog
*result
;
14102 bool temp2
= false ;
14103 bool temp3
= false ;
14106 bool temp7
= false ;
14107 PyObject
* obj0
= 0 ;
14108 PyObject
* obj1
= 0 ;
14109 PyObject
* obj2
= 0 ;
14110 PyObject
* obj3
= 0 ;
14111 PyObject
* obj4
= 0 ;
14112 PyObject
* obj5
= 0 ;
14113 PyObject
* obj6
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14120 if (SWIG_arg_fail(1)) SWIG_fail
;
14123 arg2
= wxString_in_helper(obj1
);
14124 if (arg2
== NULL
) SWIG_fail
;
14130 arg3
= wxString_in_helper(obj2
);
14131 if (arg3
== NULL
) SWIG_fail
;
14137 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14138 if (SWIG_arg_fail(4)) SWIG_fail
;
14144 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14150 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14155 arg7
= wxString_in_helper(obj6
);
14156 if (arg7
== NULL
) SWIG_fail
;
14161 if (!wxPyCheckForApp()) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
14199 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
= NULL
;
14201 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 char *kwnames
[] = {
14205 (char *) "self", NULL
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14210 if (SWIG_arg_fail(1)) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (arg1
)->GetPath();
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14231 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
= NULL
;
14233 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14242 if (SWIG_arg_fail(1)) SWIG_fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (arg1
)->GetMessage();
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14263 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
= NULL
;
14265 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14274 if (SWIG_arg_fail(1)) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (long)(arg1
)->GetStyle();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= SWIG_From_long(static_cast<long >(result
));
14291 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
= NULL
;
14293 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14294 wxString
*arg2
= 0 ;
14295 bool temp2
= false ;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self",(char *) "message", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14304 if (SWIG_arg_fail(1)) SWIG_fail
;
14306 arg2
= wxString_in_helper(obj1
);
14307 if (arg2
== NULL
) SWIG_fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 (arg1
)->SetMessage((wxString
const &)*arg2
);
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 Py_INCREF(Py_None
); resultobj
= Py_None
;
14332 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14333 PyObject
*resultobj
= NULL
;
14334 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14335 wxString
*arg2
= 0 ;
14336 bool temp2
= false ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self",(char *) "path", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14345 if (SWIG_arg_fail(1)) SWIG_fail
;
14347 arg2
= wxString_in_helper(obj1
);
14348 if (arg2
== NULL
) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 (arg1
)->SetPath((wxString
const &)*arg2
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 Py_INCREF(Py_None
); resultobj
= Py_None
;
14373 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14376 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14378 return Py_BuildValue((char *)"");
14380 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14381 PyObject
*resultobj
= NULL
;
14382 wxWindow
*arg1
= (wxWindow
*) 0 ;
14383 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14384 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14385 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14386 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14387 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14388 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14389 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14390 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14391 long arg6
= (long) 0 ;
14392 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14393 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14394 wxFileDialog
*result
;
14395 bool temp2
= false ;
14396 bool temp3
= false ;
14397 bool temp4
= false ;
14398 bool temp5
= false ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 PyObject
* obj2
= 0 ;
14403 PyObject
* obj3
= 0 ;
14404 PyObject
* obj4
= 0 ;
14405 PyObject
* obj5
= 0 ;
14406 PyObject
* obj6
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14413 if (SWIG_arg_fail(1)) SWIG_fail
;
14416 arg2
= wxString_in_helper(obj1
);
14417 if (arg2
== NULL
) SWIG_fail
;
14423 arg3
= wxString_in_helper(obj2
);
14424 if (arg3
== NULL
) SWIG_fail
;
14430 arg4
= wxString_in_helper(obj3
);
14431 if (arg4
== NULL
) SWIG_fail
;
14437 arg5
= wxString_in_helper(obj4
);
14438 if (arg5
== NULL
) SWIG_fail
;
14444 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14445 if (SWIG_arg_fail(6)) SWIG_fail
;
14451 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14455 if (!wxPyCheckForApp()) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14501 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
= NULL
;
14503 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14504 wxString
*arg2
= 0 ;
14505 bool temp2
= false ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self",(char *) "message", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14514 if (SWIG_arg_fail(1)) SWIG_fail
;
14516 arg2
= wxString_in_helper(obj1
);
14517 if (arg2
== NULL
) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 (arg1
)->SetMessage((wxString
const &)*arg2
);
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 Py_INCREF(Py_None
); resultobj
= Py_None
;
14542 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
= NULL
;
14544 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14545 wxString
*arg2
= 0 ;
14546 bool temp2
= false ;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "path", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14555 if (SWIG_arg_fail(1)) SWIG_fail
;
14557 arg2
= wxString_in_helper(obj1
);
14558 if (arg2
== NULL
) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 (arg1
)->SetPath((wxString
const &)*arg2
);
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 Py_INCREF(Py_None
); resultobj
= Py_None
;
14583 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
= NULL
;
14585 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14586 wxString
*arg2
= 0 ;
14587 bool temp2
= false ;
14588 PyObject
* obj0
= 0 ;
14589 PyObject
* obj1
= 0 ;
14590 char *kwnames
[] = {
14591 (char *) "self",(char *) "dir", NULL
14594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14596 if (SWIG_arg_fail(1)) SWIG_fail
;
14598 arg2
= wxString_in_helper(obj1
);
14599 if (arg2
== NULL
) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 Py_INCREF(Py_None
); resultobj
= Py_None
;
14624 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
= NULL
;
14626 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14627 wxString
*arg2
= 0 ;
14628 bool temp2
= false ;
14629 PyObject
* obj0
= 0 ;
14630 PyObject
* obj1
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self",(char *) "name", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14637 if (SWIG_arg_fail(1)) SWIG_fail
;
14639 arg2
= wxString_in_helper(obj1
);
14640 if (arg2
== NULL
) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 (arg1
)->SetFilename((wxString
const &)*arg2
);
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 Py_INCREF(Py_None
); resultobj
= Py_None
;
14665 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
= NULL
;
14667 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14668 wxString
*arg2
= 0 ;
14669 bool temp2
= false ;
14670 PyObject
* obj0
= 0 ;
14671 PyObject
* obj1
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "self",(char *) "wildCard", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14678 if (SWIG_arg_fail(1)) SWIG_fail
;
14680 arg2
= wxString_in_helper(obj1
);
14681 if (arg2
== NULL
) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14706 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
= NULL
;
14708 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self",(char *) "style", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14718 if (SWIG_arg_fail(1)) SWIG_fail
;
14720 arg2
= static_cast<long >(SWIG_As_long(obj1
));
14721 if (SWIG_arg_fail(2)) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 (arg1
)->SetStyle(arg2
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 Py_INCREF(Py_None
); resultobj
= Py_None
;
14737 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
= NULL
;
14739 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 PyObject
* obj1
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self",(char *) "filterIndex", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14749 if (SWIG_arg_fail(1)) SWIG_fail
;
14751 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14752 if (SWIG_arg_fail(2)) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 (arg1
)->SetFilterIndex(arg2
);
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
= NULL
;
14770 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14779 if (SWIG_arg_fail(1)) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14800 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14801 PyObject
*resultobj
= NULL
;
14802 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14804 PyObject
* obj0
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14811 if (SWIG_arg_fail(1)) SWIG_fail
;
14813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14814 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14816 wxPyEndAllowThreads(__tstate
);
14817 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14832 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
= NULL
;
14834 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14836 PyObject
* obj0
= 0 ;
14837 char *kwnames
[] = {
14838 (char *) "self", NULL
14841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14843 if (SWIG_arg_fail(1)) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14864 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
= NULL
;
14866 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14875 if (SWIG_arg_fail(1)) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14896 static PyObject
*_wrap_FileDialog_GetWildcard(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_GetWildcard",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
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14928 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
= NULL
;
14930 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14939 if (SWIG_arg_fail(1)) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_From_long(static_cast<long >(result
));
14956 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
= NULL
;
14958 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14967 if (SWIG_arg_fail(1)) SWIG_fail
;
14969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14970 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= SWIG_From_int(static_cast<int >(result
));
14984 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
= NULL
;
14986 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14995 if (SWIG_arg_fail(1)) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= result
;
15010 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
= NULL
;
15012 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
15014 PyObject
* obj0
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
15020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
15021 if (SWIG_arg_fail(1)) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15029 resultobj
= result
;
15036 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
15038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15039 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
15041 return Py_BuildValue((char *)"");
15043 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
= NULL
;
15045 wxWindow
*arg1
= (wxWindow
*) 0 ;
15046 wxString
*arg2
= 0 ;
15047 wxString
*arg3
= 0 ;
15048 int arg4
= (int) 0 ;
15049 wxString
*arg5
= (wxString
*) NULL
;
15050 long arg6
= (long) wxCHOICEDLG_STYLE
;
15051 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15052 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15053 wxMultiChoiceDialog
*result
;
15054 bool temp2
= false ;
15055 bool temp3
= false ;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 PyObject
* obj2
= 0 ;
15060 PyObject
* obj3
= 0 ;
15061 PyObject
* obj4
= 0 ;
15062 PyObject
* obj5
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15069 if (SWIG_arg_fail(1)) SWIG_fail
;
15071 arg2
= wxString_in_helper(obj1
);
15072 if (arg2
== NULL
) SWIG_fail
;
15076 arg3
= wxString_in_helper(obj2
);
15077 if (arg3
== NULL
) SWIG_fail
;
15082 arg4
= PyList_Size(obj3
);
15083 arg5
= wxString_LIST_helper(obj3
);
15084 if (arg5
== NULL
) SWIG_fail
;
15089 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15090 if (SWIG_arg_fail(6)) SWIG_fail
;
15096 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15100 if (!wxPyCheckForApp()) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
15117 if (arg5
) delete [] arg5
;
15130 if (arg5
) delete [] arg5
;
15136 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
= NULL
;
15138 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15139 wxArrayInt
*arg2
= 0 ;
15140 bool temp2
= false ;
15141 PyObject
* obj0
= 0 ;
15142 PyObject
* obj1
= 0 ;
15143 char *kwnames
[] = {
15144 (char *) "self",(char *) "selections", NULL
15147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
15148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15149 if (SWIG_arg_fail(1)) SWIG_fail
;
15151 if (! PySequence_Check(obj1
)) {
15152 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
15155 arg2
= new wxArrayInt
;
15157 int i
, len
=PySequence_Length(obj1
);
15158 for (i
=0; i
<len
; i
++) {
15159 PyObject
* item
= PySequence_GetItem(obj1
, i
);
15160 PyObject
* number
= PyNumber_Int(item
);
15161 arg2
->Add(PyInt_AS_LONG(number
));
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 if (temp2
) delete arg2
;
15180 if (temp2
) delete arg2
;
15186 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15187 PyObject
*resultobj
= NULL
;
15188 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 char *kwnames
[] = {
15192 (char *) "self", NULL
15195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
15196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15197 if (SWIG_arg_fail(1)) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= result
;
15212 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15215 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
15217 return Py_BuildValue((char *)"");
15219 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
= NULL
;
15221 wxWindow
*arg1
= (wxWindow
*) 0 ;
15222 wxString
*arg2
= 0 ;
15223 wxString
*arg3
= 0 ;
15225 wxString
*arg5
= (wxString
*) 0 ;
15226 long arg6
= (long) wxCHOICEDLG_STYLE
;
15227 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15228 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15229 wxSingleChoiceDialog
*result
;
15230 bool temp2
= false ;
15231 bool temp3
= false ;
15233 PyObject
* obj0
= 0 ;
15234 PyObject
* obj1
= 0 ;
15235 PyObject
* obj2
= 0 ;
15236 PyObject
* obj3
= 0 ;
15237 PyObject
* obj4
= 0 ;
15238 PyObject
* obj5
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15245 if (SWIG_arg_fail(1)) SWIG_fail
;
15247 arg2
= wxString_in_helper(obj1
);
15248 if (arg2
== NULL
) SWIG_fail
;
15252 arg3
= wxString_in_helper(obj2
);
15253 if (arg3
== NULL
) SWIG_fail
;
15257 arg4
= PyList_Size(obj3
);
15258 arg5
= wxString_LIST_helper(obj3
);
15259 if (arg5
== NULL
) SWIG_fail
;
15263 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15264 if (SWIG_arg_fail(6)) SWIG_fail
;
15270 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15274 if (!wxPyCheckForApp()) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15291 if (arg5
) delete [] arg5
;
15304 if (arg5
) delete [] arg5
;
15310 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
= NULL
;
15312 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15314 PyObject
* obj0
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15321 if (SWIG_arg_fail(1)) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (int)(arg1
)->GetSelection();
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= SWIG_From_int(static_cast<int >(result
));
15338 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
= NULL
;
15340 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15342 PyObject
* obj0
= 0 ;
15343 char *kwnames
[] = {
15344 (char *) "self", NULL
15347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15349 if (SWIG_arg_fail(1)) SWIG_fail
;
15351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15352 result
= (arg1
)->GetStringSelection();
15354 wxPyEndAllowThreads(__tstate
);
15355 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15370 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
= NULL
;
15372 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 char *kwnames
[] = {
15377 (char *) "self",(char *) "sel", NULL
15380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15382 if (SWIG_arg_fail(1)) SWIG_fail
;
15384 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15385 if (SWIG_arg_fail(2)) SWIG_fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 (arg1
)->SetSelection(arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 Py_INCREF(Py_None
); resultobj
= Py_None
;
15401 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15404 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15406 return Py_BuildValue((char *)"");
15408 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
= NULL
;
15410 wxWindow
*arg1
= (wxWindow
*) 0 ;
15411 wxString
*arg2
= 0 ;
15412 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15413 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15416 long arg5
= (long) wxTextEntryDialogStyle
;
15417 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15418 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15419 wxTextEntryDialog
*result
;
15420 bool temp2
= false ;
15421 bool temp3
= false ;
15422 bool temp4
= false ;
15424 PyObject
* obj0
= 0 ;
15425 PyObject
* obj1
= 0 ;
15426 PyObject
* obj2
= 0 ;
15427 PyObject
* obj3
= 0 ;
15428 PyObject
* obj4
= 0 ;
15429 PyObject
* obj5
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15436 if (SWIG_arg_fail(1)) SWIG_fail
;
15438 arg2
= wxString_in_helper(obj1
);
15439 if (arg2
== NULL
) SWIG_fail
;
15444 arg3
= wxString_in_helper(obj2
);
15445 if (arg3
== NULL
) SWIG_fail
;
15451 arg4
= wxString_in_helper(obj3
);
15452 if (arg4
== NULL
) SWIG_fail
;
15458 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15459 if (SWIG_arg_fail(5)) SWIG_fail
;
15465 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15469 if (!wxPyCheckForApp()) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15507 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
= NULL
;
15509 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15511 PyObject
* obj0
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15518 if (SWIG_arg_fail(1)) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (arg1
)->GetValue();
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15539 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
= NULL
;
15541 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15542 wxString
*arg2
= 0 ;
15543 bool temp2
= false ;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 char *kwnames
[] = {
15547 (char *) "self",(char *) "value", NULL
15550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15552 if (SWIG_arg_fail(1)) SWIG_fail
;
15554 arg2
= wxString_in_helper(obj1
);
15555 if (arg2
== NULL
) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 (arg1
)->SetValue((wxString
const &)*arg2
);
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 Py_INCREF(Py_None
); resultobj
= Py_None
;
15580 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15583 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15585 return Py_BuildValue((char *)"");
15587 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15588 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15593 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15594 PyObject
*pyobj
= NULL
;
15598 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15600 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15607 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
= NULL
;
15609 wxWindow
*arg1
= (wxWindow
*) 0 ;
15610 wxString
*arg2
= 0 ;
15611 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15613 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15614 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15615 long arg5
= (long) wxTextEntryDialogStyle
;
15616 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15617 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15618 wxPasswordEntryDialog
*result
;
15619 bool temp2
= false ;
15620 bool temp3
= false ;
15621 bool temp4
= false ;
15623 PyObject
* obj0
= 0 ;
15624 PyObject
* obj1
= 0 ;
15625 PyObject
* obj2
= 0 ;
15626 PyObject
* obj3
= 0 ;
15627 PyObject
* obj4
= 0 ;
15628 PyObject
* obj5
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15635 if (SWIG_arg_fail(1)) SWIG_fail
;
15637 arg2
= wxString_in_helper(obj1
);
15638 if (arg2
== NULL
) SWIG_fail
;
15643 arg3
= wxString_in_helper(obj2
);
15644 if (arg3
== NULL
) SWIG_fail
;
15650 arg4
= wxString_in_helper(obj3
);
15651 if (arg4
== NULL
) SWIG_fail
;
15657 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15658 if (SWIG_arg_fail(5)) SWIG_fail
;
15664 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15705 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15708 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15710 return Py_BuildValue((char *)"");
15712 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
= NULL
;
15714 wxFontData
*result
;
15715 char *kwnames
[] = {
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (wxFontData
*)new wxFontData();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15734 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
= NULL
;
15736 wxFontData
*arg1
= (wxFontData
*) 0 ;
15737 PyObject
* obj0
= 0 ;
15738 char *kwnames
[] = {
15739 (char *) "self", NULL
15742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15744 if (SWIG_arg_fail(1)) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 Py_INCREF(Py_None
); resultobj
= Py_None
;
15759 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
= NULL
;
15761 wxFontData
*arg1
= (wxFontData
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "self",(char *) "enable", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) 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 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15774 if (SWIG_arg_fail(2)) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 (arg1
)->EnableEffects(arg2
);
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 Py_INCREF(Py_None
); resultobj
= Py_None
;
15790 static PyObject
*_wrap_FontData_GetAllowSymbols(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_GetAllowSymbols",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
)->GetAllowSymbols();
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 static PyObject
*_wrap_FontData_GetColour(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_GetColour",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
)->GetColour();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 wxColour
* resultptr
;
15839 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15848 static PyObject
*_wrap_FontData_GetChosenFont(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_GetChosenFont",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
= (arg1
)->GetChosenFont();
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15868 wxFont
* resultptr
;
15869 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15878 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15879 PyObject
*resultobj
= NULL
;
15880 wxFontData
*arg1
= (wxFontData
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 char *kwnames
[] = {
15884 (char *) "self", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15889 if (SWIG_arg_fail(1)) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 result
= (bool)(arg1
)->GetEnableEffects();
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15906 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
= NULL
;
15908 wxFontData
*arg1
= (wxFontData
*) 0 ;
15910 PyObject
* obj0
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15917 if (SWIG_arg_fail(1)) SWIG_fail
;
15919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15920 result
= (arg1
)->GetInitialFont();
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15926 wxFont
* resultptr
;
15927 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15936 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
= NULL
;
15938 wxFontData
*arg1
= (wxFontData
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15947 if (SWIG_arg_fail(1)) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)(arg1
)->GetShowHelp();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15964 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
= NULL
;
15966 wxFontData
*arg1
= (wxFontData
*) 0 ;
15968 PyObject
* obj0
= 0 ;
15969 PyObject
* obj1
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self",(char *) "allowSymbols", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15976 if (SWIG_arg_fail(1)) SWIG_fail
;
15978 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15979 if (SWIG_arg_fail(2)) SWIG_fail
;
15982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15983 (arg1
)->SetAllowSymbols(arg2
);
15985 wxPyEndAllowThreads(__tstate
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15988 Py_INCREF(Py_None
); resultobj
= Py_None
;
15995 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
= NULL
;
15997 wxFontData
*arg1
= (wxFontData
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 PyObject
* obj1
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self",(char *) "font", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16007 if (SWIG_arg_fail(1)) SWIG_fail
;
16009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16010 if (SWIG_arg_fail(2)) SWIG_fail
;
16011 if (arg2
== NULL
) {
16012 SWIG_null_ref("wxFont");
16014 if (SWIG_arg_fail(2)) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 Py_INCREF(Py_None
); resultobj
= Py_None
;
16030 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
= NULL
;
16032 wxFontData
*arg1
= (wxFontData
*) 0 ;
16033 wxColour
*arg2
= 0 ;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "colour", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16043 if (SWIG_arg_fail(1)) SWIG_fail
;
16046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 (arg1
)->SetColour((wxColour
const &)*arg2
);
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 Py_INCREF(Py_None
); resultobj
= Py_None
;
16062 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
= NULL
;
16064 wxFontData
*arg1
= (wxFontData
*) 0 ;
16066 PyObject
* obj0
= 0 ;
16067 PyObject
* obj1
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self",(char *) "font", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16074 if (SWIG_arg_fail(1)) SWIG_fail
;
16076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16077 if (SWIG_arg_fail(2)) SWIG_fail
;
16078 if (arg2
== NULL
) {
16079 SWIG_null_ref("wxFont");
16081 if (SWIG_arg_fail(2)) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 Py_INCREF(Py_None
); resultobj
= Py_None
;
16097 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
= NULL
;
16099 wxFontData
*arg1
= (wxFontData
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 PyObject
* obj2
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self",(char *) "min",(char *) "max", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16111 if (SWIG_arg_fail(1)) SWIG_fail
;
16113 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16114 if (SWIG_arg_fail(2)) SWIG_fail
;
16117 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16118 if (SWIG_arg_fail(3)) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 (arg1
)->SetRange(arg2
,arg3
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 Py_INCREF(Py_None
); resultobj
= Py_None
;
16134 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
= NULL
;
16136 wxFontData
*arg1
= (wxFontData
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 PyObject
* obj1
= 0 ;
16140 char *kwnames
[] = {
16141 (char *) "self",(char *) "showHelp", NULL
16144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16146 if (SWIG_arg_fail(1)) SWIG_fail
;
16148 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16149 if (SWIG_arg_fail(2)) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 (arg1
)->SetShowHelp(arg2
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 Py_INCREF(Py_None
); resultobj
= Py_None
;
16165 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
16167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16168 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
16170 return Py_BuildValue((char *)"");
16172 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
= NULL
;
16174 wxWindow
*arg1
= (wxWindow
*) 0 ;
16175 wxFontData
*arg2
= 0 ;
16176 wxFontDialog
*result
;
16177 PyObject
* obj0
= 0 ;
16178 PyObject
* obj1
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "parent",(char *) "data", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16185 if (SWIG_arg_fail(1)) SWIG_fail
;
16187 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16188 if (SWIG_arg_fail(2)) SWIG_fail
;
16189 if (arg2
== NULL
) {
16190 SWIG_null_ref("wxFontData");
16192 if (SWIG_arg_fail(2)) SWIG_fail
;
16195 if (!wxPyCheckForApp()) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
16209 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
= NULL
;
16211 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
16212 wxFontData
*result
;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
16219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
16220 if (SWIG_arg_fail(1)) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 wxFontData
&_result_ref
= (arg1
)->GetFontData();
16225 result
= (wxFontData
*) &_result_ref
;
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
16238 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
16240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16241 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
16243 return Py_BuildValue((char *)"");
16245 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
= NULL
;
16247 wxWindow
*arg1
= (wxWindow
*) NULL
;
16248 wxFont
const &arg2_defvalue
= wxNullFont
;
16249 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
16250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16253 bool temp3
= false ;
16254 PyObject
* obj0
= 0 ;
16255 PyObject
* obj1
= 0 ;
16256 PyObject
* obj2
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16264 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16269 if (SWIG_arg_fail(2)) SWIG_fail
;
16270 if (arg2
== NULL
) {
16271 SWIG_null_ref("wxFont");
16273 if (SWIG_arg_fail(2)) SWIG_fail
;
16278 arg3
= wxString_in_helper(obj2
);
16279 if (arg3
== NULL
) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 wxFont
* resultptr
;
16292 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16309 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
= NULL
;
16311 wxWindow
*arg1
= (wxWindow
*) 0 ;
16312 wxString
*arg2
= 0 ;
16313 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16314 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16315 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16316 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16317 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16318 wxMessageDialog
*result
;
16319 bool temp2
= false ;
16320 bool temp3
= false ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 PyObject
* obj2
= 0 ;
16325 PyObject
* obj3
= 0 ;
16326 PyObject
* obj4
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16333 if (SWIG_arg_fail(1)) SWIG_fail
;
16335 arg2
= wxString_in_helper(obj1
);
16336 if (arg2
== NULL
) SWIG_fail
;
16341 arg3
= wxString_in_helper(obj2
);
16342 if (arg3
== NULL
) SWIG_fail
;
16348 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16349 if (SWIG_arg_fail(4)) SWIG_fail
;
16355 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16359 if (!wxPyCheckForApp()) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16389 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16392 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16394 return Py_BuildValue((char *)"");
16396 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
= NULL
;
16398 wxString
*arg1
= 0 ;
16399 wxString
*arg2
= 0 ;
16400 int arg3
= (int) 100 ;
16401 wxWindow
*arg4
= (wxWindow
*) NULL
;
16402 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16403 wxProgressDialog
*result
;
16404 bool temp1
= false ;
16405 bool temp2
= false ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 PyObject
* obj2
= 0 ;
16409 PyObject
* obj3
= 0 ;
16410 PyObject
* obj4
= 0 ;
16411 char *kwnames
[] = {
16412 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16417 arg1
= wxString_in_helper(obj0
);
16418 if (arg1
== NULL
) SWIG_fail
;
16422 arg2
= wxString_in_helper(obj1
);
16423 if (arg2
== NULL
) SWIG_fail
;
16428 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16429 if (SWIG_arg_fail(3)) SWIG_fail
;
16433 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16434 if (SWIG_arg_fail(4)) SWIG_fail
;
16438 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16439 if (SWIG_arg_fail(5)) SWIG_fail
;
16443 if (!wxPyCheckForApp()) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16473 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= NULL
;
16475 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16477 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16478 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16480 bool temp3
= false ;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 PyObject
* obj2
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail
;
16492 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16493 if (SWIG_arg_fail(2)) SWIG_fail
;
16497 arg3
= wxString_in_helper(obj2
);
16498 if (arg3
== NULL
) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16526 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
= NULL
;
16528 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 char *kwnames
[] = {
16531 (char *) "self", NULL
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16536 if (SWIG_arg_fail(1)) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16544 Py_INCREF(Py_None
); resultobj
= Py_None
;
16551 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16554 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16556 return Py_BuildValue((char *)"");
16558 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= NULL
;
16560 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16561 int arg2
= (int) 0 ;
16562 wxFindDialogEvent
*result
;
16563 PyObject
* obj0
= 0 ;
16564 PyObject
* obj1
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "commandType",(char *) "id", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16572 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16573 if (SWIG_arg_fail(1)) SWIG_fail
;
16578 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16579 if (SWIG_arg_fail(2)) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16596 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
= NULL
;
16598 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16607 if (SWIG_arg_fail(1)) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (int)(arg1
)->GetFlags();
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= SWIG_From_int(static_cast<int >(result
));
16624 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
= NULL
;
16626 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "self", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16635 if (SWIG_arg_fail(1)) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 wxString
const &_result_ref
= (arg1
)->GetFindString();
16640 result
= (wxString
*) &_result_ref
;
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16650 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16659 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
= NULL
;
16661 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16675 result
= (wxString
*) &_result_ref
;
16678 wxPyEndAllowThreads(__tstate
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16685 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16694 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
= NULL
;
16696 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16697 wxFindReplaceDialog
*result
;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16705 if (SWIG_arg_fail(1)) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16720 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
= NULL
;
16722 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 PyObject
* obj1
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "self",(char *) "flags", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16732 if (SWIG_arg_fail(1)) SWIG_fail
;
16734 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16735 if (SWIG_arg_fail(2)) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->SetFlags(arg2
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 Py_INCREF(Py_None
); resultobj
= Py_None
;
16751 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
= NULL
;
16753 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16754 wxString
*arg2
= 0 ;
16755 bool temp2
= false ;
16756 PyObject
* obj0
= 0 ;
16757 PyObject
* obj1
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self",(char *) "str", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16764 if (SWIG_arg_fail(1)) SWIG_fail
;
16766 arg2
= wxString_in_helper(obj1
);
16767 if (arg2
== NULL
) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 (arg1
)->SetFindString((wxString
const &)*arg2
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 Py_INCREF(Py_None
); resultobj
= Py_None
;
16792 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
= NULL
;
16794 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16795 wxString
*arg2
= 0 ;
16796 bool temp2
= false ;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self",(char *) "str", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16805 if (SWIG_arg_fail(1)) SWIG_fail
;
16807 arg2
= wxString_in_helper(obj1
);
16808 if (arg2
== NULL
) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 Py_INCREF(Py_None
); resultobj
= Py_None
;
16833 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16836 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16838 return Py_BuildValue((char *)"");
16840 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
= NULL
;
16842 int arg1
= (int) 0 ;
16843 wxFindReplaceData
*result
;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "flags", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16852 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16853 if (SWIG_arg_fail(1)) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16870 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
= NULL
;
16872 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16880 if (SWIG_arg_fail(1)) SWIG_fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 Py_INCREF(Py_None
); resultobj
= Py_None
;
16895 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
= NULL
;
16897 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16899 PyObject
* obj0
= 0 ;
16900 char *kwnames
[] = {
16901 (char *) "self", NULL
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16906 if (SWIG_arg_fail(1)) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 wxString
const &_result_ref
= (arg1
)->GetFindString();
16911 result
= (wxString
*) &_result_ref
;
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16921 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16930 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
= NULL
;
16932 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16941 if (SWIG_arg_fail(1)) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16946 result
= (wxString
*) &_result_ref
;
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16956 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16965 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
= NULL
;
16967 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16969 PyObject
* obj0
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16976 if (SWIG_arg_fail(1)) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (int)(arg1
)->GetFlags();
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= SWIG_From_int(static_cast<int >(result
));
16993 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
= NULL
;
16995 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 PyObject
* obj1
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self",(char *) "flags", NULL
17003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
17004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17005 if (SWIG_arg_fail(1)) SWIG_fail
;
17007 arg2
= static_cast<int >(SWIG_As_int(obj1
));
17008 if (SWIG_arg_fail(2)) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 (arg1
)->SetFlags(arg2
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 Py_INCREF(Py_None
); resultobj
= Py_None
;
17024 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
= NULL
;
17026 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
17027 wxString
*arg2
= 0 ;
17028 bool temp2
= false ;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self",(char *) "str", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
17036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17037 if (SWIG_arg_fail(1)) SWIG_fail
;
17039 arg2
= wxString_in_helper(obj1
);
17040 if (arg2
== NULL
) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 (arg1
)->SetFindString((wxString
const &)*arg2
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 Py_INCREF(Py_None
); resultobj
= Py_None
;
17065 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
= NULL
;
17067 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
17068 wxString
*arg2
= 0 ;
17069 bool temp2
= false ;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "self",(char *) "str", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
17077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17078 if (SWIG_arg_fail(1)) SWIG_fail
;
17080 arg2
= wxString_in_helper(obj1
);
17081 if (arg2
== NULL
) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 Py_INCREF(Py_None
); resultobj
= Py_None
;
17106 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
17108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17109 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
17111 return Py_BuildValue((char *)"");
17113 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17114 PyObject
*resultobj
= NULL
;
17115 wxWindow
*arg1
= (wxWindow
*) 0 ;
17116 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17117 wxString
*arg3
= 0 ;
17118 int arg4
= (int) 0 ;
17119 wxFindReplaceDialog
*result
;
17120 bool temp3
= false ;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 PyObject
* obj2
= 0 ;
17124 PyObject
* obj3
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17131 if (SWIG_arg_fail(1)) SWIG_fail
;
17132 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17133 if (SWIG_arg_fail(2)) SWIG_fail
;
17135 arg3
= wxString_in_helper(obj2
);
17136 if (arg3
== NULL
) SWIG_fail
;
17141 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17142 if (SWIG_arg_fail(4)) SWIG_fail
;
17146 if (!wxPyCheckForApp()) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17168 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
= NULL
;
17170 wxFindReplaceDialog
*result
;
17171 char *kwnames
[] = {
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
17177 if (!wxPyCheckForApp()) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17191 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
= NULL
;
17193 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17194 wxWindow
*arg2
= (wxWindow
*) 0 ;
17195 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
17196 wxString
*arg4
= 0 ;
17197 int arg5
= (int) 0 ;
17199 bool temp4
= false ;
17200 PyObject
* obj0
= 0 ;
17201 PyObject
* obj1
= 0 ;
17202 PyObject
* obj2
= 0 ;
17203 PyObject
* obj3
= 0 ;
17204 PyObject
* obj4
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17211 if (SWIG_arg_fail(1)) SWIG_fail
;
17212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17213 if (SWIG_arg_fail(2)) SWIG_fail
;
17214 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17215 if (SWIG_arg_fail(3)) SWIG_fail
;
17217 arg4
= wxString_in_helper(obj3
);
17218 if (arg4
== NULL
) SWIG_fail
;
17223 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17224 if (SWIG_arg_fail(5)) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17251 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
= NULL
;
17253 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17254 wxFindReplaceData
*result
;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
17261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17262 if (SWIG_arg_fail(1)) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17277 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
= NULL
;
17279 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17280 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "data", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17291 if (SWIG_arg_fail(2)) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->SetData(arg2
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17309 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17311 return Py_BuildValue((char *)"");
17313 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
= NULL
;
17315 wxWindow
*arg1
= (wxWindow
*) 0 ;
17316 int arg2
= (int) (int)-1 ;
17317 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17318 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17319 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17320 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17321 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17322 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17323 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17324 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17325 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17326 wxMDIParentFrame
*result
;
17327 bool temp3
= false ;
17330 bool temp7
= false ;
17331 PyObject
* obj0
= 0 ;
17332 PyObject
* obj1
= 0 ;
17333 PyObject
* obj2
= 0 ;
17334 PyObject
* obj3
= 0 ;
17335 PyObject
* obj4
= 0 ;
17336 PyObject
* obj5
= 0 ;
17337 PyObject
* obj6
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17344 if (SWIG_arg_fail(1)) SWIG_fail
;
17347 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17348 if (SWIG_arg_fail(2)) SWIG_fail
;
17353 arg3
= wxString_in_helper(obj2
);
17354 if (arg3
== NULL
) SWIG_fail
;
17361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17372 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17373 if (SWIG_arg_fail(6)) SWIG_fail
;
17378 arg7
= wxString_in_helper(obj6
);
17379 if (arg7
== NULL
) SWIG_fail
;
17384 if (!wxPyCheckForApp()) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17414 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
= NULL
;
17416 wxMDIParentFrame
*result
;
17417 char *kwnames
[] = {
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17423 if (!wxPyCheckForApp()) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17437 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
= NULL
;
17439 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17440 wxWindow
*arg2
= (wxWindow
*) 0 ;
17441 int arg3
= (int) (int)-1 ;
17442 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17443 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17444 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17445 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17446 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17447 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17448 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17449 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17450 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17452 bool temp4
= false ;
17455 bool temp8
= false ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 PyObject
* obj2
= 0 ;
17459 PyObject
* obj3
= 0 ;
17460 PyObject
* obj4
= 0 ;
17461 PyObject
* obj5
= 0 ;
17462 PyObject
* obj6
= 0 ;
17463 PyObject
* obj7
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17470 if (SWIG_arg_fail(1)) SWIG_fail
;
17471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17472 if (SWIG_arg_fail(2)) SWIG_fail
;
17475 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17476 if (SWIG_arg_fail(3)) SWIG_fail
;
17481 arg4
= wxString_in_helper(obj3
);
17482 if (arg4
== NULL
) SWIG_fail
;
17489 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17495 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17500 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17501 if (SWIG_arg_fail(7)) SWIG_fail
;
17506 arg8
= wxString_in_helper(obj7
);
17507 if (arg8
== NULL
) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17543 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
= NULL
;
17545 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17553 if (SWIG_arg_fail(1)) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->ActivateNext();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
= NULL
;
17570 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17578 if (SWIG_arg_fail(1)) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 (arg1
)->ActivatePrevious();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 Py_INCREF(Py_None
); resultobj
= Py_None
;
17593 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
= NULL
;
17595 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17603 if (SWIG_arg_fail(1)) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 (arg1
)->ArrangeIcons();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17611 Py_INCREF(Py_None
); resultobj
= Py_None
;
17618 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
= NULL
;
17620 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17621 PyObject
* obj0
= 0 ;
17622 char *kwnames
[] = {
17623 (char *) "self", NULL
17626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17628 if (SWIG_arg_fail(1)) SWIG_fail
;
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 Py_INCREF(Py_None
); resultobj
= Py_None
;
17643 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
= NULL
;
17645 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17646 wxMDIChildFrame
*result
;
17647 PyObject
* obj0
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17654 if (SWIG_arg_fail(1)) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17671 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17672 PyObject
*resultobj
= NULL
;
17673 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17674 wxMDIClientWindow
*result
;
17675 PyObject
* obj0
= 0 ;
17676 char *kwnames
[] = {
17677 (char *) "self", NULL
17680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17682 if (SWIG_arg_fail(1)) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17699 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
= NULL
;
17701 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17703 PyObject
* obj0
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17710 if (SWIG_arg_fail(1)) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 result
= (wxWindow
*)(arg1
)->GetToolBar();
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= wxPyMake_wxObject(result
, 0);
17727 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17728 PyObject
*resultobj
= NULL
;
17729 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17730 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self",(char *) "orient", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17739 if (SWIG_arg_fail(1)) SWIG_fail
;
17742 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17743 if (SWIG_arg_fail(2)) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 (arg1
)->Tile(arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 Py_INCREF(Py_None
); resultobj
= Py_None
;
17760 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17763 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17765 return Py_BuildValue((char *)"");
17767 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
= NULL
;
17769 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17770 int arg2
= (int) (int)-1 ;
17771 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17772 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17777 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17778 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17779 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17780 wxMDIChildFrame
*result
;
17781 bool temp3
= false ;
17784 bool temp7
= false ;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 PyObject
* obj2
= 0 ;
17788 PyObject
* obj3
= 0 ;
17789 PyObject
* obj4
= 0 ;
17790 PyObject
* obj5
= 0 ;
17791 PyObject
* obj6
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17798 if (SWIG_arg_fail(1)) SWIG_fail
;
17801 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17802 if (SWIG_arg_fail(2)) SWIG_fail
;
17807 arg3
= wxString_in_helper(obj2
);
17808 if (arg3
== NULL
) SWIG_fail
;
17815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17826 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17827 if (SWIG_arg_fail(6)) SWIG_fail
;
17832 arg7
= wxString_in_helper(obj6
);
17833 if (arg7
== NULL
) SWIG_fail
;
17838 if (!wxPyCheckForApp()) SWIG_fail
;
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17868 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
= NULL
;
17870 wxMDIChildFrame
*result
;
17871 char *kwnames
[] = {
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17877 if (!wxPyCheckForApp()) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17891 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
= NULL
;
17893 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17894 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17895 int arg3
= (int) (int)-1 ;
17896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17900 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17901 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17902 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17903 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17906 bool temp4
= false ;
17909 bool temp8
= false ;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 PyObject
* obj2
= 0 ;
17913 PyObject
* obj3
= 0 ;
17914 PyObject
* obj4
= 0 ;
17915 PyObject
* obj5
= 0 ;
17916 PyObject
* obj6
= 0 ;
17917 PyObject
* obj7
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17924 if (SWIG_arg_fail(1)) SWIG_fail
;
17925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17926 if (SWIG_arg_fail(2)) SWIG_fail
;
17929 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17930 if (SWIG_arg_fail(3)) SWIG_fail
;
17935 arg4
= wxString_in_helper(obj3
);
17936 if (arg4
== NULL
) SWIG_fail
;
17943 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17949 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17954 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17955 if (SWIG_arg_fail(7)) SWIG_fail
;
17960 arg8
= wxString_in_helper(obj7
);
17961 if (arg8
== NULL
) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17997 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
= NULL
;
17999 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18000 PyObject
* obj0
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
18006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18007 if (SWIG_arg_fail(1)) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 (arg1
)->Activate();
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 Py_INCREF(Py_None
); resultobj
= Py_None
;
18022 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
= NULL
;
18024 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18025 bool arg2
= (bool) true ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self",(char *) "maximize", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
18033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail
;
18037 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18038 if (SWIG_arg_fail(2)) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 (arg1
)->Maximize(arg2
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 Py_INCREF(Py_None
); resultobj
= Py_None
;
18055 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
= NULL
;
18057 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18058 PyObject
* obj0
= 0 ;
18059 char *kwnames
[] = {
18060 (char *) "self", NULL
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
18064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18065 if (SWIG_arg_fail(1)) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 Py_INCREF(Py_None
); resultobj
= Py_None
;
18080 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
18082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18083 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
18085 return Py_BuildValue((char *)"");
18087 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
= NULL
;
18089 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
18090 long arg2
= (long) 0 ;
18091 wxMDIClientWindow
*result
;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "parent",(char *) "style", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18100 if (SWIG_arg_fail(1)) SWIG_fail
;
18103 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18104 if (SWIG_arg_fail(2)) SWIG_fail
;
18108 if (!wxPyCheckForApp()) SWIG_fail
;
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18122 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
= NULL
;
18124 wxMDIClientWindow
*result
;
18125 char *kwnames
[] = {
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
18131 if (!wxPyCheckForApp()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18145 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
= NULL
;
18147 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
18148 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
18149 long arg3
= (long) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 PyObject
* obj2
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self",(char *) "parent",(char *) "style", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
18160 if (SWIG_arg_fail(1)) SWIG_fail
;
18161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18162 if (SWIG_arg_fail(2)) SWIG_fail
;
18165 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18166 if (SWIG_arg_fail(3)) SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (bool)(arg1
)->Create(arg2
,arg3
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18185 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
18187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18188 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
18190 return Py_BuildValue((char *)"");
18192 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= NULL
;
18194 wxWindow
*arg1
= (wxWindow
*) 0 ;
18195 int arg2
= (int) (int)-1 ;
18196 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18197 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18198 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18199 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18200 long arg5
= (long) 0 ;
18201 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18202 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18203 wxPyWindow
*result
;
18206 bool temp6
= false ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 PyObject
* obj5
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18219 if (SWIG_arg_fail(1)) SWIG_fail
;
18222 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18223 if (SWIG_arg_fail(2)) SWIG_fail
;
18229 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18235 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18240 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18241 if (SWIG_arg_fail(5)) SWIG_fail
;
18246 arg6
= wxString_in_helper(obj5
);
18247 if (arg6
== NULL
) SWIG_fail
;
18252 if (!wxPyCheckForApp()) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18274 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
= NULL
;
18276 wxPyWindow
*result
;
18277 char *kwnames
[] = {
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18283 if (!wxPyCheckForApp()) SWIG_fail
;
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 result
= (wxPyWindow
*)new wxPyWindow();
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18297 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
= NULL
;
18299 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18300 PyObject
*arg2
= (PyObject
*) 0 ;
18301 PyObject
*arg3
= (PyObject
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 PyObject
* obj1
= 0 ;
18304 PyObject
* obj2
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "self",(char *) "self",(char *) "_class", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18311 if (SWIG_arg_fail(1)) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 Py_INCREF(Py_None
); resultobj
= Py_None
;
18328 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
= NULL
;
18330 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "size", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18341 if (SWIG_arg_fail(1)) SWIG_fail
;
18344 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 Py_INCREF(Py_None
); resultobj
= Py_None
;
18360 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
= NULL
;
18362 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18363 wxDC
*arg2
= (wxDC
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 char *kwnames
[] = {
18368 (char *) "self",(char *) "dc", NULL
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18373 if (SWIG_arg_fail(1)) SWIG_fail
;
18374 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18375 if (SWIG_arg_fail(2)) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18392 static PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
= NULL
;
18394 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 PyObject
* obj2
= 0 ;
18402 PyObject
* obj3
= 0 ;
18403 PyObject
* obj4
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail
;
18412 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18413 if (SWIG_arg_fail(2)) SWIG_fail
;
18416 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18417 if (SWIG_arg_fail(3)) SWIG_fail
;
18420 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18421 if (SWIG_arg_fail(4)) SWIG_fail
;
18424 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18425 if (SWIG_arg_fail(5)) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 Py_INCREF(Py_None
); resultobj
= Py_None
;
18441 static PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
= NULL
;
18443 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18448 int arg6
= (int) wxSIZE_AUTO
;
18449 PyObject
* obj0
= 0 ;
18450 PyObject
* obj1
= 0 ;
18451 PyObject
* obj2
= 0 ;
18452 PyObject
* obj3
= 0 ;
18453 PyObject
* obj4
= 0 ;
18454 PyObject
* obj5
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18461 if (SWIG_arg_fail(1)) SWIG_fail
;
18463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18464 if (SWIG_arg_fail(2)) SWIG_fail
;
18467 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18468 if (SWIG_arg_fail(3)) SWIG_fail
;
18471 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18472 if (SWIG_arg_fail(4)) SWIG_fail
;
18475 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18476 if (SWIG_arg_fail(5)) SWIG_fail
;
18480 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18481 if (SWIG_arg_fail(6)) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18488 wxPyEndAllowThreads(__tstate
);
18489 if (PyErr_Occurred()) SWIG_fail
;
18491 Py_INCREF(Py_None
); resultobj
= Py_None
;
18498 static PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
= NULL
;
18500 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 PyObject
* obj2
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self",(char *) "width",(char *) "height", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18512 if (SWIG_arg_fail(1)) SWIG_fail
;
18514 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18515 if (SWIG_arg_fail(2)) SWIG_fail
;
18518 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18519 if (SWIG_arg_fail(3)) SWIG_fail
;
18522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18523 (arg1
)->DoSetClientSize(arg2
,arg3
);
18525 wxPyEndAllowThreads(__tstate
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 Py_INCREF(Py_None
); resultobj
= Py_None
;
18535 static PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
= NULL
;
18537 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 PyObject
* obj1
= 0 ;
18542 PyObject
* obj2
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self",(char *) "x",(char *) "y", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18549 if (SWIG_arg_fail(1)) SWIG_fail
;
18551 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18552 if (SWIG_arg_fail(2)) SWIG_fail
;
18555 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18556 if (SWIG_arg_fail(3)) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 Py_INCREF(Py_None
); resultobj
= Py_None
;
18572 static PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
= NULL
;
18574 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18575 int *arg2
= (int *) 0 ;
18576 int *arg3
= (int *) 0 ;
18581 PyObject
* obj0
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "self", NULL
18586 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18587 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
18589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18590 if (SWIG_arg_fail(1)) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 Py_INCREF(Py_None
); resultobj
= Py_None
;
18599 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18600 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18601 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18602 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18609 static PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
= NULL
;
18611 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18612 int *arg2
= (int *) 0 ;
18613 int *arg3
= (int *) 0 ;
18618 PyObject
* obj0
= 0 ;
18619 char *kwnames
[] = {
18620 (char *) "self", NULL
18623 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18624 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18627 if (SWIG_arg_fail(1)) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 Py_INCREF(Py_None
); resultobj
= Py_None
;
18636 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18637 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18638 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18639 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18646 static PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
= NULL
;
18648 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18649 int *arg2
= (int *) 0 ;
18650 int *arg3
= (int *) 0 ;
18655 PyObject
* obj0
= 0 ;
18656 char *kwnames
[] = {
18657 (char *) "self", NULL
18660 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18661 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18664 if (SWIG_arg_fail(1)) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 Py_INCREF(Py_None
); resultobj
= Py_None
;
18673 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18674 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18675 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18676 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18683 static PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
= NULL
;
18685 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18694 if (SWIG_arg_fail(1)) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18703 wxSize
* resultptr
;
18704 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18713 static PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
= NULL
;
18715 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 char *kwnames
[] = {
18719 (char *) "self", NULL
18722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18724 if (SWIG_arg_fail(1)) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 wxSize
* resultptr
;
18734 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18743 static PyObject
*_wrap_PyWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
= NULL
;
18745 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "self", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
18752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18753 if (SWIG_arg_fail(1)) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 (arg1
)->InitDialog();
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 Py_INCREF(Py_None
); resultobj
= Py_None
;
18768 static PyObject
*_wrap_PyWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
= NULL
;
18770 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18772 PyObject
* obj0
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18779 if (SWIG_arg_fail(1)) SWIG_fail
;
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 result
= (bool)(arg1
)->TransferDataToWindow();
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18796 static PyObject
*_wrap_PyWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
= NULL
;
18798 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18800 PyObject
* obj0
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18807 if (SWIG_arg_fail(1)) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (bool)(arg1
)->TransferDataFromWindow();
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18824 static PyObject
*_wrap_PyWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
= NULL
;
18826 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18828 PyObject
* obj0
= 0 ;
18829 char *kwnames
[] = {
18830 (char *) "self", NULL
18833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_Validate",kwnames
,&obj0
)) goto fail
;
18834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18835 if (SWIG_arg_fail(1)) SWIG_fail
;
18837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 result
= (bool)(arg1
)->Validate();
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18852 static PyObject
*_wrap_PyWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
= NULL
;
18854 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18856 PyObject
* obj0
= 0 ;
18857 char *kwnames
[] = {
18858 (char *) "self", NULL
18861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18863 if (SWIG_arg_fail(1)) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocus();
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18880 static PyObject
*_wrap_PyWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
= NULL
;
18882 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18884 PyObject
* obj0
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18891 if (SWIG_arg_fail(1)) SWIG_fail
;
18893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18894 result
= (bool)((wxPyWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
18896 wxPyEndAllowThreads(__tstate
);
18897 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18908 static PyObject
*_wrap_PyWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
= NULL
;
18910 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18919 if (SWIG_arg_fail(1)) SWIG_fail
;
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 result
= ((wxPyWindow
const *)arg1
)->GetMaxSize();
18924 wxPyEndAllowThreads(__tstate
);
18925 if (PyErr_Occurred()) SWIG_fail
;
18928 wxSize
* resultptr
;
18929 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18938 static PyObject
*_wrap_PyWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
= NULL
;
18940 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18941 wxWindow
*arg2
= (wxWindow
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 char *kwnames
[] = {
18945 (char *) "self",(char *) "child", NULL
18948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18950 if (SWIG_arg_fail(1)) SWIG_fail
;
18951 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18952 if (SWIG_arg_fail(2)) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->AddChild(arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_PyWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
= NULL
;
18969 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18970 wxWindow
*arg2
= (wxWindow
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self",(char *) "child", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18979 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18981 if (SWIG_arg_fail(2)) SWIG_fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 (arg1
)->RemoveChild(arg2
);
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 Py_INCREF(Py_None
); resultobj
= Py_None
;
18996 static PyObject
*_wrap_PyWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
= NULL
;
18998 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19000 PyObject
* obj0
= 0 ;
19001 char *kwnames
[] = {
19002 (char *) "self", NULL
19005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19007 if (SWIG_arg_fail(1)) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (bool)((wxPyWindow
const *)arg1
)->ShouldInheritColours();
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19024 static PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
= NULL
;
19026 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19027 wxVisualAttributes result
;
19028 PyObject
* obj0
= 0 ;
19029 char *kwnames
[] = {
19030 (char *) "self", NULL
19033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19035 if (SWIG_arg_fail(1)) SWIG_fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= (arg1
)->GetDefaultAttributes();
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19044 wxVisualAttributes
* resultptr
;
19045 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19054 static PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
= NULL
;
19056 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19064 if (SWIG_arg_fail(1)) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 (arg1
)->OnInternalIdle();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
19081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19082 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
19084 return Py_BuildValue((char *)"");
19086 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
= NULL
;
19088 wxWindow
*arg1
= (wxWindow
*) 0 ;
19089 int arg2
= (int) (int)-1 ;
19090 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19091 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19092 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19093 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19094 long arg5
= (long) 0 ;
19095 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19096 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19100 bool temp6
= false ;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 PyObject
* obj2
= 0 ;
19104 PyObject
* obj3
= 0 ;
19105 PyObject
* obj4
= 0 ;
19106 PyObject
* obj5
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19113 if (SWIG_arg_fail(1)) SWIG_fail
;
19116 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19117 if (SWIG_arg_fail(2)) SWIG_fail
;
19123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19129 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19134 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19135 if (SWIG_arg_fail(5)) SWIG_fail
;
19140 arg6
= wxString_in_helper(obj5
);
19141 if (arg6
== NULL
) SWIG_fail
;
19146 if (!wxPyCheckForApp()) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19168 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
= NULL
;
19171 char *kwnames
[] = {
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
19177 if (!wxPyCheckForApp()) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (wxPyPanel
*)new wxPyPanel();
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19191 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
= NULL
;
19193 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19194 PyObject
*arg2
= (PyObject
*) 0 ;
19195 PyObject
*arg3
= (PyObject
*) 0 ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 PyObject
* obj2
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "self",(char *) "_class", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19205 if (SWIG_arg_fail(1)) SWIG_fail
;
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19210 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19212 wxPyEndAllowThreads(__tstate
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 Py_INCREF(Py_None
); resultobj
= Py_None
;
19222 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
= NULL
;
19224 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "size", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19235 if (SWIG_arg_fail(1)) SWIG_fail
;
19238 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
= NULL
;
19256 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19257 wxDC
*arg2
= (wxDC
*) 0 ;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self",(char *) "dc", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19267 if (SWIG_arg_fail(1)) SWIG_fail
;
19268 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19269 if (SWIG_arg_fail(2)) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19286 static PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
= NULL
;
19288 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 PyObject
* obj2
= 0 ;
19296 PyObject
* obj3
= 0 ;
19297 PyObject
* obj4
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19304 if (SWIG_arg_fail(1)) SWIG_fail
;
19306 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19307 if (SWIG_arg_fail(2)) SWIG_fail
;
19310 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19311 if (SWIG_arg_fail(3)) SWIG_fail
;
19314 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19315 if (SWIG_arg_fail(4)) SWIG_fail
;
19318 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19319 if (SWIG_arg_fail(5)) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 Py_INCREF(Py_None
); resultobj
= Py_None
;
19335 static PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
= NULL
;
19337 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19342 int arg6
= (int) wxSIZE_AUTO
;
19343 PyObject
* obj0
= 0 ;
19344 PyObject
* obj1
= 0 ;
19345 PyObject
* obj2
= 0 ;
19346 PyObject
* obj3
= 0 ;
19347 PyObject
* obj4
= 0 ;
19348 PyObject
* obj5
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19355 if (SWIG_arg_fail(1)) SWIG_fail
;
19357 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19358 if (SWIG_arg_fail(2)) SWIG_fail
;
19361 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19362 if (SWIG_arg_fail(3)) SWIG_fail
;
19365 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19366 if (SWIG_arg_fail(4)) SWIG_fail
;
19369 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19370 if (SWIG_arg_fail(5)) SWIG_fail
;
19374 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19375 if (SWIG_arg_fail(6)) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 Py_INCREF(Py_None
); resultobj
= Py_None
;
19392 static PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
= NULL
;
19394 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 PyObject
* obj1
= 0 ;
19399 PyObject
* obj2
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "width",(char *) "height", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19406 if (SWIG_arg_fail(1)) SWIG_fail
;
19408 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19409 if (SWIG_arg_fail(2)) SWIG_fail
;
19412 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19413 if (SWIG_arg_fail(3)) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 (arg1
)->DoSetClientSize(arg2
,arg3
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 Py_INCREF(Py_None
); resultobj
= Py_None
;
19429 static PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= NULL
;
19431 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 PyObject
* obj1
= 0 ;
19436 PyObject
* obj2
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self",(char *) "x",(char *) "y", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19443 if (SWIG_arg_fail(1)) SWIG_fail
;
19445 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19446 if (SWIG_arg_fail(2)) SWIG_fail
;
19449 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19450 if (SWIG_arg_fail(3)) SWIG_fail
;
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
19456 wxPyEndAllowThreads(__tstate
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 Py_INCREF(Py_None
); resultobj
= Py_None
;
19466 static PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
= NULL
;
19468 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19469 int *arg2
= (int *) 0 ;
19470 int *arg3
= (int *) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "self", NULL
19480 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19481 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetSize",kwnames
,&obj0
)) goto fail
;
19483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19484 if (SWIG_arg_fail(1)) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19494 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19495 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19496 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19503 static PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
= NULL
;
19505 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19506 int *arg2
= (int *) 0 ;
19507 int *arg3
= (int *) 0 ;
19512 PyObject
* obj0
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self", NULL
19517 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19518 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19521 if (SWIG_arg_fail(1)) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 Py_INCREF(Py_None
); resultobj
= Py_None
;
19530 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19531 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19532 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19533 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19540 static PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
= NULL
;
19542 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19543 int *arg2
= (int *) 0 ;
19544 int *arg3
= (int *) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19554 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19555 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19558 if (SWIG_arg_fail(1)) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 Py_INCREF(Py_None
); resultobj
= Py_None
;
19567 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19568 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19569 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19570 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19577 static PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19578 PyObject
*resultobj
= NULL
;
19579 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19581 PyObject
* obj0
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19588 if (SWIG_arg_fail(1)) SWIG_fail
;
19590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19591 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19597 wxSize
* resultptr
;
19598 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19607 static PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
= NULL
;
19609 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19618 if (SWIG_arg_fail(1)) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19627 wxSize
* resultptr
;
19628 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19637 static PyObject
*_wrap_PyPanel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
= NULL
;
19639 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "self", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_InitDialog",kwnames
,&obj0
)) goto fail
;
19646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19647 if (SWIG_arg_fail(1)) SWIG_fail
;
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->InitDialog();
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 Py_INCREF(Py_None
); resultobj
= Py_None
;
19662 static PyObject
*_wrap_PyPanel_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
= NULL
;
19664 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19666 PyObject
* obj0
= 0 ;
19667 char *kwnames
[] = {
19668 (char *) "self", NULL
19671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19673 if (SWIG_arg_fail(1)) SWIG_fail
;
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= (bool)(arg1
)->TransferDataToWindow();
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19690 static PyObject
*_wrap_PyPanel_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
= NULL
;
19692 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19694 PyObject
* obj0
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19701 if (SWIG_arg_fail(1)) SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 result
= (bool)(arg1
)->TransferDataFromWindow();
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19718 static PyObject
*_wrap_PyPanel_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19719 PyObject
*resultobj
= NULL
;
19720 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19722 PyObject
* obj0
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_Validate",kwnames
,&obj0
)) goto fail
;
19728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19729 if (SWIG_arg_fail(1)) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 result
= (bool)(arg1
)->Validate();
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19746 static PyObject
*_wrap_PyPanel_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19747 PyObject
*resultobj
= NULL
;
19748 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19750 PyObject
* obj0
= 0 ;
19751 char *kwnames
[] = {
19752 (char *) "self", NULL
19755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19757 if (SWIG_arg_fail(1)) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocus();
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19774 static PyObject
*_wrap_PyPanel_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19775 PyObject
*resultobj
= NULL
;
19776 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "self", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19785 if (SWIG_arg_fail(1)) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (bool)((wxPyPanel
const *)arg1
)->AcceptsFocusFromKeyboard();
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19802 static PyObject
*_wrap_PyPanel_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
= NULL
;
19804 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19813 if (SWIG_arg_fail(1)) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= ((wxPyPanel
const *)arg1
)->GetMaxSize();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19822 wxSize
* resultptr
;
19823 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19832 static PyObject
*_wrap_PyPanel_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
= NULL
;
19834 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19835 wxWindow
*arg2
= (wxWindow
*) 0 ;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "child", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19844 if (SWIG_arg_fail(1)) SWIG_fail
;
19845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19846 if (SWIG_arg_fail(2)) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 (arg1
)->AddChild(arg2
);
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 Py_INCREF(Py_None
); resultobj
= Py_None
;
19861 static PyObject
*_wrap_PyPanel_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
= NULL
;
19863 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19864 wxWindow
*arg2
= (wxWindow
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "child", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19873 if (SWIG_arg_fail(1)) SWIG_fail
;
19874 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19875 if (SWIG_arg_fail(2)) SWIG_fail
;
19877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19878 (arg1
)->RemoveChild(arg2
);
19880 wxPyEndAllowThreads(__tstate
);
19881 if (PyErr_Occurred()) SWIG_fail
;
19883 Py_INCREF(Py_None
); resultobj
= Py_None
;
19890 static PyObject
*_wrap_PyPanel_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19891 PyObject
*resultobj
= NULL
;
19892 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19894 PyObject
* obj0
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19901 if (SWIG_arg_fail(1)) SWIG_fail
;
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (bool)((wxPyPanel
const *)arg1
)->ShouldInheritColours();
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19918 static PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19919 PyObject
*resultobj
= NULL
;
19920 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19921 wxVisualAttributes result
;
19922 PyObject
* obj0
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19929 if (SWIG_arg_fail(1)) SWIG_fail
;
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (arg1
)->GetDefaultAttributes();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19938 wxVisualAttributes
* resultptr
;
19939 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19948 static PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
= NULL
;
19950 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19958 if (SWIG_arg_fail(1)) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->OnInternalIdle();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 Py_INCREF(Py_None
); resultobj
= Py_None
;
19973 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19976 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19978 return Py_BuildValue((char *)"");
19980 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
= NULL
;
19982 wxWindow
*arg1
= (wxWindow
*) 0 ;
19983 int arg2
= (int) (int)-1 ;
19984 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19985 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19986 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19987 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19988 long arg5
= (long) 0 ;
19989 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19990 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19991 wxPyScrolledWindow
*result
;
19994 bool temp6
= false ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 PyObject
* obj2
= 0 ;
19998 PyObject
* obj3
= 0 ;
19999 PyObject
* obj4
= 0 ;
20000 PyObject
* obj5
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20007 if (SWIG_arg_fail(1)) SWIG_fail
;
20010 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
20011 if (SWIG_arg_fail(2)) SWIG_fail
;
20017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20028 arg5
= static_cast<long >(SWIG_As_long(obj4
));
20029 if (SWIG_arg_fail(5)) SWIG_fail
;
20034 arg6
= wxString_in_helper(obj5
);
20035 if (arg6
== NULL
) SWIG_fail
;
20040 if (!wxPyCheckForApp()) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
20062 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
= NULL
;
20064 wxPyScrolledWindow
*result
;
20065 char *kwnames
[] = {
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
20071 if (!wxPyCheckForApp()) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
20085 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
= NULL
;
20087 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20088 PyObject
*arg2
= (PyObject
*) 0 ;
20089 PyObject
*arg3
= (PyObject
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 PyObject
* obj2
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "self",(char *) "_class", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20099 if (SWIG_arg_fail(1)) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 Py_INCREF(Py_None
); resultobj
= Py_None
;
20116 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
= NULL
;
20118 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "size", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20129 if (SWIG_arg_fail(1)) SWIG_fail
;
20132 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20136 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 Py_INCREF(Py_None
); resultobj
= Py_None
;
20148 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20149 PyObject
*resultobj
= NULL
;
20150 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20151 wxDC
*arg2
= (wxDC
*) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self",(char *) "dc", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20161 if (SWIG_arg_fail(1)) SWIG_fail
;
20162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20163 if (SWIG_arg_fail(2)) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20180 static PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
= NULL
;
20182 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 PyObject
* obj2
= 0 ;
20190 PyObject
* obj3
= 0 ;
20191 PyObject
* obj4
= 0 ;
20192 char *kwnames
[] = {
20193 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20198 if (SWIG_arg_fail(1)) SWIG_fail
;
20200 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20201 if (SWIG_arg_fail(2)) SWIG_fail
;
20204 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20205 if (SWIG_arg_fail(3)) SWIG_fail
;
20208 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20209 if (SWIG_arg_fail(4)) SWIG_fail
;
20212 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20213 if (SWIG_arg_fail(5)) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 Py_INCREF(Py_None
); resultobj
= Py_None
;
20229 static PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
= NULL
;
20231 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20236 int arg6
= (int) wxSIZE_AUTO
;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 PyObject
* obj2
= 0 ;
20240 PyObject
* obj3
= 0 ;
20241 PyObject
* obj4
= 0 ;
20242 PyObject
* obj5
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20249 if (SWIG_arg_fail(1)) SWIG_fail
;
20251 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20252 if (SWIG_arg_fail(2)) SWIG_fail
;
20255 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20256 if (SWIG_arg_fail(3)) SWIG_fail
;
20259 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20260 if (SWIG_arg_fail(4)) SWIG_fail
;
20263 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20264 if (SWIG_arg_fail(5)) SWIG_fail
;
20268 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20269 if (SWIG_arg_fail(6)) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 Py_INCREF(Py_None
); resultobj
= Py_None
;
20286 static PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
= NULL
;
20288 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20293 PyObject
* obj2
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "width",(char *) "height", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20300 if (SWIG_arg_fail(1)) SWIG_fail
;
20302 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20303 if (SWIG_arg_fail(2)) SWIG_fail
;
20306 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20307 if (SWIG_arg_fail(3)) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 (arg1
)->DoSetClientSize(arg2
,arg3
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
= NULL
;
20325 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 PyObject
* obj2
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self",(char *) "x",(char *) "y", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail
;
20339 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20340 if (SWIG_arg_fail(2)) SWIG_fail
;
20343 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20344 if (SWIG_arg_fail(3)) SWIG_fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20353 Py_INCREF(Py_None
); resultobj
= Py_None
;
20360 static PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20361 PyObject
*resultobj
= NULL
;
20362 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20363 int *arg2
= (int *) 0 ;
20364 int *arg3
= (int *) 0 ;
20369 PyObject
* obj0
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self", NULL
20374 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20375 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetSize",kwnames
,&obj0
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20386 Py_INCREF(Py_None
); resultobj
= Py_None
;
20387 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20388 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20389 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20390 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20397 static PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
= NULL
;
20399 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20400 int *arg2
= (int *) 0 ;
20401 int *arg3
= (int *) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self", NULL
20411 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20412 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20415 if (SWIG_arg_fail(1)) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 Py_INCREF(Py_None
); resultobj
= Py_None
;
20424 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20425 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20426 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20427 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20434 static PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
= NULL
;
20436 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20437 int *arg2
= (int *) 0 ;
20438 int *arg3
= (int *) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 char *kwnames
[] = {
20445 (char *) "self", NULL
20448 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20449 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20452 if (SWIG_arg_fail(1)) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 Py_INCREF(Py_None
); resultobj
= Py_None
;
20461 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20462 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20463 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20464 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20471 static PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
= NULL
;
20473 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20482 if (SWIG_arg_fail(1)) SWIG_fail
;
20484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20485 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20491 wxSize
* resultptr
;
20492 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20501 static PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
= NULL
;
20503 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20512 if (SWIG_arg_fail(1)) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20521 wxSize
* resultptr
;
20522 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20531 static PyObject
*_wrap_PyScrolledWindow_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
= NULL
;
20533 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_InitDialog",kwnames
,&obj0
)) goto fail
;
20540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20541 if (SWIG_arg_fail(1)) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 (arg1
)->InitDialog();
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 Py_INCREF(Py_None
); resultobj
= Py_None
;
20556 static PyObject
*_wrap_PyScrolledWindow_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
= NULL
;
20558 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20567 if (SWIG_arg_fail(1)) SWIG_fail
;
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (bool)(arg1
)->TransferDataToWindow();
20572 wxPyEndAllowThreads(__tstate
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20584 static PyObject
*_wrap_PyScrolledWindow_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
= NULL
;
20586 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "self", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20595 if (SWIG_arg_fail(1)) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (bool)(arg1
)->TransferDataFromWindow();
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20612 static PyObject
*_wrap_PyScrolledWindow_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
= NULL
;
20614 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_Validate",kwnames
,&obj0
)) goto fail
;
20622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20623 if (SWIG_arg_fail(1)) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)(arg1
)->Validate();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20640 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
= NULL
;
20642 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20644 PyObject
* obj0
= 0 ;
20645 char *kwnames
[] = {
20646 (char *) "self", NULL
20649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20651 if (SWIG_arg_fail(1)) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocus();
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20668 static PyObject
*_wrap_PyScrolledWindow_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
= NULL
;
20670 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20679 if (SWIG_arg_fail(1)) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20696 static PyObject
*_wrap_PyScrolledWindow_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
= NULL
;
20698 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20707 if (SWIG_arg_fail(1)) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= ((wxPyScrolledWindow
const *)arg1
)->GetMaxSize();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20716 wxSize
* resultptr
;
20717 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20726 static PyObject
*_wrap_PyScrolledWindow_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
= NULL
;
20728 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20729 wxWindow
*arg2
= (wxWindow
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self",(char *) "child", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20738 if (SWIG_arg_fail(1)) SWIG_fail
;
20739 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20740 if (SWIG_arg_fail(2)) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 (arg1
)->AddChild(arg2
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20755 static PyObject
*_wrap_PyScrolledWindow_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
= NULL
;
20757 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20758 wxWindow
*arg2
= (wxWindow
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "child", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20767 if (SWIG_arg_fail(1)) SWIG_fail
;
20768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20769 if (SWIG_arg_fail(2)) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 (arg1
)->RemoveChild(arg2
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 Py_INCREF(Py_None
); resultobj
= Py_None
;
20784 static PyObject
*_wrap_PyScrolledWindow_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
= NULL
;
20786 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20795 if (SWIG_arg_fail(1)) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->ShouldInheritColours();
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20812 static PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
= NULL
;
20814 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20815 wxVisualAttributes result
;
20816 PyObject
* obj0
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (arg1
)->GetDefaultAttributes();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20832 wxVisualAttributes
* resultptr
;
20833 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20842 static PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
= NULL
;
20844 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20845 PyObject
* obj0
= 0 ;
20846 char *kwnames
[] = {
20847 (char *) "self", NULL
20850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20852 if (SWIG_arg_fail(1)) SWIG_fail
;
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 (arg1
)->OnInternalIdle();
20857 wxPyEndAllowThreads(__tstate
);
20858 if (PyErr_Occurred()) SWIG_fail
;
20860 Py_INCREF(Py_None
); resultobj
= Py_None
;
20867 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20870 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20872 return Py_BuildValue((char *)"");
20874 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20875 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20880 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20881 PyObject
*pyobj
= NULL
;
20885 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20887 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20894 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20895 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20900 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20901 PyObject
*pyobj
= NULL
;
20905 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20907 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20914 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20915 PyObject
*resultobj
= NULL
;
20916 wxPrintData
*result
;
20918 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (wxPrintData
*)new wxPrintData();
20923 wxPyEndAllowThreads(__tstate
);
20924 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20933 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20934 PyObject
*resultobj
= NULL
;
20935 wxPrintData
*arg1
= 0 ;
20936 wxPrintData
*result
;
20937 PyObject
* obj0
= 0 ;
20939 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20942 if (SWIG_arg_fail(1)) SWIG_fail
;
20943 if (arg1
== NULL
) {
20944 SWIG_null_ref("wxPrintData");
20946 if (SWIG_arg_fail(1)) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20962 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20967 argc
= PyObject_Length(args
);
20968 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20969 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20972 return _wrap_new_PrintData__SWIG_0(self
,args
);
20978 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20986 return _wrap_new_PrintData__SWIG_1(self
,args
);
20990 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20995 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
= NULL
;
20997 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
21004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 Py_INCREF(Py_None
); resultobj
= Py_None
;
21020 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
= NULL
;
21022 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21024 PyObject
* obj0
= 0 ;
21025 char *kwnames
[] = {
21026 (char *) "self", NULL
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21031 if (SWIG_arg_fail(1)) SWIG_fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (int)(arg1
)->GetNoCopies();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= SWIG_From_int(static_cast<int >(result
));
21048 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
= NULL
;
21050 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "self", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
21058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21059 if (SWIG_arg_fail(1)) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= (bool)(arg1
)->GetCollate();
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21076 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
= NULL
;
21078 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21080 PyObject
* obj0
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
21086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21087 if (SWIG_arg_fail(1)) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (int)(arg1
)->GetOrientation();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= SWIG_From_int(static_cast<int >(result
));
21104 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
= NULL
;
21106 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21108 PyObject
* obj0
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
21114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21115 if (SWIG_arg_fail(1)) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (bool)(arg1
)->Ok();
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21132 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
= NULL
;
21134 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
21142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21143 if (SWIG_arg_fail(1)) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
21148 result
= (wxString
*) &_result_ref
;
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21158 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21167 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
= NULL
;
21169 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21171 PyObject
* obj0
= 0 ;
21172 char *kwnames
[] = {
21173 (char *) "self", NULL
21176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
21177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21178 if (SWIG_arg_fail(1)) SWIG_fail
;
21180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21181 result
= (bool)(arg1
)->GetColour();
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21195 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
= NULL
;
21197 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21198 wxDuplexMode result
;
21199 PyObject
* obj0
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
21205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21206 if (SWIG_arg_fail(1)) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_From_int((result
));
21221 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
= NULL
;
21223 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21224 wxPaperSize result
;
21225 PyObject
* obj0
= 0 ;
21226 char *kwnames
[] = {
21227 (char *) "self", NULL
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
21231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21232 if (SWIG_arg_fail(1)) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 result
= (wxPaperSize
)(arg1
)->GetPaperId();
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_From_int((result
));
21247 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
= NULL
;
21249 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21251 PyObject
* obj0
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "self", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
21257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21258 if (SWIG_arg_fail(1)) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
21263 result
= (wxSize
*) &_result_ref
;
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21276 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= NULL
;
21278 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 char *kwnames
[] = {
21282 (char *) "self", NULL
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21287 if (SWIG_arg_fail(1)) SWIG_fail
;
21289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21290 result
= (int)(arg1
)->GetQuality();
21292 wxPyEndAllowThreads(__tstate
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21296 resultobj
= SWIG_From_int(static_cast<int >(result
));
21304 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21305 PyObject
*resultobj
= NULL
;
21306 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21308 PyObject
* obj0
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
21314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21315 if (SWIG_arg_fail(1)) SWIG_fail
;
21317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21318 result
= (wxPrintBin
)(arg1
)->GetBin();
21320 wxPyEndAllowThreads(__tstate
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 resultobj
= SWIG_From_int((result
));
21330 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
= NULL
;
21332 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21333 wxPrintMode result
;
21334 PyObject
* obj0
= 0 ;
21335 char *kwnames
[] = {
21336 (char *) "self", NULL
21339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21341 if (SWIG_arg_fail(1)) SWIG_fail
;
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21346 wxPyEndAllowThreads(__tstate
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 resultobj
= SWIG_From_int((result
));
21356 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
= NULL
;
21358 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21360 PyObject
* obj0
= 0 ;
21361 PyObject
* obj1
= 0 ;
21362 char *kwnames
[] = {
21363 (char *) "self",(char *) "v", NULL
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21368 if (SWIG_arg_fail(1)) SWIG_fail
;
21370 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21371 if (SWIG_arg_fail(2)) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 (arg1
)->SetNoCopies(arg2
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
= NULL
;
21389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self",(char *) "flag", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21399 if (SWIG_arg_fail(1)) SWIG_fail
;
21401 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21402 if (SWIG_arg_fail(2)) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 (arg1
)->SetCollate(arg2
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 Py_INCREF(Py_None
); resultobj
= Py_None
;
21418 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
= NULL
;
21420 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "orient", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21430 if (SWIG_arg_fail(1)) SWIG_fail
;
21432 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21433 if (SWIG_arg_fail(2)) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 (arg1
)->SetOrientation(arg2
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 Py_INCREF(Py_None
); resultobj
= Py_None
;
21449 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
= NULL
;
21451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21452 wxString
*arg2
= 0 ;
21453 bool temp2
= false ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "name", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21462 if (SWIG_arg_fail(1)) SWIG_fail
;
21464 arg2
= wxString_in_helper(obj1
);
21465 if (arg2
== NULL
) SWIG_fail
;
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 Py_INCREF(Py_None
); resultobj
= Py_None
;
21490 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21491 PyObject
*resultobj
= NULL
;
21492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 char *kwnames
[] = {
21497 (char *) "self",(char *) "colour", NULL
21500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21502 if (SWIG_arg_fail(1)) SWIG_fail
;
21504 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21505 if (SWIG_arg_fail(2)) SWIG_fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 (arg1
)->SetColour(arg2
);
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 Py_INCREF(Py_None
); resultobj
= Py_None
;
21521 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
= NULL
;
21523 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21524 wxDuplexMode arg2
;
21525 PyObject
* obj0
= 0 ;
21526 PyObject
* obj1
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self",(char *) "duplex", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21533 if (SWIG_arg_fail(1)) SWIG_fail
;
21535 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21536 if (SWIG_arg_fail(2)) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 (arg1
)->SetDuplex(arg2
);
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 Py_INCREF(Py_None
); resultobj
= Py_None
;
21552 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
= NULL
;
21554 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21556 PyObject
* obj0
= 0 ;
21557 PyObject
* obj1
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self",(char *) "sizeId", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21564 if (SWIG_arg_fail(1)) SWIG_fail
;
21566 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21567 if (SWIG_arg_fail(2)) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 (arg1
)->SetPaperId(arg2
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 Py_INCREF(Py_None
); resultobj
= Py_None
;
21583 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
= NULL
;
21585 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self",(char *) "sz", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21596 if (SWIG_arg_fail(1)) SWIG_fail
;
21599 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 Py_INCREF(Py_None
); resultobj
= Py_None
;
21615 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
= NULL
;
21617 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "quality", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21627 if (SWIG_arg_fail(1)) SWIG_fail
;
21629 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21630 if (SWIG_arg_fail(2)) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 (arg1
)->SetQuality(arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 Py_INCREF(Py_None
); resultobj
= Py_None
;
21646 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
= NULL
;
21648 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 PyObject
* obj1
= 0 ;
21652 char *kwnames
[] = {
21653 (char *) "self",(char *) "bin", NULL
21656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21658 if (SWIG_arg_fail(1)) SWIG_fail
;
21660 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21661 if (SWIG_arg_fail(2)) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 (arg1
)->SetBin(arg2
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 Py_INCREF(Py_None
); resultobj
= Py_None
;
21677 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
= NULL
;
21679 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self",(char *) "printMode", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21689 if (SWIG_arg_fail(1)) SWIG_fail
;
21691 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21692 if (SWIG_arg_fail(2)) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 (arg1
)->SetPrintMode(arg2
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 Py_INCREF(Py_None
); resultobj
= Py_None
;
21708 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
= NULL
;
21710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21740 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
= NULL
;
21742 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21743 wxString
*arg2
= 0 ;
21744 bool temp2
= false ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char *kwnames
[] = {
21748 (char *) "self",(char *) "filename", NULL
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21753 if (SWIG_arg_fail(1)) SWIG_fail
;
21755 arg2
= wxString_in_helper(obj1
);
21756 if (arg2
== NULL
) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 (arg1
)->SetFilename((wxString
const &)*arg2
);
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 Py_INCREF(Py_None
); resultobj
= Py_None
;
21781 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
= NULL
;
21783 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21785 PyObject
* obj0
= 0 ;
21786 char *kwnames
[] = {
21787 (char *) "self", NULL
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21792 if (SWIG_arg_fail(1)) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= result
;
21807 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
= NULL
;
21809 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21810 PyObject
*arg2
= (PyObject
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 PyObject
* obj1
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self",(char *) "data", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21819 if (SWIG_arg_fail(1)) SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 wxPrintData_SetPrivData(arg1
,arg2
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 Py_INCREF(Py_None
); resultobj
= Py_None
;
21835 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21838 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21840 return Py_BuildValue((char *)"");
21842 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21843 PyObject
*resultobj
= NULL
;
21844 wxPageSetupDialogData
*result
;
21846 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21861 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21862 PyObject
*resultobj
= NULL
;
21863 wxPageSetupDialogData
*arg1
= 0 ;
21864 wxPageSetupDialogData
*result
;
21865 PyObject
* obj0
= 0 ;
21867 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21870 if (SWIG_arg_fail(1)) SWIG_fail
;
21871 if (arg1
== NULL
) {
21872 SWIG_null_ref("wxPageSetupDialogData");
21874 if (SWIG_arg_fail(1)) SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21890 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21891 PyObject
*resultobj
= NULL
;
21892 wxPrintData
*arg1
= 0 ;
21893 wxPageSetupDialogData
*result
;
21894 PyObject
* obj0
= 0 ;
21896 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21899 if (SWIG_arg_fail(1)) SWIG_fail
;
21900 if (arg1
== NULL
) {
21901 SWIG_null_ref("wxPrintData");
21903 if (SWIG_arg_fail(1)) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21919 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21924 argc
= PyObject_Length(args
);
21925 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21926 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21929 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21935 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21943 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21950 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21958 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21962 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21967 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
= NULL
;
21969 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21977 if (SWIG_arg_fail(1)) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 Py_INCREF(Py_None
); resultobj
= Py_None
;
21992 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
= NULL
;
21994 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "flag", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
22003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22004 if (SWIG_arg_fail(1)) SWIG_fail
;
22006 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22007 if (SWIG_arg_fail(2)) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 (arg1
)->EnableHelp(arg2
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 Py_INCREF(Py_None
); resultobj
= Py_None
;
22023 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
= NULL
;
22025 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22027 PyObject
* obj0
= 0 ;
22028 PyObject
* obj1
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self",(char *) "flag", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22035 if (SWIG_arg_fail(1)) SWIG_fail
;
22037 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22038 if (SWIG_arg_fail(2)) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 (arg1
)->EnableMargins(arg2
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 Py_INCREF(Py_None
); resultobj
= Py_None
;
22054 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22055 PyObject
*resultobj
= NULL
;
22056 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "flag", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22066 if (SWIG_arg_fail(1)) SWIG_fail
;
22068 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22069 if (SWIG_arg_fail(2)) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 (arg1
)->EnableOrientation(arg2
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 Py_INCREF(Py_None
); resultobj
= Py_None
;
22085 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
= NULL
;
22087 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22089 PyObject
* obj0
= 0 ;
22090 PyObject
* obj1
= 0 ;
22091 char *kwnames
[] = {
22092 (char *) "self",(char *) "flag", NULL
22095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22097 if (SWIG_arg_fail(1)) SWIG_fail
;
22099 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22100 if (SWIG_arg_fail(2)) SWIG_fail
;
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 (arg1
)->EnablePaper(arg2
);
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22109 Py_INCREF(Py_None
); resultobj
= Py_None
;
22116 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22117 PyObject
*resultobj
= NULL
;
22118 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 PyObject
* obj1
= 0 ;
22122 char *kwnames
[] = {
22123 (char *) "self",(char *) "flag", NULL
22126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22128 if (SWIG_arg_fail(1)) SWIG_fail
;
22130 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22131 if (SWIG_arg_fail(2)) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 (arg1
)->EnablePrinter(arg2
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 Py_INCREF(Py_None
); resultobj
= Py_None
;
22147 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
= NULL
;
22149 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22158 if (SWIG_arg_fail(1)) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= (bool)(arg1
)->GetDefaultMinMargins();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22175 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
= NULL
;
22177 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22186 if (SWIG_arg_fail(1)) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (bool)(arg1
)->GetEnableMargins();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22203 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= NULL
;
22205 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22214 if (SWIG_arg_fail(1)) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 result
= (bool)(arg1
)->GetEnableOrientation();
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22231 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
= NULL
;
22233 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22235 PyObject
* obj0
= 0 ;
22236 char *kwnames
[] = {
22237 (char *) "self", NULL
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22242 if (SWIG_arg_fail(1)) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (bool)(arg1
)->GetEnablePaper();
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22259 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22260 PyObject
*resultobj
= NULL
;
22261 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22270 if (SWIG_arg_fail(1)) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (bool)(arg1
)->GetEnablePrinter();
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22287 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
= NULL
;
22289 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22298 if (SWIG_arg_fail(1)) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= (bool)(arg1
)->GetEnableHelp();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22315 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
= NULL
;
22317 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22326 if (SWIG_arg_fail(1)) SWIG_fail
;
22328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22329 result
= (bool)(arg1
)->GetDefaultInfo();
22331 wxPyEndAllowThreads(__tstate
);
22332 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22343 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22344 PyObject
*resultobj
= NULL
;
22345 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22347 PyObject
* obj0
= 0 ;
22348 char *kwnames
[] = {
22349 (char *) "self", NULL
22352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22354 if (SWIG_arg_fail(1)) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (arg1
)->GetMarginTopLeft();
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22363 wxPoint
* resultptr
;
22364 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22373 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
= NULL
;
22375 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 result
= (arg1
)->GetMarginBottomRight();
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22393 wxPoint
* resultptr
;
22394 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22403 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22404 PyObject
*resultobj
= NULL
;
22405 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22414 if (SWIG_arg_fail(1)) SWIG_fail
;
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 result
= (arg1
)->GetMinMarginTopLeft();
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 wxPoint
* resultptr
;
22424 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22433 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
= NULL
;
22435 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (arg1
)->GetMinMarginBottomRight();
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 wxPoint
* resultptr
;
22454 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22463 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
= NULL
;
22465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22466 wxPaperSize result
;
22467 PyObject
* obj0
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22474 if (SWIG_arg_fail(1)) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 resultobj
= SWIG_From_int((result
));
22489 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
= NULL
;
22491 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22500 if (SWIG_arg_fail(1)) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= (arg1
)->GetPaperSize();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 wxSize
* resultptr
;
22510 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22519 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
= NULL
;
22521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22522 wxPrintData
*result
;
22523 PyObject
* obj0
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22530 if (SWIG_arg_fail(1)) SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22535 result
= (wxPrintData
*) &_result_ref
;
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22548 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
= NULL
;
22550 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (bool)(arg1
)->Ok();
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22576 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
= NULL
;
22578 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self",(char *) "flag", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22588 if (SWIG_arg_fail(1)) SWIG_fail
;
22590 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22591 if (SWIG_arg_fail(2)) SWIG_fail
;
22594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22595 (arg1
)->SetDefaultInfo(arg2
);
22597 wxPyEndAllowThreads(__tstate
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22600 Py_INCREF(Py_None
); resultobj
= Py_None
;
22607 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
= NULL
;
22609 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22611 PyObject
* obj0
= 0 ;
22612 PyObject
* obj1
= 0 ;
22613 char *kwnames
[] = {
22614 (char *) "self",(char *) "flag", NULL
22617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22619 if (SWIG_arg_fail(1)) SWIG_fail
;
22621 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22622 if (SWIG_arg_fail(2)) SWIG_fail
;
22625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22626 (arg1
)->SetDefaultMinMargins(arg2
);
22628 wxPyEndAllowThreads(__tstate
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 Py_INCREF(Py_None
); resultobj
= Py_None
;
22638 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
= NULL
;
22640 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22641 wxPoint
*arg2
= 0 ;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self",(char *) "pt", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22651 if (SWIG_arg_fail(1)) SWIG_fail
;
22654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22663 Py_INCREF(Py_None
); resultobj
= Py_None
;
22670 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
= NULL
;
22672 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22673 wxPoint
*arg2
= 0 ;
22675 PyObject
* obj0
= 0 ;
22676 PyObject
* obj1
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "self",(char *) "pt", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22683 if (SWIG_arg_fail(1)) SWIG_fail
;
22686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 Py_INCREF(Py_None
); resultobj
= Py_None
;
22702 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
= NULL
;
22704 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22705 wxPoint
*arg2
= 0 ;
22707 PyObject
* obj0
= 0 ;
22708 PyObject
* obj1
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "self",(char *) "pt", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22715 if (SWIG_arg_fail(1)) SWIG_fail
;
22718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 Py_INCREF(Py_None
); resultobj
= Py_None
;
22734 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
= NULL
;
22736 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22737 wxPoint
*arg2
= 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self",(char *) "pt", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22747 if (SWIG_arg_fail(1)) SWIG_fail
;
22750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 Py_INCREF(Py_None
); resultobj
= Py_None
;
22766 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
= NULL
;
22768 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 PyObject
* obj1
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self",(char *) "id", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22778 if (SWIG_arg_fail(1)) SWIG_fail
;
22780 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22781 if (SWIG_arg_fail(2)) SWIG_fail
;
22784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22785 (arg1
)->SetPaperId(arg2
);
22787 wxPyEndAllowThreads(__tstate
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 Py_INCREF(Py_None
); resultobj
= Py_None
;
22797 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22798 PyObject
*resultobj
= NULL
;
22799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self",(char *) "size", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail
;
22813 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22822 Py_INCREF(Py_None
); resultobj
= Py_None
;
22829 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
= NULL
;
22831 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22832 wxPrintData
*arg2
= 0 ;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self",(char *) "printData", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22841 if (SWIG_arg_fail(1)) SWIG_fail
;
22843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22844 if (SWIG_arg_fail(2)) SWIG_fail
;
22845 if (arg2
== NULL
) {
22846 SWIG_null_ref("wxPrintData");
22848 if (SWIG_arg_fail(2)) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 Py_INCREF(Py_None
); resultobj
= Py_None
;
22864 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
= NULL
;
22866 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22874 if (SWIG_arg_fail(1)) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 (arg1
)->CalculateIdFromPaperSize();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 Py_INCREF(Py_None
); resultobj
= Py_None
;
22889 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
= NULL
;
22891 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 (arg1
)->CalculatePaperSizeFromId();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22917 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22919 return Py_BuildValue((char *)"");
22921 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
= NULL
;
22923 wxWindow
*arg1
= (wxWindow
*) 0 ;
22924 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22925 wxPageSetupDialog
*result
;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "parent",(char *) "data", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22934 if (SWIG_arg_fail(1)) SWIG_fail
;
22936 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22937 if (SWIG_arg_fail(2)) SWIG_fail
;
22940 if (!wxPyCheckForApp()) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22954 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22955 PyObject
*resultobj
= NULL
;
22956 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22957 wxPageSetupDialogData
*result
;
22958 PyObject
* obj0
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22965 if (SWIG_arg_fail(1)) SWIG_fail
;
22967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22970 result
= (wxPageSetupDialogData
*) &_result_ref
;
22973 wxPyEndAllowThreads(__tstate
);
22974 if (PyErr_Occurred()) SWIG_fail
;
22976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22983 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22984 PyObject
*resultobj
= NULL
;
22985 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22986 wxPageSetupDialogData
*result
;
22987 PyObject
* obj0
= 0 ;
22988 char *kwnames
[] = {
22989 (char *) "self", NULL
22992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22994 if (SWIG_arg_fail(1)) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22999 result
= (wxPageSetupDialogData
*) &_result_ref
;
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
23012 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
= NULL
;
23014 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23023 if (SWIG_arg_fail(1)) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 result
= (int)(arg1
)->ShowModal();
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23032 resultobj
= SWIG_From_int(static_cast<int >(result
));
23040 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23043 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23045 return Py_BuildValue((char *)"");
23047 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23048 PyObject
*resultobj
= NULL
;
23049 wxPrintDialogData
*result
;
23051 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23066 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23067 PyObject
*resultobj
= NULL
;
23068 wxPrintData
*arg1
= 0 ;
23069 wxPrintDialogData
*result
;
23070 PyObject
* obj0
= 0 ;
23072 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23075 if (SWIG_arg_fail(1)) SWIG_fail
;
23076 if (arg1
== NULL
) {
23077 SWIG_null_ref("wxPrintData");
23079 if (SWIG_arg_fail(1)) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23095 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23096 PyObject
*resultobj
= NULL
;
23097 wxPrintDialogData
*arg1
= 0 ;
23098 wxPrintDialogData
*result
;
23099 PyObject
* obj0
= 0 ;
23101 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23104 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 if (arg1
== NULL
) {
23106 SWIG_null_ref("wxPrintDialogData");
23108 if (SWIG_arg_fail(1)) SWIG_fail
;
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23112 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23114 wxPyEndAllowThreads(__tstate
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23124 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23129 argc
= PyObject_Length(args
);
23130 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23131 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23134 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23140 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23148 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23155 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23163 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23167 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23172 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
= NULL
;
23174 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23182 if (SWIG_arg_fail(1)) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 Py_INCREF(Py_None
); resultobj
= Py_None
;
23197 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
= NULL
;
23199 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23208 if (SWIG_arg_fail(1)) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23217 resultobj
= SWIG_From_int(static_cast<int >(result
));
23225 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
= NULL
;
23227 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 char *kwnames
[] = {
23231 (char *) "self", NULL
23234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23236 if (SWIG_arg_fail(1)) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23245 resultobj
= SWIG_From_int(static_cast<int >(result
));
23253 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
= NULL
;
23255 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23257 PyObject
* obj0
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23264 if (SWIG_arg_fail(1)) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_From_int(static_cast<int >(result
));
23281 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
= NULL
;
23283 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23292 if (SWIG_arg_fail(1)) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= SWIG_From_int(static_cast<int >(result
));
23309 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
= NULL
;
23311 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23320 if (SWIG_arg_fail(1)) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= SWIG_From_int(static_cast<int >(result
));
23337 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
= NULL
;
23339 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23341 PyObject
* obj0
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23348 if (SWIG_arg_fail(1)) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23365 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
= NULL
;
23367 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23376 if (SWIG_arg_fail(1)) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23393 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
= NULL
;
23395 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23404 if (SWIG_arg_fail(1)) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23421 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23422 PyObject
*resultobj
= NULL
;
23423 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23432 if (SWIG_arg_fail(1)) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23435 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23449 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
= NULL
;
23451 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 PyObject
* obj1
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self",(char *) "v", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23461 if (SWIG_arg_fail(1)) SWIG_fail
;
23463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23464 if (SWIG_arg_fail(2)) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 (arg1
)->SetFromPage(arg2
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 Py_INCREF(Py_None
); resultobj
= Py_None
;
23480 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
= NULL
;
23482 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "v", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail
;
23494 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23495 if (SWIG_arg_fail(2)) SWIG_fail
;
23498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23499 (arg1
)->SetToPage(arg2
);
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 Py_INCREF(Py_None
); resultobj
= Py_None
;
23511 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
= NULL
;
23513 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 PyObject
* obj1
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self",(char *) "v", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23523 if (SWIG_arg_fail(1)) SWIG_fail
;
23525 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23526 if (SWIG_arg_fail(2)) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 (arg1
)->SetMinPage(arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 Py_INCREF(Py_None
); resultobj
= Py_None
;
23542 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
= NULL
;
23544 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 PyObject
* obj1
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self",(char *) "v", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23554 if (SWIG_arg_fail(1)) SWIG_fail
;
23556 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23557 if (SWIG_arg_fail(2)) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 (arg1
)->SetMaxPage(arg2
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 Py_INCREF(Py_None
); resultobj
= Py_None
;
23573 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
= NULL
;
23575 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "v", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23585 if (SWIG_arg_fail(1)) SWIG_fail
;
23587 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23588 if (SWIG_arg_fail(2)) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 (arg1
)->SetNoCopies(arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23604 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
= NULL
;
23606 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "flag", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23616 if (SWIG_arg_fail(1)) SWIG_fail
;
23618 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23619 if (SWIG_arg_fail(2)) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 (arg1
)->SetAllPages(arg2
);
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 Py_INCREF(Py_None
); resultobj
= Py_None
;
23635 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
= NULL
;
23637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self",(char *) "flag", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23647 if (SWIG_arg_fail(1)) SWIG_fail
;
23649 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23650 if (SWIG_arg_fail(2)) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 (arg1
)->SetSelection(arg2
);
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 Py_INCREF(Py_None
); resultobj
= Py_None
;
23666 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
= NULL
;
23668 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self",(char *) "flag", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23678 if (SWIG_arg_fail(1)) SWIG_fail
;
23680 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23681 if (SWIG_arg_fail(2)) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 (arg1
)->SetCollate(arg2
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 Py_INCREF(Py_None
); resultobj
= Py_None
;
23697 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
= NULL
;
23699 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23701 PyObject
* obj0
= 0 ;
23702 PyObject
* obj1
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self",(char *) "flag", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail
;
23711 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23712 if (SWIG_arg_fail(2)) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->SetPrintToFile(arg2
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 Py_INCREF(Py_None
); resultobj
= Py_None
;
23728 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
= NULL
;
23730 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23732 PyObject
* obj0
= 0 ;
23733 PyObject
* obj1
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "self",(char *) "flag", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23740 if (SWIG_arg_fail(1)) SWIG_fail
;
23742 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23743 if (SWIG_arg_fail(2)) SWIG_fail
;
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 (arg1
)->EnablePrintToFile(arg2
);
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 Py_INCREF(Py_None
); resultobj
= Py_None
;
23759 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
= NULL
;
23761 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23763 PyObject
* obj0
= 0 ;
23764 PyObject
* obj1
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self",(char *) "flag", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23771 if (SWIG_arg_fail(1)) SWIG_fail
;
23773 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23774 if (SWIG_arg_fail(2)) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 (arg1
)->EnableSelection(arg2
);
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 Py_INCREF(Py_None
); resultobj
= Py_None
;
23790 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
= NULL
;
23792 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 PyObject
* obj1
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self",(char *) "flag", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23802 if (SWIG_arg_fail(1)) SWIG_fail
;
23804 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23805 if (SWIG_arg_fail(2)) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 (arg1
)->EnablePageNumbers(arg2
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 Py_INCREF(Py_None
); resultobj
= Py_None
;
23821 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
= NULL
;
23823 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self",(char *) "flag", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23833 if (SWIG_arg_fail(1)) SWIG_fail
;
23835 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23836 if (SWIG_arg_fail(2)) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 (arg1
)->EnableHelp(arg2
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 Py_INCREF(Py_None
); resultobj
= Py_None
;
23852 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
= NULL
;
23854 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23856 PyObject
* obj0
= 0 ;
23857 char *kwnames
[] = {
23858 (char *) "self", NULL
23861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23863 if (SWIG_arg_fail(1)) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23880 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
= NULL
;
23882 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23884 PyObject
* obj0
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23891 if (SWIG_arg_fail(1)) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23908 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
= NULL
;
23910 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23919 if (SWIG_arg_fail(1)) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23936 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
= NULL
;
23938 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23940 PyObject
* obj0
= 0 ;
23941 char *kwnames
[] = {
23942 (char *) "self", NULL
23945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23947 if (SWIG_arg_fail(1)) SWIG_fail
;
23949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23950 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23964 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
= NULL
;
23966 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23968 PyObject
* obj0
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23975 if (SWIG_arg_fail(1)) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23992 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
= NULL
;
23994 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23995 wxPrintData
*result
;
23996 PyObject
* obj0
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
24002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24003 if (SWIG_arg_fail(1)) SWIG_fail
;
24005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24008 result
= (wxPrintData
*) &_result_ref
;
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24021 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
= NULL
;
24023 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24024 wxPrintData
*arg2
= 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self",(char *) "printData", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24033 if (SWIG_arg_fail(1)) SWIG_fail
;
24035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24036 if (SWIG_arg_fail(2)) SWIG_fail
;
24037 if (arg2
== NULL
) {
24038 SWIG_null_ref("wxPrintData");
24040 if (SWIG_arg_fail(2)) SWIG_fail
;
24043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24044 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 Py_INCREF(Py_None
); resultobj
= Py_None
;
24056 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24059 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24061 return Py_BuildValue((char *)"");
24063 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
= NULL
;
24065 wxWindow
*arg1
= (wxWindow
*) 0 ;
24066 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24067 wxPrintDialog
*result
;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "parent",(char *) "data", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24076 if (SWIG_arg_fail(1)) SWIG_fail
;
24078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24079 if (SWIG_arg_fail(2)) SWIG_fail
;
24082 if (!wxPyCheckForApp()) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24096 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
= NULL
;
24098 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24100 PyObject
* obj0
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24107 if (SWIG_arg_fail(1)) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (int)(arg1
)->ShowModal();
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_From_int(static_cast<int >(result
));
24124 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
= NULL
;
24126 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24127 wxPrintDialogData
*result
;
24128 PyObject
* obj0
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24135 if (SWIG_arg_fail(1)) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24140 result
= (wxPrintDialogData
*) &_result_ref
;
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24153 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
= NULL
;
24155 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24156 wxPrintData
*result
;
24157 PyObject
* obj0
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24164 if (SWIG_arg_fail(1)) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24169 result
= (wxPrintData
*) &_result_ref
;
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24182 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
= NULL
;
24184 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "self", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24193 if (SWIG_arg_fail(1)) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= (wxDC
*)(arg1
)->GetPrintDC();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24210 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24213 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24215 return Py_BuildValue((char *)"");
24217 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
= NULL
;
24219 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "data", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24229 if (SWIG_arg_fail(1)) SWIG_fail
;
24232 if (!wxPyCheckForApp()) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (wxPrinter
*)new wxPrinter(arg1
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24246 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
= NULL
;
24248 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24256 if (SWIG_arg_fail(1)) SWIG_fail
;
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 Py_INCREF(Py_None
); resultobj
= Py_None
;
24271 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
= NULL
;
24273 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24274 wxWindow
*arg2
= (wxWindow
*) 0 ;
24275 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 PyObject
* obj1
= 0 ;
24279 PyObject
* obj2
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "parent",(char *) "printout", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24286 if (SWIG_arg_fail(1)) SWIG_fail
;
24287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24288 if (SWIG_arg_fail(2)) SWIG_fail
;
24289 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24290 if (SWIG_arg_fail(3)) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= wxPyMake_wxObject(result
, 0);
24307 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
= NULL
;
24309 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24310 wxWindow
*arg2
= (wxWindow
*) 0 ;
24311 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24312 wxString
*arg4
= 0 ;
24313 bool temp4
= false ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 PyObject
* obj2
= 0 ;
24317 PyObject
* obj3
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24324 if (SWIG_arg_fail(1)) SWIG_fail
;
24325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24326 if (SWIG_arg_fail(2)) SWIG_fail
;
24327 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24328 if (SWIG_arg_fail(3)) SWIG_fail
;
24330 arg4
= wxString_in_helper(obj3
);
24331 if (arg4
== NULL
) SWIG_fail
;
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 Py_INCREF(Py_None
); resultobj
= Py_None
;
24356 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= NULL
;
24358 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24359 wxWindow
*arg2
= (wxWindow
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "parent", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24369 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(2)) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (bool)(arg1
)->Setup(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24388 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= NULL
;
24390 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24391 wxWindow
*arg2
= (wxWindow
*) 0 ;
24392 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24393 bool arg4
= (bool) true ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 PyObject
* obj2
= 0 ;
24398 PyObject
* obj3
= 0 ;
24399 char *kwnames
[] = {
24400 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24405 if (SWIG_arg_fail(1)) SWIG_fail
;
24406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24407 if (SWIG_arg_fail(2)) SWIG_fail
;
24408 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24409 if (SWIG_arg_fail(3)) SWIG_fail
;
24412 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24413 if (SWIG_arg_fail(4)) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24432 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
= NULL
;
24434 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24435 wxWindow
*arg2
= (wxWindow
*) 0 ;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self",(char *) "parent", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24445 if (SWIG_arg_fail(1)) SWIG_fail
;
24446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24447 if (SWIG_arg_fail(2)) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24464 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
= NULL
;
24466 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24467 wxPrintDialogData
*result
;
24468 PyObject
* obj0
= 0 ;
24469 char *kwnames
[] = {
24470 (char *) "self", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24475 if (SWIG_arg_fail(1)) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24480 result
= (wxPrintDialogData
*) &_result_ref
;
24483 wxPyEndAllowThreads(__tstate
);
24484 if (PyErr_Occurred()) SWIG_fail
;
24486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24493 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24494 PyObject
*resultobj
= NULL
;
24495 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24497 PyObject
* obj0
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24504 if (SWIG_arg_fail(1)) SWIG_fail
;
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 result
= (bool)(arg1
)->GetAbort();
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24521 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= NULL
;
24523 wxPrinterError result
;
24524 char *kwnames
[] = {
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24531 result
= (wxPrinterError
)wxPrinter::GetLastError();
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_From_int((result
));
24543 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24546 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24548 return Py_BuildValue((char *)"");
24550 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
= NULL
;
24552 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24553 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24554 wxPyPrintout
*result
;
24555 bool temp1
= false ;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "title", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24564 arg1
= wxString_in_helper(obj0
);
24565 if (arg1
== NULL
) SWIG_fail
;
24570 if (!wxPyCheckForApp()) SWIG_fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24578 resultobj
= wxPyMake_wxObject(result
, (bool)1);
24594 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
= NULL
;
24596 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24597 PyObject
*arg2
= (PyObject
*) 0 ;
24598 PyObject
*arg3
= (PyObject
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 PyObject
* obj1
= 0 ;
24601 PyObject
* obj2
= 0 ;
24602 char *kwnames
[] = {
24603 (char *) "self",(char *) "self",(char *) "_class", NULL
24606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24608 if (SWIG_arg_fail(1)) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 Py_INCREF(Py_None
); resultobj
= Py_None
;
24625 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
= NULL
;
24627 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 char *kwnames
[] = {
24631 (char *) "self", NULL
24634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24636 if (SWIG_arg_fail(1)) SWIG_fail
;
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24639 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24657 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= NULL
;
24659 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 result
= (wxDC
*)(arg1
)->GetDC();
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24685 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
= NULL
;
24687 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24688 wxDC
*arg2
= (wxDC
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "dc", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24697 if (SWIG_arg_fail(1)) SWIG_fail
;
24698 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24699 if (SWIG_arg_fail(2)) SWIG_fail
;
24701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24702 (arg1
)->SetDC(arg2
);
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 Py_INCREF(Py_None
); resultobj
= Py_None
;
24714 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
= NULL
;
24716 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24719 PyObject
* obj0
= 0 ;
24720 PyObject
* obj1
= 0 ;
24721 PyObject
* obj2
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self",(char *) "w",(char *) "h", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24728 if (SWIG_arg_fail(1)) SWIG_fail
;
24730 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24731 if (SWIG_arg_fail(2)) SWIG_fail
;
24734 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24735 if (SWIG_arg_fail(3)) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 Py_INCREF(Py_None
); resultobj
= Py_None
;
24751 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
= NULL
;
24753 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24754 int *arg2
= (int *) 0 ;
24755 int *arg3
= (int *) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self", NULL
24765 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24766 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24769 if (SWIG_arg_fail(1)) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 Py_INCREF(Py_None
); resultobj
= Py_None
;
24778 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24779 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24780 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24781 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24788 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
= NULL
;
24790 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24793 PyObject
* obj0
= 0 ;
24794 PyObject
* obj1
= 0 ;
24795 PyObject
* obj2
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self",(char *) "w",(char *) "h", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24802 if (SWIG_arg_fail(1)) SWIG_fail
;
24804 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24805 if (SWIG_arg_fail(2)) SWIG_fail
;
24808 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24809 if (SWIG_arg_fail(3)) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 Py_INCREF(Py_None
); resultobj
= Py_None
;
24825 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
= NULL
;
24827 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24828 int *arg2
= (int *) 0 ;
24829 int *arg3
= (int *) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24840 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24843 if (SWIG_arg_fail(1)) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 Py_INCREF(Py_None
); resultobj
= Py_None
;
24852 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24853 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24854 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24855 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24862 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
= NULL
;
24864 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 PyObject
* obj1
= 0 ;
24869 PyObject
* obj2
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self",(char *) "x",(char *) "y", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24876 if (SWIG_arg_fail(1)) SWIG_fail
;
24878 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24879 if (SWIG_arg_fail(2)) SWIG_fail
;
24882 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24883 if (SWIG_arg_fail(3)) SWIG_fail
;
24886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 (arg1
)->SetPPIScreen(arg2
,arg3
);
24889 wxPyEndAllowThreads(__tstate
);
24890 if (PyErr_Occurred()) SWIG_fail
;
24892 Py_INCREF(Py_None
); resultobj
= Py_None
;
24899 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
= NULL
;
24901 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24902 int *arg2
= (int *) 0 ;
24903 int *arg3
= (int *) 0 ;
24908 PyObject
* obj0
= 0 ;
24909 char *kwnames
[] = {
24910 (char *) "self", NULL
24913 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24914 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24917 if (SWIG_arg_fail(1)) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 (arg1
)->GetPPIScreen(arg2
,arg3
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24927 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24928 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24929 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24936 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
= NULL
;
24938 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 PyObject
* obj2
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "x",(char *) "y", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24950 if (SWIG_arg_fail(1)) SWIG_fail
;
24952 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24953 if (SWIG_arg_fail(2)) SWIG_fail
;
24956 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24957 if (SWIG_arg_fail(3)) SWIG_fail
;
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 Py_INCREF(Py_None
); resultobj
= Py_None
;
24973 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
= NULL
;
24975 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24976 int *arg2
= (int *) 0 ;
24977 int *arg3
= (int *) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self", NULL
24987 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24988 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24991 if (SWIG_arg_fail(1)) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 Py_INCREF(Py_None
); resultobj
= Py_None
;
25000 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25001 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25002 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25003 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25010 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
= NULL
;
25012 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25014 PyObject
* obj0
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25021 if (SWIG_arg_fail(1)) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 result
= (bool)(arg1
)->IsPreview();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25038 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
= NULL
;
25040 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25042 PyObject
* obj0
= 0 ;
25043 PyObject
* obj1
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "self",(char *) "p", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25050 if (SWIG_arg_fail(1)) SWIG_fail
;
25052 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
25053 if (SWIG_arg_fail(2)) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->SetIsPreview(arg2
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 Py_INCREF(Py_None
); resultobj
= Py_None
;
25069 static PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
= NULL
;
25071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 PyObject
* obj2
= 0 ;
25078 char *kwnames
[] = {
25079 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25084 if (SWIG_arg_fail(1)) SWIG_fail
;
25086 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25087 if (SWIG_arg_fail(2)) SWIG_fail
;
25090 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25091 if (SWIG_arg_fail(3)) SWIG_fail
;
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25109 static PyObject
*_wrap_Printout_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
= NULL
;
25111 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25112 PyObject
* obj0
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25119 if (SWIG_arg_fail(1)) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 (arg1
)->OnEndDocument();
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 Py_INCREF(Py_None
); resultobj
= Py_None
;
25134 static PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
= NULL
;
25136 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25137 PyObject
* obj0
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "self", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25144 if (SWIG_arg_fail(1)) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 (arg1
)->OnBeginPrinting();
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 Py_INCREF(Py_None
); resultobj
= Py_None
;
25159 static PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25160 PyObject
*resultobj
= NULL
;
25161 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25169 if (SWIG_arg_fail(1)) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 (arg1
)->OnEndPrinting();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25177 Py_INCREF(Py_None
); resultobj
= Py_None
;
25184 static PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25185 PyObject
*resultobj
= NULL
;
25186 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25187 PyObject
* obj0
= 0 ;
25188 char *kwnames
[] = {
25189 (char *) "self", NULL
25192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25194 if (SWIG_arg_fail(1)) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 (arg1
)->OnPreparePrinting();
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 Py_INCREF(Py_None
); resultobj
= Py_None
;
25209 static PyObject
*_wrap_Printout_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25210 PyObject
*resultobj
= NULL
;
25211 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25214 PyObject
* obj0
= 0 ;
25215 PyObject
* obj1
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "self",(char *) "page", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25222 if (SWIG_arg_fail(1)) SWIG_fail
;
25224 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25225 if (SWIG_arg_fail(2)) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 result
= (bool)(arg1
)->HasPage(arg2
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25243 static PyObject
*_wrap_Printout_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
= NULL
;
25245 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25246 int *arg2
= (int *) 0 ;
25247 int *arg3
= (int *) 0 ;
25248 int *arg4
= (int *) 0 ;
25249 int *arg5
= (int *) 0 ;
25258 PyObject
* obj0
= 0 ;
25259 char *kwnames
[] = {
25260 (char *) "self", NULL
25263 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25264 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25265 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25266 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25269 if (SWIG_arg_fail(1)) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 Py_INCREF(Py_None
); resultobj
= Py_None
;
25278 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25279 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25280 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25281 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25282 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25283 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25284 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25285 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25292 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25295 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25297 return Py_BuildValue((char *)"");
25299 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
= NULL
;
25301 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25302 wxWindow
*arg2
= (wxWindow
*) 0 ;
25303 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25304 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25305 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25306 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25307 long arg5
= (long) 0 ;
25308 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25309 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25310 wxPreviewCanvas
*result
;
25313 bool temp6
= false ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 PyObject
* obj2
= 0 ;
25317 PyObject
* obj3
= 0 ;
25318 PyObject
* obj4
= 0 ;
25319 PyObject
* obj5
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail
;
25327 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25328 if (SWIG_arg_fail(2)) SWIG_fail
;
25332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25338 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25343 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25344 if (SWIG_arg_fail(5)) SWIG_fail
;
25349 arg6
= wxString_in_helper(obj5
);
25350 if (arg6
== NULL
) SWIG_fail
;
25355 if (!wxPyCheckForApp()) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25377 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25380 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25382 return Py_BuildValue((char *)"");
25384 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25385 PyObject
*resultobj
= NULL
;
25386 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25387 wxFrame
*arg2
= (wxFrame
*) 0 ;
25388 wxString
*arg3
= 0 ;
25389 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25390 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25391 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25392 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25393 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25394 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25395 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25396 wxPreviewFrame
*result
;
25397 bool temp3
= false ;
25400 bool temp7
= false ;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 PyObject
* obj2
= 0 ;
25404 PyObject
* obj3
= 0 ;
25405 PyObject
* obj4
= 0 ;
25406 PyObject
* obj5
= 0 ;
25407 PyObject
* obj6
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25414 if (SWIG_arg_fail(1)) SWIG_fail
;
25415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25416 if (SWIG_arg_fail(2)) SWIG_fail
;
25418 arg3
= wxString_in_helper(obj2
);
25419 if (arg3
== NULL
) SWIG_fail
;
25425 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25431 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25436 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25437 if (SWIG_arg_fail(6)) SWIG_fail
;
25442 arg7
= wxString_in_helper(obj6
);
25443 if (arg7
== NULL
) SWIG_fail
;
25448 if (!wxPyCheckForApp()) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25478 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
= NULL
;
25480 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25488 if (SWIG_arg_fail(1)) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 (arg1
)->Initialize();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 Py_INCREF(Py_None
); resultobj
= Py_None
;
25503 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
= NULL
;
25505 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25506 PyObject
* obj0
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25513 if (SWIG_arg_fail(1)) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 (arg1
)->CreateControlBar();
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 Py_INCREF(Py_None
); resultobj
= Py_None
;
25528 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
= NULL
;
25530 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25531 PyObject
* obj0
= 0 ;
25532 char *kwnames
[] = {
25533 (char *) "self", NULL
25536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25538 if (SWIG_arg_fail(1)) SWIG_fail
;
25540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25541 (arg1
)->CreateCanvas();
25543 wxPyEndAllowThreads(__tstate
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 Py_INCREF(Py_None
); resultobj
= Py_None
;
25553 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
= NULL
;
25555 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25556 wxPreviewControlBar
*result
;
25557 PyObject
* obj0
= 0 ;
25558 char *kwnames
[] = {
25559 (char *) "self", NULL
25562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25564 if (SWIG_arg_fail(1)) SWIG_fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25579 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25582 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25584 return Py_BuildValue((char *)"");
25586 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
= NULL
;
25588 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25590 wxWindow
*arg3
= (wxWindow
*) 0 ;
25591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25595 long arg6
= (long) wxTAB_TRAVERSAL
;
25596 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25597 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25598 wxPreviewControlBar
*result
;
25601 bool temp7
= false ;
25602 PyObject
* obj0
= 0 ;
25603 PyObject
* obj1
= 0 ;
25604 PyObject
* obj2
= 0 ;
25605 PyObject
* obj3
= 0 ;
25606 PyObject
* obj4
= 0 ;
25607 PyObject
* obj5
= 0 ;
25608 PyObject
* obj6
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25615 if (SWIG_arg_fail(1)) SWIG_fail
;
25617 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25618 if (SWIG_arg_fail(2)) SWIG_fail
;
25620 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25621 if (SWIG_arg_fail(3)) SWIG_fail
;
25625 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25631 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25636 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25637 if (SWIG_arg_fail(6)) SWIG_fail
;
25642 arg7
= wxString_in_helper(obj6
);
25643 if (arg7
== NULL
) SWIG_fail
;
25648 if (!wxPyCheckForApp()) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25670 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
= NULL
;
25672 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25674 PyObject
* obj0
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25681 if (SWIG_arg_fail(1)) SWIG_fail
;
25683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25684 result
= (int)(arg1
)->GetZoomControl();
25686 wxPyEndAllowThreads(__tstate
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25690 resultobj
= SWIG_From_int(static_cast<int >(result
));
25698 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
= NULL
;
25700 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25702 PyObject
* obj0
= 0 ;
25703 PyObject
* obj1
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "self",(char *) "zoom", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25710 if (SWIG_arg_fail(1)) SWIG_fail
;
25712 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25713 if (SWIG_arg_fail(2)) SWIG_fail
;
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 (arg1
)->SetZoomControl(arg2
);
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 Py_INCREF(Py_None
); resultobj
= Py_None
;
25729 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
= NULL
;
25731 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25732 wxPrintPreview
*result
;
25733 PyObject
* obj0
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25740 if (SWIG_arg_fail(1)) SWIG_fail
;
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25755 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
= NULL
;
25757 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25758 PyObject
* obj0
= 0 ;
25759 char *kwnames
[] = {
25760 (char *) "self", NULL
25763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25765 if (SWIG_arg_fail(1)) SWIG_fail
;
25767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 wxPyEndAllowThreads(__tstate
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25773 Py_INCREF(Py_None
); resultobj
= Py_None
;
25780 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
= NULL
;
25782 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25783 PyObject
* obj0
= 0 ;
25784 char *kwnames
[] = {
25785 (char *) "self", NULL
25788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25790 if (SWIG_arg_fail(1)) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 (arg1
)->OnPrevious();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 Py_INCREF(Py_None
); resultobj
= Py_None
;
25805 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
= NULL
;
25807 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25808 PyObject
* obj0
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25815 if (SWIG_arg_fail(1)) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 Py_INCREF(Py_None
); resultobj
= Py_None
;
25830 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
= NULL
;
25832 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25840 if (SWIG_arg_fail(1)) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 Py_INCREF(Py_None
); resultobj
= Py_None
;
25855 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
= NULL
;
25857 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25858 PyObject
* obj0
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25865 if (SWIG_arg_fail(1)) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 wxPyEndAllowThreads(__tstate
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25873 Py_INCREF(Py_None
); resultobj
= Py_None
;
25880 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25883 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25885 return Py_BuildValue((char *)"");
25887 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25888 PyObject
*resultobj
= NULL
;
25889 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25890 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25891 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25892 wxPrintPreview
*result
;
25893 PyObject
* obj0
= 0 ;
25894 PyObject
* obj1
= 0 ;
25895 PyObject
* obj2
= 0 ;
25897 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25899 if (SWIG_arg_fail(1)) SWIG_fail
;
25900 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25901 if (SWIG_arg_fail(2)) SWIG_fail
;
25903 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25904 if (SWIG_arg_fail(3)) SWIG_fail
;
25907 if (!wxPyCheckForApp()) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25921 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25922 PyObject
*resultobj
= NULL
;
25923 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25924 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25925 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25926 wxPrintPreview
*result
;
25927 PyObject
* obj0
= 0 ;
25928 PyObject
* obj1
= 0 ;
25929 PyObject
* obj2
= 0 ;
25931 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail
;
25934 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25935 if (SWIG_arg_fail(2)) SWIG_fail
;
25936 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25937 if (SWIG_arg_fail(3)) SWIG_fail
;
25939 if (!wxPyCheckForApp()) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25953 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25958 argc
= PyObject_Length(args
);
25959 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25960 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25962 if ((argc
>= 2) && (argc
<= 3)) {
25966 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25976 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25985 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25989 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25997 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
26006 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26016 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26026 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26034 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26040 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26045 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
= NULL
;
26047 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26050 PyObject
* obj0
= 0 ;
26051 PyObject
* obj1
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "pageNum", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26058 if (SWIG_arg_fail(1)) SWIG_fail
;
26060 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26061 if (SWIG_arg_fail(2)) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26079 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
= NULL
;
26081 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26090 if (SWIG_arg_fail(1)) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (int)(arg1
)->GetCurrentPage();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_From_int(static_cast<int >(result
));
26107 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
= NULL
;
26109 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26110 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "printout", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26119 if (SWIG_arg_fail(1)) SWIG_fail
;
26120 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26121 if (SWIG_arg_fail(2)) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 (arg1
)->SetPrintout(arg2
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 Py_INCREF(Py_None
); resultobj
= Py_None
;
26136 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
= NULL
;
26138 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26139 wxPyPrintout
*result
;
26140 PyObject
* obj0
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26152 wxPyEndAllowThreads(__tstate
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26164 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26165 PyObject
*resultobj
= NULL
;
26166 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26167 wxPyPrintout
*result
;
26168 PyObject
* obj0
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26175 if (SWIG_arg_fail(1)) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26192 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26193 PyObject
*resultobj
= NULL
;
26194 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26195 wxFrame
*arg2
= (wxFrame
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 PyObject
* obj1
= 0 ;
26198 char *kwnames
[] = {
26199 (char *) "self",(char *) "frame", NULL
26202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26204 if (SWIG_arg_fail(1)) SWIG_fail
;
26205 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26206 if (SWIG_arg_fail(2)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 (arg1
)->SetFrame(arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 Py_INCREF(Py_None
); resultobj
= Py_None
;
26221 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= NULL
;
26223 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26224 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 PyObject
* obj1
= 0 ;
26227 char *kwnames
[] = {
26228 (char *) "self",(char *) "canvas", NULL
26231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26233 if (SWIG_arg_fail(1)) SWIG_fail
;
26234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26235 if (SWIG_arg_fail(2)) SWIG_fail
;
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 (arg1
)->SetCanvas(arg2
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 Py_INCREF(Py_None
); resultobj
= Py_None
;
26250 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
= NULL
;
26252 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26254 PyObject
* obj0
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26261 if (SWIG_arg_fail(1)) SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 result
= (wxFrame
*)(arg1
)->GetFrame();
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= wxPyMake_wxObject(result
, 0);
26278 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
= NULL
;
26280 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26281 wxPreviewCanvas
*result
;
26282 PyObject
* obj0
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26289 if (SWIG_arg_fail(1)) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26304 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
= NULL
;
26306 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26307 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 PyObject
* obj2
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26319 if (SWIG_arg_fail(1)) SWIG_fail
;
26320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(2)) SWIG_fail
;
26323 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26324 if (SWIG_arg_fail(3)) SWIG_fail
;
26325 if (arg3
== NULL
) {
26326 SWIG_null_ref("wxDC");
26328 if (SWIG_arg_fail(3)) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26346 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
= NULL
;
26348 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26349 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26352 PyObject
* obj0
= 0 ;
26353 PyObject
* obj1
= 0 ;
26354 PyObject
* obj2
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail
;
26362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26363 if (SWIG_arg_fail(2)) SWIG_fail
;
26365 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26366 if (SWIG_arg_fail(3)) SWIG_fail
;
26367 if (arg3
== NULL
) {
26368 SWIG_null_ref("wxDC");
26370 if (SWIG_arg_fail(3)) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26388 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
= NULL
;
26390 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26393 PyObject
* obj0
= 0 ;
26394 PyObject
* obj1
= 0 ;
26395 char *kwnames
[] = {
26396 (char *) "self",(char *) "pageNum", NULL
26399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26401 if (SWIG_arg_fail(1)) SWIG_fail
;
26403 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26404 if (SWIG_arg_fail(2)) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 result
= (bool)(arg1
)->RenderPage(arg2
);
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26422 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26423 PyObject
*resultobj
= NULL
;
26424 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26425 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 char *kwnames
[] = {
26429 (char *) "self",(char *) "canvas", NULL
26432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26434 if (SWIG_arg_fail(1)) SWIG_fail
;
26435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26436 if (SWIG_arg_fail(2)) SWIG_fail
;
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->AdjustScrollbars(arg2
);
26441 wxPyEndAllowThreads(__tstate
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26444 Py_INCREF(Py_None
); resultobj
= Py_None
;
26451 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26452 PyObject
*resultobj
= NULL
;
26453 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26454 wxPrintDialogData
*result
;
26455 PyObject
* obj0
= 0 ;
26456 char *kwnames
[] = {
26457 (char *) "self", NULL
26460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26462 if (SWIG_arg_fail(1)) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26467 result
= (wxPrintDialogData
*) &_result_ref
;
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26480 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
= NULL
;
26482 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 char *kwnames
[] = {
26487 (char *) "self",(char *) "percent", NULL
26490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26492 if (SWIG_arg_fail(1)) SWIG_fail
;
26494 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26495 if (SWIG_arg_fail(2)) SWIG_fail
;
26498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26499 (arg1
)->SetZoom(arg2
);
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 Py_INCREF(Py_None
); resultobj
= Py_None
;
26511 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26512 PyObject
*resultobj
= NULL
;
26513 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26515 PyObject
* obj0
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26522 if (SWIG_arg_fail(1)) SWIG_fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 result
= (int)(arg1
)->GetZoom();
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26531 resultobj
= SWIG_From_int(static_cast<int >(result
));
26539 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26540 PyObject
*resultobj
= NULL
;
26541 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26543 PyObject
* obj0
= 0 ;
26544 char *kwnames
[] = {
26545 (char *) "self", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26550 if (SWIG_arg_fail(1)) SWIG_fail
;
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 result
= (int)(arg1
)->GetMaxPage();
26555 wxPyEndAllowThreads(__tstate
);
26556 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_From_int(static_cast<int >(result
));
26567 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
= NULL
;
26569 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26578 if (SWIG_arg_fail(1)) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26581 result
= (int)(arg1
)->GetMinPage();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= SWIG_From_int(static_cast<int >(result
));
26595 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= NULL
;
26597 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 char *kwnames
[] = {
26601 (char *) "self", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26606 if (SWIG_arg_fail(1)) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 result
= (bool)(arg1
)->Ok();
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26623 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
= NULL
;
26625 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26627 PyObject
* obj0
= 0 ;
26628 PyObject
* obj1
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self",(char *) "ok", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26635 if (SWIG_arg_fail(1)) SWIG_fail
;
26637 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26638 if (SWIG_arg_fail(2)) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 (arg1
)->SetOk(arg2
);
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 Py_INCREF(Py_None
); resultobj
= Py_None
;
26654 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
= NULL
;
26656 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self",(char *) "interactive", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26667 if (SWIG_arg_fail(1)) SWIG_fail
;
26669 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26670 if (SWIG_arg_fail(2)) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (bool)(arg1
)->Print(arg2
);
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26688 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
= NULL
;
26690 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26698 if (SWIG_arg_fail(1)) SWIG_fail
;
26700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26701 (arg1
)->DetermineScaling();
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 Py_INCREF(Py_None
); resultobj
= Py_None
;
26713 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26716 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26718 return Py_BuildValue((char *)"");
26720 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26721 PyObject
*resultobj
= NULL
;
26722 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26723 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26724 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26725 wxPyPrintPreview
*result
;
26726 PyObject
* obj0
= 0 ;
26727 PyObject
* obj1
= 0 ;
26728 PyObject
* obj2
= 0 ;
26730 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26732 if (SWIG_arg_fail(1)) SWIG_fail
;
26733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26734 if (SWIG_arg_fail(2)) SWIG_fail
;
26736 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26737 if (SWIG_arg_fail(3)) SWIG_fail
;
26740 if (!wxPyCheckForApp()) SWIG_fail
;
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26754 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26755 PyObject
*resultobj
= NULL
;
26756 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26757 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26758 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26759 wxPyPrintPreview
*result
;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 PyObject
* obj2
= 0 ;
26764 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26766 if (SWIG_arg_fail(1)) SWIG_fail
;
26767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26768 if (SWIG_arg_fail(2)) SWIG_fail
;
26769 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26770 if (SWIG_arg_fail(3)) SWIG_fail
;
26772 if (!wxPyCheckForApp()) SWIG_fail
;
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26786 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26791 argc
= PyObject_Length(args
);
26792 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26793 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26795 if ((argc
>= 2) && (argc
<= 3)) {
26799 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26809 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26818 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26822 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26830 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26839 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26849 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26859 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26867 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26873 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26878 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
= NULL
;
26880 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26881 PyObject
*arg2
= (PyObject
*) 0 ;
26882 PyObject
*arg3
= (PyObject
*) 0 ;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 PyObject
* obj2
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "self",(char *) "self",(char *) "_class", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26892 if (SWIG_arg_fail(1)) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 Py_INCREF(Py_None
); resultobj
= Py_None
;
26909 static PyObject
*_wrap_PyPrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
= NULL
;
26911 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "self",(char *) "pageNum", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26922 if (SWIG_arg_fail(1)) SWIG_fail
;
26924 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26925 if (SWIG_arg_fail(2)) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26943 static PyObject
*_wrap_PyPrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26944 PyObject
*resultobj
= NULL
;
26945 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26946 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26949 PyObject
* obj0
= 0 ;
26950 PyObject
* obj1
= 0 ;
26951 PyObject
* obj2
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26958 if (SWIG_arg_fail(1)) SWIG_fail
;
26959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26960 if (SWIG_arg_fail(2)) SWIG_fail
;
26962 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26963 if (SWIG_arg_fail(3)) SWIG_fail
;
26964 if (arg3
== NULL
) {
26965 SWIG_null_ref("wxDC");
26967 if (SWIG_arg_fail(3)) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26985 static PyObject
*_wrap_PyPrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
= NULL
;
26987 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26988 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 PyObject
* obj2
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail
;
27001 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27002 if (SWIG_arg_fail(2)) SWIG_fail
;
27004 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
27005 if (SWIG_arg_fail(3)) SWIG_fail
;
27006 if (arg3
== NULL
) {
27007 SWIG_null_ref("wxDC");
27009 if (SWIG_arg_fail(3)) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27027 static PyObject
*_wrap_PyPrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27028 PyObject
*resultobj
= NULL
;
27029 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 char *kwnames
[] = {
27035 (char *) "self",(char *) "pageNum", NULL
27038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27040 if (SWIG_arg_fail(1)) SWIG_fail
;
27042 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27043 if (SWIG_arg_fail(2)) SWIG_fail
;
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (bool)(arg1
)->RenderPage(arg2
);
27049 wxPyEndAllowThreads(__tstate
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27061 static PyObject
*_wrap_PyPrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
= NULL
;
27063 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "percent", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27073 if (SWIG_arg_fail(1)) SWIG_fail
;
27075 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27076 if (SWIG_arg_fail(2)) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 (arg1
)->SetZoom(arg2
);
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 Py_INCREF(Py_None
); resultobj
= Py_None
;
27092 static PyObject
*_wrap_PyPrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
= NULL
;
27094 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27097 PyObject
* obj0
= 0 ;
27098 PyObject
* obj1
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "self",(char *) "interactive", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27105 if (SWIG_arg_fail(1)) SWIG_fail
;
27107 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
27108 if (SWIG_arg_fail(2)) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (bool)(arg1
)->Print(arg2
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27126 static PyObject
*_wrap_PyPrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
= NULL
;
27128 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27129 PyObject
* obj0
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27136 if (SWIG_arg_fail(1)) SWIG_fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 (arg1
)->DetermineScaling();
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 Py_INCREF(Py_None
); resultobj
= Py_None
;
27151 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27154 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27156 return Py_BuildValue((char *)"");
27158 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
= NULL
;
27160 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27161 wxFrame
*arg2
= (wxFrame
*) 0 ;
27162 wxString
*arg3
= 0 ;
27163 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27164 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27165 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27166 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27167 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27168 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27169 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27170 wxPyPreviewFrame
*result
;
27171 bool temp3
= false ;
27174 bool temp7
= false ;
27175 PyObject
* obj0
= 0 ;
27176 PyObject
* obj1
= 0 ;
27177 PyObject
* obj2
= 0 ;
27178 PyObject
* obj3
= 0 ;
27179 PyObject
* obj4
= 0 ;
27180 PyObject
* obj5
= 0 ;
27181 PyObject
* obj6
= 0 ;
27182 char *kwnames
[] = {
27183 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27188 if (SWIG_arg_fail(1)) SWIG_fail
;
27189 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27190 if (SWIG_arg_fail(2)) SWIG_fail
;
27192 arg3
= wxString_in_helper(obj2
);
27193 if (arg3
== NULL
) SWIG_fail
;
27199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27210 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27211 if (SWIG_arg_fail(6)) SWIG_fail
;
27216 arg7
= wxString_in_helper(obj6
);
27217 if (arg7
== NULL
) SWIG_fail
;
27222 if (!wxPyCheckForApp()) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27252 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
= NULL
;
27254 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27255 PyObject
*arg2
= (PyObject
*) 0 ;
27256 PyObject
*arg3
= (PyObject
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 PyObject
* obj2
= 0 ;
27260 char *kwnames
[] = {
27261 (char *) "self",(char *) "self",(char *) "_class", NULL
27264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27266 if (SWIG_arg_fail(1)) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27276 Py_INCREF(Py_None
); resultobj
= Py_None
;
27283 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
= NULL
;
27285 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27286 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27287 PyObject
* obj0
= 0 ;
27288 PyObject
* obj1
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self",(char *) "canvas", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27295 if (SWIG_arg_fail(1)) SWIG_fail
;
27296 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27297 if (SWIG_arg_fail(2)) SWIG_fail
;
27299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27300 (arg1
)->SetPreviewCanvas(arg2
);
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27305 Py_INCREF(Py_None
); resultobj
= Py_None
;
27312 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27313 PyObject
*resultobj
= NULL
;
27314 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27315 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27316 PyObject
* obj0
= 0 ;
27317 PyObject
* obj1
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self",(char *) "bar", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27324 if (SWIG_arg_fail(1)) SWIG_fail
;
27325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27326 if (SWIG_arg_fail(2)) SWIG_fail
;
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 (arg1
)->SetControlBar(arg2
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 Py_INCREF(Py_None
); resultobj
= Py_None
;
27341 static PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
= NULL
;
27343 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27344 PyObject
* obj0
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
27350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27351 if (SWIG_arg_fail(1)) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 (arg1
)->Initialize();
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 Py_INCREF(Py_None
); resultobj
= Py_None
;
27366 static PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27367 PyObject
*resultobj
= NULL
;
27368 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27369 PyObject
* obj0
= 0 ;
27370 char *kwnames
[] = {
27371 (char *) "self", NULL
27374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27376 if (SWIG_arg_fail(1)) SWIG_fail
;
27378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27379 (arg1
)->CreateCanvas();
27381 wxPyEndAllowThreads(__tstate
);
27382 if (PyErr_Occurred()) SWIG_fail
;
27384 Py_INCREF(Py_None
); resultobj
= Py_None
;
27391 static PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
= NULL
;
27393 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27394 PyObject
* obj0
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27401 if (SWIG_arg_fail(1)) SWIG_fail
;
27403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27404 (arg1
)->CreateControlBar();
27406 wxPyEndAllowThreads(__tstate
);
27407 if (PyErr_Occurred()) SWIG_fail
;
27409 Py_INCREF(Py_None
); resultobj
= Py_None
;
27416 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27419 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27421 return Py_BuildValue((char *)"");
27423 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
= NULL
;
27425 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27427 wxWindow
*arg3
= (wxWindow
*) 0 ;
27428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27432 long arg6
= (long) 0 ;
27433 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27434 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27435 wxPyPreviewControlBar
*result
;
27438 bool temp7
= false ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj1
= 0 ;
27441 PyObject
* obj2
= 0 ;
27442 PyObject
* obj3
= 0 ;
27443 PyObject
* obj4
= 0 ;
27444 PyObject
* obj5
= 0 ;
27445 PyObject
* obj6
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27452 if (SWIG_arg_fail(1)) SWIG_fail
;
27454 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27455 if (SWIG_arg_fail(2)) SWIG_fail
;
27457 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27458 if (SWIG_arg_fail(3)) SWIG_fail
;
27462 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27468 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27473 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27474 if (SWIG_arg_fail(6)) SWIG_fail
;
27479 arg7
= wxString_in_helper(obj6
);
27480 if (arg7
== NULL
) SWIG_fail
;
27485 if (!wxPyCheckForApp()) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27507 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27508 PyObject
*resultobj
= NULL
;
27509 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27510 PyObject
*arg2
= (PyObject
*) 0 ;
27511 PyObject
*arg3
= (PyObject
*) 0 ;
27512 PyObject
* obj0
= 0 ;
27513 PyObject
* obj1
= 0 ;
27514 PyObject
* obj2
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self",(char *) "self",(char *) "_class", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27521 if (SWIG_arg_fail(1)) SWIG_fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 Py_INCREF(Py_None
); resultobj
= Py_None
;
27538 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
= NULL
;
27540 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27541 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 PyObject
* obj1
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "preview", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27550 if (SWIG_arg_fail(1)) SWIG_fail
;
27551 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27552 if (SWIG_arg_fail(2)) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 (arg1
)->SetPrintPreview(arg2
);
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 Py_INCREF(Py_None
); resultobj
= Py_None
;
27567 static PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
= NULL
;
27569 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27570 PyObject
* obj0
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_CreateButtons",kwnames
,&obj0
)) goto fail
;
27576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27577 if (SWIG_arg_fail(1)) SWIG_fail
;
27579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27580 (arg1
)->CreateButtons();
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 Py_INCREF(Py_None
); resultobj
= Py_None
;
27592 static PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
= NULL
;
27594 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self",(char *) "zoom", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27604 if (SWIG_arg_fail(1)) SWIG_fail
;
27606 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27607 if (SWIG_arg_fail(2)) SWIG_fail
;
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 (arg1
)->SetZoomControl(arg2
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 Py_INCREF(Py_None
); resultobj
= Py_None
;
27623 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27626 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27628 return Py_BuildValue((char *)"");
27630 static PyMethodDef SwigMethods
[] = {
27631 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27639 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27654 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27655 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, 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_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27681 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27705 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
) _wrap_Dialog_GetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"Dialog_GetEscapeId", (PyCFunction
) _wrap_Dialog_GetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27722 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27726 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27730 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27735 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27752 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27782 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27789 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27812 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27820 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27832 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27838 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27847 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27853 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27858 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27864 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27868 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27888 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27914 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27922 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27932 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27934 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27943 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27946 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27952 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27954 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27972 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27976 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27981 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27985 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27987 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
28003 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
28006 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
28009 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
28013 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
28022 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28031 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28037 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28049 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28056 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28060 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PyWindow_DoGetSize", (PyCFunction
) _wrap_PyWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PyWindow_DoGetPosition", (PyCFunction
) _wrap_PyWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PyWindow_InitDialog", (PyCFunction
) _wrap_PyWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PyWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PyWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PyWindow_Validate", (PyCFunction
) _wrap_PyWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PyWindow_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PyWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PyWindow_GetMaxSize", (PyCFunction
) _wrap_PyWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PyWindow_AddChild", (PyCFunction
) _wrap_PyWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PyWindow_RemoveChild", (PyCFunction
) _wrap_PyWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PyWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28087 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PyPanel_DoGetSize", (PyCFunction
) _wrap_PyPanel_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PyPanel_DoGetPosition", (PyCFunction
) _wrap_PyPanel_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PyPanel_InitDialog", (PyCFunction
) _wrap_PyPanel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PyPanel_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PyPanel_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PyPanel_Validate", (PyCFunction
) _wrap_PyPanel_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PyPanel_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PyPanel_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PyPanel_GetMaxSize", (PyCFunction
) _wrap_PyPanel_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PyPanel_AddChild", (PyCFunction
) _wrap_PyPanel_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PyPanel_RemoveChild", (PyCFunction
) _wrap_PyPanel_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PyPanel_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28114 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PyScrolledWindow_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PyScrolledWindow_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PyScrolledWindow_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PyScrolledWindow_Validate", (PyCFunction
) _wrap_PyScrolledWindow_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PyScrolledWindow_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PyScrolledWindow_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PyScrolledWindow_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PyScrolledWindow_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PyScrolledWindow_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PyScrolledWindow_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28141 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28142 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28171 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28172 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28205 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28210 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28211 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28242 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28248 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28259 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"Printout_OnEndDocument", (PyCFunction
) _wrap_Printout_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"Printout_OnBeginPrinting", (PyCFunction
) _wrap_Printout_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"Printout_OnEndPrinting", (PyCFunction
) _wrap_Printout_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"Printout_OnPreparePrinting", (PyCFunction
) _wrap_Printout_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"Printout_GetPageInfo", (PyCFunction
) _wrap_Printout_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28282 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28284 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28290 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28300 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28301 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28324 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28325 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PyPrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"PyPrintPreview_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"PyPrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"PyPrintPreview_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"PyPrintPreview_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"PyPrintPreview_Print", (PyCFunction
) _wrap_PyPrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"PyPrintPreview_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28333 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28334 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28342 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28348 { NULL
, NULL
, 0, NULL
}
28352 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28354 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28355 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28357 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28360 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28361 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28363 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28364 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28366 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28367 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28369 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28370 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28372 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28373 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28375 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28376 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28378 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28379 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28381 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28384 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28385 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28387 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28388 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28390 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28393 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28394 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28396 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28397 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28399 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28402 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28403 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28405 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28406 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28408 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28409 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28411 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28412 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28414 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28415 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28417 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28418 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28420 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28421 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28423 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28424 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28426 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28427 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28429 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28432 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28433 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28435 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28436 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28438 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28439 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28441 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28442 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28444 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28445 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28447 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28448 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28450 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28451 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28453 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28454 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28456 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28457 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28459 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28460 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28462 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28463 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28465 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28468 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28469 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28471 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28472 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28474 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28475 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28477 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28478 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28480 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28481 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28483 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28484 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28486 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28487 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28489 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28492 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28495 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28498 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28499 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28501 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28502 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28504 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28505 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28507 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28508 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28510 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28513 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28516 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28519 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28522 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28525 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28528 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28531 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28534 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28535 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28537 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28538 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28540 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28543 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28546 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28549 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28550 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28552 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28555 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28556 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28558 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28559 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28561 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28562 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28564 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28565 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28567 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28570 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28571 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28573 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28574 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28576 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28579 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28582 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28585 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28588 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28591 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28592 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28594 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28597 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28598 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28600 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28603 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28606 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28609 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28612 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28615 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28616 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28618 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28621 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28624 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28627 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28630 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28633 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28636 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28637 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28639 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28640 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28642 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28643 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28645 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28646 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28648 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28649 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28651 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28652 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28654 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28655 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28657 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28658 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28660 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28661 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28663 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28664 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28666 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28669 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28672 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28673 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28675 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28676 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28678 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28681 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28682 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28684 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28685 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28687 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28688 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28690 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28691 return (void *)((wxObject
*) ((wxSizer
*) x
));
28693 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28694 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28696 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28699 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28702 static void *_p_wxEventTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) ((wxEvent
*) x
));
28705 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) ((wxFontData
*) x
));
28708 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28711 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28714 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28717 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28720 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28723 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28726 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28729 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28732 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28735 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28738 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28741 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28744 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28747 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28750 static void *_p_wxControlTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28753 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28756 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28759 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28760 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28762 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28763 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28765 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28766 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28768 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28771 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28772 return (void *)((wxObject
*) ((wxColourData
*) x
));
28774 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28775 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28777 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28780 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28783 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28786 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28789 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28792 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28795 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28798 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28801 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28804 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28807 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28810 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28811 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28813 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28814 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28816 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28817 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28819 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28820 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28822 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28823 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28825 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28828 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28829 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28831 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28832 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28834 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28835 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28837 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28838 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28840 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28841 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28843 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28844 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28846 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28847 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28849 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28852 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28855 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28858 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28861 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28864 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28867 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28870 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28873 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28876 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28879 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28882 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28885 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28888 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28891 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28894 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28897 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28900 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28903 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28906 static void *_p_wxImageTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) ((wxImage
*) x
));
28909 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28912 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28915 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28918 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28921 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28924 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28927 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28930 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28933 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28936 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28939 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28942 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28945 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28948 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28951 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28954 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28957 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28960 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28963 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28966 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28969 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28972 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28975 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28978 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28981 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28984 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28987 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28990 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28993 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28996 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28999 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29002 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29005 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
29008 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
29011 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29014 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29017 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29020 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29023 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29026 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29029 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29032 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29035 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29038 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29041 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29044 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29047 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29050 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29053 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29056 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29059 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29062 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29065 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29068 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29069 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29071 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29072 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29074 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29075 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29077 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29078 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29080 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29081 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29083 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29084 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29086 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29087 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29089 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29090 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29092 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29093 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29095 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29096 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29098 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29099 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29101 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29102 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29104 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29105 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29107 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29108 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29110 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29111 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29113 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29114 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29116 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29117 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29119 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29120 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29122 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29123 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29125 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29126 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29128 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29129 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29131 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29132 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29134 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29135 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29137 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29138 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29140 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29141 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29143 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29144 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29146 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29149 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29150 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29152 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29153 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29155 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29156 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29158 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29159 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29161 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29162 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29164 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29165 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29167 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29168 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29170 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29171 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29173 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29174 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29176 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29177 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29179 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29180 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29182 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29183 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29185 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29186 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29188 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29189 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29191 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29192 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29194 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29195 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29197 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29198 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29200 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29201 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29203 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29204 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29206 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29207 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29209 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29210 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29212 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29213 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29215 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29216 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29218 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29219 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29221 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29222 return (void *)((wxWindow
*) ((wxControl
*) x
));
29224 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29225 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29227 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29228 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29230 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29231 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29233 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29234 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29236 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29237 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29239 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29240 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29242 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29243 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29245 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29246 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29248 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29249 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29251 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29252 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29254 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29255 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29257 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29258 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29260 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29263 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29266 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29267 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29269 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29270 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29272 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29273 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29275 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29276 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29278 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29279 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29281 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29282 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29284 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29285 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29287 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29288 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29290 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29291 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29293 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29294 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29296 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29297 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29299 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29300 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29302 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29303 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29305 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29306 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29308 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29309 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29311 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29312 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29314 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29315 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29317 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29318 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29320 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29321 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29323 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29324 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29326 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29327 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29329 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29330 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29332 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29333 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29335 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29336 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29338 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29339 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29341 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29342 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29344 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29345 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29347 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29348 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29350 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29351 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29353 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29354 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29356 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29357 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29359 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29360 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29362 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29363 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29365 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29366 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29368 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29369 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29371 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29372 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29374 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29375 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29377 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29378 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29379 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29380 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29381 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29382 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29383 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29384 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29385 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29386 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29387 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29388 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29389 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29390 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29391 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29392 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29393 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29394 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29395 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29396 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29397 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29398 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29399 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29400 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29401 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29402 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29403 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29404 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29405 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29406 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29407 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29408 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29409 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29410 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29411 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29412 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29413 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29414 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29415 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29416 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29417 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29418 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29419 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29420 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29421 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29422 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29423 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29424 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29425 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29426 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29427 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29428 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29429 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29430 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29431 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29432 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29433 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29434 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29435 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29436 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29437 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29438 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29439 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29440 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29441 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29442 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29443 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29444 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29445 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29446 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29447 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29448 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29449 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29450 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29451 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29452 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29453 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29454 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29455 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29456 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29457 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29458 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29459 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29460 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29461 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29462 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29463 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29464 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29465 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29466 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29467 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29468 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29469 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29470 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29471 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29472 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29473 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29474 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29475 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29476 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29477 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29478 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29479 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29480 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29481 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29482 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29483 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29484 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29485 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29486 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29487 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29488 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29489 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29490 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29491 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29492 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29493 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29494 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29495 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29496 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29497 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29498 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29499 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29500 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29501 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29502 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29503 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29504 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29505 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29506 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29507 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29508 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29509 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29510 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29511 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29512 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29513 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29514 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29515 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29516 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29517 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29518 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29519 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29520 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29521 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29522 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29523 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29524 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29525 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29526 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29527 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29528 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29529 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29530 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29531 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29532 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29533 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29534 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29535 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29536 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29537 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29538 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29539 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29541 static swig_type_info
*swig_type_initial
[] = {
29543 &_swigt__p_form_ops_t
,
29545 &_swigt__p_unsigned_char
,
29546 &_swigt__p_unsigned_int
,
29547 &_swigt__p_unsigned_long
,
29548 &_swigt__p_wxANIHandler
,
29549 &_swigt__p_wxAcceleratorTable
,
29550 &_swigt__p_wxActivateEvent
,
29551 &_swigt__p_wxArrayInt
,
29552 &_swigt__p_wxBMPHandler
,
29553 &_swigt__p_wxBitmap
,
29554 &_swigt__p_wxBoxSizer
,
29555 &_swigt__p_wxCURHandler
,
29556 &_swigt__p_wxCalculateLayoutEvent
,
29557 &_swigt__p_wxChildFocusEvent
,
29558 &_swigt__p_wxCloseEvent
,
29559 &_swigt__p_wxColour
,
29560 &_swigt__p_wxColourData
,
29561 &_swigt__p_wxColourDialog
,
29562 &_swigt__p_wxCommandEvent
,
29563 &_swigt__p_wxContextMenuEvent
,
29564 &_swigt__p_wxControl
,
29565 &_swigt__p_wxControlWithItems
,
29567 &_swigt__p_wxDateEvent
,
29568 &_swigt__p_wxDialog
,
29569 &_swigt__p_wxDirDialog
,
29570 &_swigt__p_wxDisplayChangedEvent
,
29571 &_swigt__p_wxDropFilesEvent
,
29572 &_swigt__p_wxDuplexMode
,
29573 &_swigt__p_wxEraseEvent
,
29574 &_swigt__p_wxEvent
,
29575 &_swigt__p_wxEvtHandler
,
29576 &_swigt__p_wxFSFile
,
29577 &_swigt__p_wxFileDialog
,
29578 &_swigt__p_wxFileSystem
,
29579 &_swigt__p_wxFindDialogEvent
,
29580 &_swigt__p_wxFindReplaceData
,
29581 &_swigt__p_wxFindReplaceDialog
,
29582 &_swigt__p_wxFlexGridSizer
,
29583 &_swigt__p_wxFocusEvent
,
29585 &_swigt__p_wxFontData
,
29586 &_swigt__p_wxFontDialog
,
29587 &_swigt__p_wxFrame
,
29588 &_swigt__p_wxGBSizerItem
,
29589 &_swigt__p_wxGIFHandler
,
29590 &_swigt__p_wxGridBagSizer
,
29591 &_swigt__p_wxGridSizer
,
29592 &_swigt__p_wxICOHandler
,
29594 &_swigt__p_wxIconBundle
,
29595 &_swigt__p_wxIconizeEvent
,
29596 &_swigt__p_wxIdleEvent
,
29597 &_swigt__p_wxImage
,
29598 &_swigt__p_wxImageHandler
,
29599 &_swigt__p_wxIndividualLayoutConstraint
,
29600 &_swigt__p_wxInitDialogEvent
,
29601 &_swigt__p_wxJPEGHandler
,
29602 &_swigt__p_wxKeyEvent
,
29603 &_swigt__p_wxLayoutAlgorithm
,
29604 &_swigt__p_wxLayoutConstraints
,
29605 &_swigt__p_wxMDIChildFrame
,
29606 &_swigt__p_wxMDIClientWindow
,
29607 &_swigt__p_wxMDIParentFrame
,
29608 &_swigt__p_wxMaximizeEvent
,
29610 &_swigt__p_wxMenuBar
,
29611 &_swigt__p_wxMenuEvent
,
29612 &_swigt__p_wxMenuItem
,
29613 &_swigt__p_wxMessageDialog
,
29614 &_swigt__p_wxMiniFrame
,
29615 &_swigt__p_wxMouseCaptureChangedEvent
,
29616 &_swigt__p_wxMouseEvent
,
29617 &_swigt__p_wxMoveEvent
,
29618 &_swigt__p_wxMultiChoiceDialog
,
29619 &_swigt__p_wxNavigationKeyEvent
,
29620 &_swigt__p_wxNcPaintEvent
,
29621 &_swigt__p_wxNotifyEvent
,
29622 &_swigt__p_wxObject
,
29623 &_swigt__p_wxPCXHandler
,
29624 &_swigt__p_wxPNGHandler
,
29625 &_swigt__p_wxPNMHandler
,
29626 &_swigt__p_wxPageSetupDialog
,
29627 &_swigt__p_wxPageSetupDialogData
,
29628 &_swigt__p_wxPaintEvent
,
29629 &_swigt__p_wxPaletteChangedEvent
,
29630 &_swigt__p_wxPanel
,
29631 &_swigt__p_wxPaperSize
,
29632 &_swigt__p_wxPasswordEntryDialog
,
29633 &_swigt__p_wxPoint
,
29634 &_swigt__p_wxPopupWindow
,
29635 &_swigt__p_wxPreviewCanvas
,
29636 &_swigt__p_wxPreviewControlBar
,
29637 &_swigt__p_wxPreviewFrame
,
29638 &_swigt__p_wxPrintData
,
29639 &_swigt__p_wxPrintDialog
,
29640 &_swigt__p_wxPrintDialogData
,
29641 &_swigt__p_wxPrintPreview
,
29642 &_swigt__p_wxPrinter
,
29643 &_swigt__p_wxProgressDialog
,
29644 &_swigt__p_wxPyApp
,
29645 &_swigt__p_wxPyCommandEvent
,
29646 &_swigt__p_wxPyEvent
,
29647 &_swigt__p_wxPyHtmlListBox
,
29648 &_swigt__p_wxPyImageHandler
,
29649 &_swigt__p_wxPyPanel
,
29650 &_swigt__p_wxPyPopupTransientWindow
,
29651 &_swigt__p_wxPyPreviewControlBar
,
29652 &_swigt__p_wxPyPreviewFrame
,
29653 &_swigt__p_wxPyPrintPreview
,
29654 &_swigt__p_wxPyPrintout
,
29655 &_swigt__p_wxPyScrolledWindow
,
29656 &_swigt__p_wxPySizer
,
29657 &_swigt__p_wxPyTaskBarIcon
,
29658 &_swigt__p_wxPyVListBox
,
29659 &_swigt__p_wxPyVScrolledWindow
,
29660 &_swigt__p_wxPyValidator
,
29661 &_swigt__p_wxPyWindow
,
29662 &_swigt__p_wxQueryLayoutInfoEvent
,
29663 &_swigt__p_wxQueryNewPaletteEvent
,
29665 &_swigt__p_wxRegion
,
29666 &_swigt__p_wxSashEvent
,
29667 &_swigt__p_wxSashLayoutWindow
,
29668 &_swigt__p_wxSashWindow
,
29669 &_swigt__p_wxScrollEvent
,
29670 &_swigt__p_wxScrollWinEvent
,
29671 &_swigt__p_wxScrolledWindow
,
29672 &_swigt__p_wxSetCursorEvent
,
29673 &_swigt__p_wxShowEvent
,
29674 &_swigt__p_wxSingleChoiceDialog
,
29676 &_swigt__p_wxSizeEvent
,
29677 &_swigt__p_wxSizer
,
29678 &_swigt__p_wxSizerItem
,
29679 &_swigt__p_wxSplashScreen
,
29680 &_swigt__p_wxSplashScreenWindow
,
29681 &_swigt__p_wxSplitterEvent
,
29682 &_swigt__p_wxSplitterWindow
,
29683 &_swigt__p_wxStaticBoxSizer
,
29684 &_swigt__p_wxStatusBar
,
29685 &_swigt__p_wxStdDialogButtonSizer
,
29686 &_swigt__p_wxString
,
29687 &_swigt__p_wxSysColourChangedEvent
,
29688 &_swigt__p_wxTIFFHandler
,
29689 &_swigt__p_wxTaskBarIcon
,
29690 &_swigt__p_wxTaskBarIconEvent
,
29691 &_swigt__p_wxTextEntryDialog
,
29692 &_swigt__p_wxTipWindow
,
29693 &_swigt__p_wxToolBar
,
29694 &_swigt__p_wxTopLevelWindow
,
29695 &_swigt__p_wxUpdateUIEvent
,
29696 &_swigt__p_wxValidator
,
29697 &_swigt__p_wxVisualAttributes
,
29698 &_swigt__p_wxWindow
,
29699 &_swigt__p_wxWindowCreateEvent
,
29700 &_swigt__p_wxWindowDestroyEvent
,
29701 &_swigt__p_wxXPMHandler
,
29702 &_swigt__ptrdiff_t
,
29703 &_swigt__std__ptrdiff_t
,
29704 &_swigt__unsigned_int
,
29707 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29708 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29709 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29710 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29711 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29712 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29713 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29714 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29715 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29717 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29718 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29719 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29720 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29721 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29722 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29723 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29724 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29725 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29726 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29727 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}};
29728 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29729 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}};
29730 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29731 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29732 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29733 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29734 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29735 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29736 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29737 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29738 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29739 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29740 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29741 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29742 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29743 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29744 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29745 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29746 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29747 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29748 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29749 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29750 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29751 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29752 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29753 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29754 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29755 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29756 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29757 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}};
29758 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29759 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29760 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29761 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29762 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29763 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}};
29764 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29765 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29766 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29767 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29768 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29769 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29770 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29771 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29772 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}};
29773 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29774 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29775 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29776 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29777 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29778 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29779 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29780 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29781 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29782 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29783 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29784 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}};
29785 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29786 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29787 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29788 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29789 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29790 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29791 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29792 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29793 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29794 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29795 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29796 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29797 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29798 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29799 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29800 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29801 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29802 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29803 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29804 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29805 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29806 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29807 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29808 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29809 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29810 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29811 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29812 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29813 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}};
29814 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29815 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29816 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}};
29817 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29818 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29819 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29820 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}};
29821 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29822 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}};
29823 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}};
29824 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29825 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29826 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29827 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}};
29828 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29829 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29830 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29831 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29832 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}};
29833 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29834 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29835 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29836 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29837 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29838 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29839 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}};
29840 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}};
29841 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29842 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29843 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29844 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29845 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29846 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
29847 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}};
29848 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29849 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}};
29850 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29851 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29852 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
29853 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
29854 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
29855 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
29856 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
29857 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29858 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29859 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29860 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
29861 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}};
29862 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
29863 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
29864 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}};
29865 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
29866 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}};
29867 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29868 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29869 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29871 static swig_cast_info
*swig_cast_initial
[] = {
29873 _swigc__p_form_ops_t
,
29875 _swigc__p_unsigned_char
,
29876 _swigc__p_unsigned_int
,
29877 _swigc__p_unsigned_long
,
29878 _swigc__p_wxANIHandler
,
29879 _swigc__p_wxAcceleratorTable
,
29880 _swigc__p_wxActivateEvent
,
29881 _swigc__p_wxArrayInt
,
29882 _swigc__p_wxBMPHandler
,
29883 _swigc__p_wxBitmap
,
29884 _swigc__p_wxBoxSizer
,
29885 _swigc__p_wxCURHandler
,
29886 _swigc__p_wxCalculateLayoutEvent
,
29887 _swigc__p_wxChildFocusEvent
,
29888 _swigc__p_wxCloseEvent
,
29889 _swigc__p_wxColour
,
29890 _swigc__p_wxColourData
,
29891 _swigc__p_wxColourDialog
,
29892 _swigc__p_wxCommandEvent
,
29893 _swigc__p_wxContextMenuEvent
,
29894 _swigc__p_wxControl
,
29895 _swigc__p_wxControlWithItems
,
29897 _swigc__p_wxDateEvent
,
29898 _swigc__p_wxDialog
,
29899 _swigc__p_wxDirDialog
,
29900 _swigc__p_wxDisplayChangedEvent
,
29901 _swigc__p_wxDropFilesEvent
,
29902 _swigc__p_wxDuplexMode
,
29903 _swigc__p_wxEraseEvent
,
29905 _swigc__p_wxEvtHandler
,
29906 _swigc__p_wxFSFile
,
29907 _swigc__p_wxFileDialog
,
29908 _swigc__p_wxFileSystem
,
29909 _swigc__p_wxFindDialogEvent
,
29910 _swigc__p_wxFindReplaceData
,
29911 _swigc__p_wxFindReplaceDialog
,
29912 _swigc__p_wxFlexGridSizer
,
29913 _swigc__p_wxFocusEvent
,
29915 _swigc__p_wxFontData
,
29916 _swigc__p_wxFontDialog
,
29918 _swigc__p_wxGBSizerItem
,
29919 _swigc__p_wxGIFHandler
,
29920 _swigc__p_wxGridBagSizer
,
29921 _swigc__p_wxGridSizer
,
29922 _swigc__p_wxICOHandler
,
29924 _swigc__p_wxIconBundle
,
29925 _swigc__p_wxIconizeEvent
,
29926 _swigc__p_wxIdleEvent
,
29928 _swigc__p_wxImageHandler
,
29929 _swigc__p_wxIndividualLayoutConstraint
,
29930 _swigc__p_wxInitDialogEvent
,
29931 _swigc__p_wxJPEGHandler
,
29932 _swigc__p_wxKeyEvent
,
29933 _swigc__p_wxLayoutAlgorithm
,
29934 _swigc__p_wxLayoutConstraints
,
29935 _swigc__p_wxMDIChildFrame
,
29936 _swigc__p_wxMDIClientWindow
,
29937 _swigc__p_wxMDIParentFrame
,
29938 _swigc__p_wxMaximizeEvent
,
29940 _swigc__p_wxMenuBar
,
29941 _swigc__p_wxMenuEvent
,
29942 _swigc__p_wxMenuItem
,
29943 _swigc__p_wxMessageDialog
,
29944 _swigc__p_wxMiniFrame
,
29945 _swigc__p_wxMouseCaptureChangedEvent
,
29946 _swigc__p_wxMouseEvent
,
29947 _swigc__p_wxMoveEvent
,
29948 _swigc__p_wxMultiChoiceDialog
,
29949 _swigc__p_wxNavigationKeyEvent
,
29950 _swigc__p_wxNcPaintEvent
,
29951 _swigc__p_wxNotifyEvent
,
29952 _swigc__p_wxObject
,
29953 _swigc__p_wxPCXHandler
,
29954 _swigc__p_wxPNGHandler
,
29955 _swigc__p_wxPNMHandler
,
29956 _swigc__p_wxPageSetupDialog
,
29957 _swigc__p_wxPageSetupDialogData
,
29958 _swigc__p_wxPaintEvent
,
29959 _swigc__p_wxPaletteChangedEvent
,
29961 _swigc__p_wxPaperSize
,
29962 _swigc__p_wxPasswordEntryDialog
,
29964 _swigc__p_wxPopupWindow
,
29965 _swigc__p_wxPreviewCanvas
,
29966 _swigc__p_wxPreviewControlBar
,
29967 _swigc__p_wxPreviewFrame
,
29968 _swigc__p_wxPrintData
,
29969 _swigc__p_wxPrintDialog
,
29970 _swigc__p_wxPrintDialogData
,
29971 _swigc__p_wxPrintPreview
,
29972 _swigc__p_wxPrinter
,
29973 _swigc__p_wxProgressDialog
,
29975 _swigc__p_wxPyCommandEvent
,
29976 _swigc__p_wxPyEvent
,
29977 _swigc__p_wxPyHtmlListBox
,
29978 _swigc__p_wxPyImageHandler
,
29979 _swigc__p_wxPyPanel
,
29980 _swigc__p_wxPyPopupTransientWindow
,
29981 _swigc__p_wxPyPreviewControlBar
,
29982 _swigc__p_wxPyPreviewFrame
,
29983 _swigc__p_wxPyPrintPreview
,
29984 _swigc__p_wxPyPrintout
,
29985 _swigc__p_wxPyScrolledWindow
,
29986 _swigc__p_wxPySizer
,
29987 _swigc__p_wxPyTaskBarIcon
,
29988 _swigc__p_wxPyVListBox
,
29989 _swigc__p_wxPyVScrolledWindow
,
29990 _swigc__p_wxPyValidator
,
29991 _swigc__p_wxPyWindow
,
29992 _swigc__p_wxQueryLayoutInfoEvent
,
29993 _swigc__p_wxQueryNewPaletteEvent
,
29995 _swigc__p_wxRegion
,
29996 _swigc__p_wxSashEvent
,
29997 _swigc__p_wxSashLayoutWindow
,
29998 _swigc__p_wxSashWindow
,
29999 _swigc__p_wxScrollEvent
,
30000 _swigc__p_wxScrollWinEvent
,
30001 _swigc__p_wxScrolledWindow
,
30002 _swigc__p_wxSetCursorEvent
,
30003 _swigc__p_wxShowEvent
,
30004 _swigc__p_wxSingleChoiceDialog
,
30006 _swigc__p_wxSizeEvent
,
30008 _swigc__p_wxSizerItem
,
30009 _swigc__p_wxSplashScreen
,
30010 _swigc__p_wxSplashScreenWindow
,
30011 _swigc__p_wxSplitterEvent
,
30012 _swigc__p_wxSplitterWindow
,
30013 _swigc__p_wxStaticBoxSizer
,
30014 _swigc__p_wxStatusBar
,
30015 _swigc__p_wxStdDialogButtonSizer
,
30016 _swigc__p_wxString
,
30017 _swigc__p_wxSysColourChangedEvent
,
30018 _swigc__p_wxTIFFHandler
,
30019 _swigc__p_wxTaskBarIcon
,
30020 _swigc__p_wxTaskBarIconEvent
,
30021 _swigc__p_wxTextEntryDialog
,
30022 _swigc__p_wxTipWindow
,
30023 _swigc__p_wxToolBar
,
30024 _swigc__p_wxTopLevelWindow
,
30025 _swigc__p_wxUpdateUIEvent
,
30026 _swigc__p_wxValidator
,
30027 _swigc__p_wxVisualAttributes
,
30028 _swigc__p_wxWindow
,
30029 _swigc__p_wxWindowCreateEvent
,
30030 _swigc__p_wxWindowDestroyEvent
,
30031 _swigc__p_wxXPMHandler
,
30033 _swigc__std__ptrdiff_t
,
30034 _swigc__unsigned_int
,
30038 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30040 static swig_const_info swig_const_table
[] = {
30041 {0, 0, 0, 0.0, 0, 0}};
30046 /*************************************************************************
30047 * Type initialization:
30048 * This problem is tough by the requirement that no dynamic
30049 * memory is used. Also, since swig_type_info structures store pointers to
30050 * swig_cast_info structures and swig_cast_info structures store pointers back
30051 * to swig_type_info structures, we need some lookup code at initialization.
30052 * The idea is that swig generates all the structures that are needed.
30053 * The runtime then collects these partially filled structures.
30054 * The SWIG_InitializeModule function takes these initial arrays out of
30055 * swig_module, and does all the lookup, filling in the swig_module.types
30056 * array with the correct data and linking the correct swig_cast_info
30057 * structures together.
30059 * The generated swig_type_info structures are assigned staticly to an initial
30060 * array. We just loop though that array, and handle each type individually.
30061 * First we lookup if this type has been already loaded, and if so, use the
30062 * loaded structure instead of the generated one. Then we have to fill in the
30063 * cast linked list. The cast data is initially stored in something like a
30064 * two-dimensional array. Each row corresponds to a type (there are the same
30065 * number of rows as there are in the swig_type_initial array). Each entry in
30066 * a column is one of the swig_cast_info structures for that type.
30067 * The cast_initial array is actually an array of arrays, because each row has
30068 * a variable number of columns. So to actually build the cast linked list,
30069 * we find the array of casts associated with the type, and loop through it
30070 * adding the casts to the list. The one last trick we need to do is making
30071 * sure the type pointer in the swig_cast_info struct is correct.
30073 * First off, we lookup the cast->type name to see if it is already loaded.
30074 * There are three cases to handle:
30075 * 1) If the cast->type has already been loaded AND the type we are adding
30076 * casting info to has not been loaded (it is in this module), THEN we
30077 * replace the cast->type pointer with the type pointer that has already
30079 * 2) If BOTH types (the one we are adding casting info to, and the
30080 * cast->type) are loaded, THEN the cast info has already been loaded by
30081 * the previous module so we just ignore it.
30082 * 3) Finally, if cast->type has not already been loaded, then we add that
30083 * swig_cast_info to the linked list (because the cast->type) pointer will
30095 #define SWIGRUNTIME_DEBUG
30099 SWIG_InitializeModule(void *clientdata
) {
30101 swig_module_info
*module_head
;
30102 static int init_run
= 0;
30104 clientdata
= clientdata
;
30106 if (init_run
) return;
30109 /* Initialize the swig_module */
30110 swig_module
.type_initial
= swig_type_initial
;
30111 swig_module
.cast_initial
= swig_cast_initial
;
30113 /* Try and load any already created modules */
30114 module_head
= SWIG_GetModule(clientdata
);
30116 swig_module
.next
= module_head
->next
;
30117 module_head
->next
= &swig_module
;
30119 /* This is the first module loaded */
30120 swig_module
.next
= &swig_module
;
30121 SWIG_SetModule(clientdata
, &swig_module
);
30124 /* Now work on filling in swig_module.types */
30125 #ifdef SWIGRUNTIME_DEBUG
30126 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
30128 for (i
= 0; i
< swig_module
.size
; ++i
) {
30129 swig_type_info
*type
= 0;
30130 swig_type_info
*ret
;
30131 swig_cast_info
*cast
;
30133 #ifdef SWIGRUNTIME_DEBUG
30134 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30137 /* if there is another module already loaded */
30138 if (swig_module
.next
!= &swig_module
) {
30139 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
30142 /* Overwrite clientdata field */
30143 #ifdef SWIGRUNTIME_DEBUG
30144 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
30146 if (swig_module
.type_initial
[i
]->clientdata
) {
30147 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
30148 #ifdef SWIGRUNTIME_DEBUG
30149 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
30153 type
= swig_module
.type_initial
[i
];
30156 /* Insert casting types */
30157 cast
= swig_module
.cast_initial
[i
];
30158 while (cast
->type
) {
30159 /* Don't need to add information already in the list */
30161 #ifdef SWIGRUNTIME_DEBUG
30162 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30164 if (swig_module
.next
!= &swig_module
) {
30165 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30166 #ifdef SWIGRUNTIME_DEBUG
30167 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30171 if (type
== swig_module
.type_initial
[i
]) {
30172 #ifdef SWIGRUNTIME_DEBUG
30173 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30178 /* Check for casting already in the list */
30179 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30180 #ifdef SWIGRUNTIME_DEBUG
30181 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30183 if (!ocast
) ret
= 0;
30188 #ifdef SWIGRUNTIME_DEBUG
30189 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30192 type
->cast
->prev
= cast
;
30193 cast
->next
= type
->cast
;
30199 /* Set entry in modules->types array equal to the type */
30200 swig_module
.types
[i
] = type
;
30202 swig_module
.types
[i
] = 0;
30204 #ifdef SWIGRUNTIME_DEBUG
30205 printf("**** SWIG_InitializeModule: Cast List ******\n");
30206 for (i
= 0; i
< swig_module
.size
; ++i
) {
30208 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30209 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30210 while (cast
->type
) {
30211 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30215 printf("---- Total casts: %d\n",j
);
30217 printf("**** SWIG_InitializeModule: Cast List ******\n");
30221 /* This function will propagate the clientdata field of type to
30222 * any new swig_type_info structures that have been added into the list
30223 * of equivalent types. It is like calling
30224 * SWIG_TypeClientData(type, clientdata) a second time.
30227 SWIG_PropagateClientData(void) {
30229 swig_cast_info
*equiv
;
30230 static int init_run
= 0;
30232 if (init_run
) return;
30235 for (i
= 0; i
< swig_module
.size
; i
++) {
30236 if (swig_module
.types
[i
]->clientdata
) {
30237 equiv
= swig_module
.types
[i
]->cast
;
30239 if (!equiv
->converter
) {
30240 if (equiv
->type
&& !equiv
->type
->clientdata
)
30241 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30243 equiv
= equiv
->next
;
30263 /* Python-specific SWIG API */
30264 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30265 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30266 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30268 /* -----------------------------------------------------------------------------
30269 * global variable support code.
30270 * ----------------------------------------------------------------------------- */
30272 typedef struct swig_globalvar
{
30273 char *name
; /* Name of global variable */
30274 PyObject
*(*get_attr
)(void); /* Return the current value */
30275 int (*set_attr
)(PyObject
*); /* Set the value */
30276 struct swig_globalvar
*next
;
30279 typedef struct swig_varlinkobject
{
30281 swig_globalvar
*vars
;
30282 } swig_varlinkobject
;
30284 SWIGINTERN PyObject
*
30285 swig_varlink_repr(swig_varlinkobject
*v
) {
30287 return PyString_FromString("<Swig global variables>");
30291 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30292 swig_globalvar
*var
;
30294 fprintf(fp
,"Swig global variables { ");
30295 for (var
= v
->vars
; var
; var
=var
->next
) {
30296 fprintf(fp
,"%s", var
->name
);
30297 if (var
->next
) fprintf(fp
,", ");
30299 fprintf(fp
," }\n");
30303 SWIGINTERN PyObject
*
30304 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30305 swig_globalvar
*var
= v
->vars
;
30307 if (strcmp(var
->name
,n
) == 0) {
30308 return (*var
->get_attr
)();
30312 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30317 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30318 swig_globalvar
*var
= v
->vars
;
30320 if (strcmp(var
->name
,n
) == 0) {
30321 return (*var
->set_attr
)(p
);
30325 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30329 SWIGINTERN PyTypeObject
*
30330 swig_varlink_type(void) {
30331 static char varlink__doc__
[] = "Swig var link object";
30332 static PyTypeObject varlink_type
30333 #if !defined(__cplusplus)
30335 static int type_init
= 0;
30340 PyObject_HEAD_INIT(&PyType_Type
)
30341 0, /* Number of items in variable part (ob_size) */
30342 (char *)"swigvarlink", /* Type name (tp_name) */
30343 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30344 0, /* Itemsize (tp_itemsize) */
30345 0, /* Deallocator (tp_dealloc) */
30346 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30347 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30348 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30349 0, /* tp_compare */
30350 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30351 0, /* tp_as_number */
30352 0, /* tp_as_sequence */
30353 0, /* tp_as_mapping */
30357 0, /* tp_getattro */
30358 0, /* tp_setattro */
30359 0, /* tp_as_buffer */
30361 varlink__doc__
, /* tp_doc */
30362 #if PY_VERSION_HEX >= 0x02000000
30363 0, /* tp_traverse */
30366 #if PY_VERSION_HEX >= 0x02010000
30367 0, /* tp_richcompare */
30368 0, /* tp_weaklistoffset */
30370 #if PY_VERSION_HEX >= 0x02020000
30371 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30373 #if PY_VERSION_HEX >= 0x02030000
30376 #ifdef COUNT_ALLOCS
30377 0,0,0,0 /* tp_alloc -> tp_next */
30380 #if !defined(__cplusplus)
30381 varlink_type
= tmp
;
30385 return &varlink_type
;
30388 /* Create a variable linking object for use later */
30389 SWIGINTERN PyObject
*
30390 SWIG_Python_newvarlink(void) {
30391 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30395 return ((PyObject
*) result
);
30399 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30400 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30401 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30403 size_t size
= strlen(name
)+1;
30404 gv
->name
= (char *)malloc(size
);
30406 strncpy(gv
->name
,name
,size
);
30407 gv
->get_attr
= get_attr
;
30408 gv
->set_attr
= set_attr
;
30409 gv
->next
= v
->vars
;
30415 /* -----------------------------------------------------------------------------
30416 * constants/methods manipulation
30417 * ----------------------------------------------------------------------------- */
30419 /* Install Constants */
30421 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30424 for (i
= 0; constants
[i
].type
; ++i
) {
30425 switch(constants
[i
].type
) {
30427 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30429 case SWIG_PY_FLOAT
:
30430 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30432 case SWIG_PY_STRING
:
30433 if (constants
[i
].pvalue
) {
30434 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30436 Py_INCREF(Py_None
);
30440 case SWIG_PY_POINTER
:
30441 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30443 case SWIG_PY_BINARY
:
30444 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30451 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30457 /* -----------------------------------------------------------------------------*/
30458 /* Fix SwigMethods to carry the callback ptrs when needed */
30459 /* -----------------------------------------------------------------------------*/
30462 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30463 swig_const_info
*const_table
,
30464 swig_type_info
**types
,
30465 swig_type_info
**types_initial
) {
30467 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30468 char *c
= methods
[i
].ml_doc
;
30469 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30471 swig_const_info
*ci
= 0;
30472 char *name
= c
+ 10;
30473 for (j
= 0; const_table
[j
].type
; ++j
) {
30474 if (strncmp(const_table
[j
].name
, name
,
30475 strlen(const_table
[j
].name
)) == 0) {
30476 ci
= &(const_table
[j
]);
30481 size_t shift
= (ci
->ptype
) - types
;
30482 swig_type_info
*ty
= types_initial
[shift
];
30483 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30484 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30485 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30488 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30490 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30492 strncpy(buff
, "swig_ptr: ", 10);
30494 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30495 methods
[i
].ml_doc
= ndoc
;
30503 /* -----------------------------------------------------------------------------*
30504 * Initialize type list
30505 * -----------------------------------------------------------------------------*/
30511 /* -----------------------------------------------------------------------------*
30512 * Partial Init method
30513 * -----------------------------------------------------------------------------*/
30518 SWIGEXPORT
void SWIG_init(void) {
30519 static PyObject
*SWIG_globals
= 0;
30521 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30523 /* Fix SwigMethods to carry the callback ptrs when needed */
30524 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30526 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30527 d
= PyModule_GetDict(m
);
30529 SWIG_InitializeModule(0);
30530 SWIG_InstallConstants(d
,swig_const_table
);
30532 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30533 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30534 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30535 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30536 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30538 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30541 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30544 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30547 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30550 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30553 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30556 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30559 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30562 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30565 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30568 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30571 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30574 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30577 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30580 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30583 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30586 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30589 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30592 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30595 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30598 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30601 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30604 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30607 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30610 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30613 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30616 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30619 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30622 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30625 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30628 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30631 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30634 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30637 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30640 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30643 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30646 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30649 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30652 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30655 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30658 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30661 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30664 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30667 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30670 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30673 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30675 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30677 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30680 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30683 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30686 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30689 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30692 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30695 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30698 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30701 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30704 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30707 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30710 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30713 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30716 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30718 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30719 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30720 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30721 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30722 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30723 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30725 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30728 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30731 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30734 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30737 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30740 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30743 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30746 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30749 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30752 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30755 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30758 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30761 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30764 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30767 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30769 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30771 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30774 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30777 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30780 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30783 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30786 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30789 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30792 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30795 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30798 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30801 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30803 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30804 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30805 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30807 // Map renamed classes back to their common name for OOR
30808 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30809 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30810 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30812 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30813 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30814 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30815 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30816 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30817 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30818 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30819 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30820 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30821 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30822 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30823 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30824 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30826 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30829 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30831 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30833 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30836 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30839 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30842 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30845 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
30848 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
30851 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
30853 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30854 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30855 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30856 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30857 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30859 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30862 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30865 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30868 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30871 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30874 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30877 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30880 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30883 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30885 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30886 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30888 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
30891 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
30894 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
30897 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
30900 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
30903 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
30906 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
30909 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
30912 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
30915 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
30918 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
30921 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
30924 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
30927 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
30930 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
30933 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
30936 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
30939 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
30942 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
30945 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
30948 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
30951 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
30954 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
30957 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
30960 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
30963 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
30966 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
30969 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
30972 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
30975 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
30978 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
30981 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
30984 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
30987 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
30990 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
30993 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
30996 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
30999 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
31002 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
31005 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");