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_type_error("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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1780 #define SWIG_From_int PyInt_FromLong
1784 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1790 } else if (target
== Py_None
) {
1794 if (!PyTuple_Check(target
)) {
1796 target
= PyTuple_New(1);
1797 PyTuple_SetItem(target
, 0, o2
);
1799 o3
= PyTuple_New(1);
1800 PyTuple_SetItem(o3
, 0, o
);
1803 target
= PySequence_Concat(o2
, o3
);
1813 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1815 if (PyNumber_Check(obj
)) {
1816 if (val
) *val
= PyFloat_AsDouble(obj
);
1820 SWIG_type_error("number", obj
);
1826 SWIGINTERNINLINE
double
1827 SWIG_As_double(PyObject
* obj
)
1830 if (!SWIG_AsVal_double(obj
, &v
)) {
1832 this is needed to make valgrind/purify happier.
1834 memset((void*)&v
, 0, sizeof(double));
1840 SWIGINTERNINLINE
int
1841 SWIG_Check_double(PyObject
* obj
)
1843 return SWIG_AsVal_double(obj
, (double*)0);
1847 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1848 #define SWIG_From_double PyFloat_FromDouble
1851 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1852 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1853 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1854 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1855 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1856 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1858 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,72,SWIG_define@*/
1859 #define SWIG_From_long PyInt_FromLong
1864 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1866 self
->GetFieldRect(i
, r
);
1869 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1870 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1871 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1873 #include <wx/popupwin.h>
1876 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1879 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1880 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1881 : wxPopupTransientWindow(parent
, style
) {}
1883 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1884 DEC_PYCALLBACK__(OnDismiss
);
1885 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1890 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1891 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1892 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1895 #include <wx/tipwin.h>
1897 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1898 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1901 #include <wx/tipwin.h>
1904 #include <wx/vscroll.h>
1907 class wxPyVScrolledWindow
: public wxVScrolledWindow
1909 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
1911 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1913 wxPyVScrolledWindow(wxWindow
*parent
,
1914 wxWindowID id
= wxID_ANY
,
1915 const wxPoint
& pos
= wxDefaultPosition
,
1916 const wxSize
& size
= wxDefaultSize
,
1918 const wxString
& name
= wxPyPanelNameStr
)
1919 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1922 // Overridable virtuals
1924 // this function must be overridden in the derived class and it should
1925 // return the height of the given line in pixels
1926 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1929 // this function doesn't have to be overridden but it may be useful to do
1930 // it if calculating the lines heights is a relatively expensive operation
1931 // as it gives the user code a possibility to calculate several of them at
1934 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1935 // shouldn't rely on the latter being called for all lines in the interval
1936 // specified here. It is also possible that OnGetLineHeight() will be
1937 // called for the lines outside of this interval, so this is really just a
1938 // hint, not a promise.
1940 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1942 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1945 // when the number of lines changes, we try to estimate the total height
1946 // of all lines which is a rather expensive operation in terms of lines
1947 // access, so if the user code may estimate the average height
1948 // better/faster than we do, it should override this function to implement
1951 // this function should return the best guess for the total height it may
1953 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1956 // Also expose some other interesting protected methods
1959 // find the index of the line we need to show at the top of the window such
1960 // that the last (fully or partially) visible line is the given one
1961 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1962 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1964 // get the total height of the lines between lineMin (inclusive) and
1965 // lineMax (exclusive)
1966 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1967 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1973 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1975 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1976 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1977 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1981 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1984 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1985 SWIG_type_error("unsigned number", obj
);
1988 *val
= (unsigned long)v
;
1993 SWIGINTERNINLINE
unsigned long
1994 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1997 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1999 this is needed to make valgrind/purify happier.
2001 memset((void*)&v
, 0, sizeof(unsigned long));
2007 SWIGINTERNINLINE
int
2008 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2010 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2014 SWIGINTERNINLINE PyObject
*
2015 SWIG_From_unsigned_SS_long(unsigned long value
)
2017 return (value
> LONG_MAX
) ?
2018 PyLong_FromUnsignedLong(value
)
2019 : PyInt_FromLong(static_cast<long >(value
));
2023 #include <wx/vlbox.h>
2025 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2027 class wxPyVListBox
: public wxVListBox
2029 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2031 wxPyVListBox() : wxVListBox() {}
2033 wxPyVListBox(wxWindow
*parent
,
2034 wxWindowID id
= wxID_ANY
,
2035 const wxPoint
& pos
= wxDefaultPosition
,
2036 const wxSize
& size
= wxDefaultSize
,
2038 const wxString
& name
= wxPyVListBoxNameStr
)
2039 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2042 // Overridable virtuals
2044 // the derived class must implement this function to actually draw the item
2045 // with the given index on the provided DC
2046 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2047 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2050 // the derived class must implement this method to return the height of the
2052 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
2053 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
2056 // this method may be used to draw separators between the lines; note that
2057 // the rectangle may be modified, typically to deflate it a bit before
2058 // passing to OnDrawItem()
2060 // the base class version doesn't do anything
2061 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
2062 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
2065 // this method is used to draw the items background and, maybe, a border
2068 // the base class version implements a reasonable default behaviour which
2069 // consists in drawing the selected item with the standard background
2070 // colour and drawing a border around the item if it is either selected or
2072 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
2073 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
2079 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
2081 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
2082 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
2083 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
2084 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
2087 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
2088 unsigned long cookie
= 0;
2089 int selected
= self
->GetFirstSelected(cookie
);
2090 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2091 PyObject
* tup
= PyTuple_New(2);
2092 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2093 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2094 wxPyEndBlockThreads(blocked
);
2097 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
2098 int selected
= self
->GetNextSelected(cookie
);
2099 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2100 PyObject
* tup
= PyTuple_New(2);
2101 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
2102 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
2103 wxPyEndBlockThreads(blocked
);
2107 #include <wx/htmllbox.h>
2110 class wxPyHtmlListBox
: public wxHtmlListBox
2112 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
2114 wxPyHtmlListBox() : wxHtmlListBox() {}
2116 wxPyHtmlListBox(wxWindow
*parent
,
2117 wxWindowID id
= wxID_ANY
,
2118 const wxPoint
& pos
= wxDefaultPosition
,
2119 const wxSize
& size
= wxDefaultSize
,
2121 const wxString
& name
= wxPyVListBoxNameStr
)
2122 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
2125 // Overridable virtuals
2127 // this method must be implemented in the derived class and should return
2128 // the body (i.e. without <html>) of the HTML for the given item
2129 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
2131 // this function may be overridden to decorate HTML returned by OnGetItem()
2132 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
2135 // // this method allows to customize the selection appearance: it may be used
2136 // // to specify the colour of the text which normally has the given colour
2137 // // colFg when it is inside the selection
2139 // // by default, the original colour is not used at all and all text has the
2140 // // same (default for this system) colour inside selection
2141 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
2143 // // this is the same as GetSelectedTextColour() but allows to customize the
2144 // // background colour -- this is even more rarely used as you can change it
2145 // // globally using SetSelectionBackground()
2146 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
2153 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
2155 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
2156 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
2162 #ifndef wxHAS_TASK_BAR_ICON
2163 // implement dummy classes for platforms that don't have it
2165 class wxTaskBarIcon
: public wxEvtHandler
2168 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2172 class wxTaskBarIconEvent
: public wxEvent
2175 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2176 { wxPyRaiseNotImplemented(); }
2177 virtual wxEvent
* Clone() const { return NULL
; }
2178 bool IsOk() const { return false; }
2179 bool IsIconInstalled() const { return false; }
2180 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2181 bool RemoveIcon() { return false; }
2182 bool PopupMenu(wxMenu
*menu
) { return false; }
2186 wxEVT_TASKBAR_MOVE
= 0,
2187 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2188 wxEVT_TASKBAR_LEFT_UP
= 0,
2189 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2190 wxEVT_TASKBAR_RIGHT_UP
= 0,
2191 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2192 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2197 // Otherwise make a class that can virtualize CreatePopupMenu
2198 class wxPyTaskBarIcon
: public wxTaskBarIcon
2200 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
2202 wxPyTaskBarIcon() : wxTaskBarIcon()
2205 wxMenu
* CreatePopupMenu() {
2206 wxMenu
*rval
= NULL
;
2208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2209 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2212 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2214 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2219 wxPyEndBlockThreads(blocked
);
2221 rval
= wxTaskBarIcon::CreatePopupMenu();
2228 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2232 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2236 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2237 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2238 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2239 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2240 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2241 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2242 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2244 self
->GetFilenames(arr
);
2245 return wxArrayString2PyList_helper(arr
);
2247 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2249 self
->GetPaths(arr
);
2250 return wxArrayString2PyList_helper(arr
);
2252 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2253 return wxArrayInt2PyList_helper(self
->GetSelections());
2255 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
2256 return new wxSingleChoiceDialog(parent
, message
, caption
,
2257 choices
, choices_array
, NULL
, style
, pos
);
2259 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2263 // C++ version of Python aware wxWindow
2264 class wxPyWindow
: public wxWindow
2266 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2268 wxPyWindow() : wxWindow() {}
2269 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2270 const wxPoint
& pos
= wxDefaultPosition
,
2271 const wxSize
& size
= wxDefaultSize
,
2273 const wxString
& name
= wxPyPanelNameStr
)
2274 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2276 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2278 bool DoEraseBackground(wxDC
* dc
) {
2280 return wxWindow::DoEraseBackground(dc
->GetHDC());
2282 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2289 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2300 DEC_PYCALLBACK__(InitDialog
);
2301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2303 DEC_PYCALLBACK_BOOL_(Validate
);
2305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2307 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2317 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2336 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2342 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2343 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2348 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
2353 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
2355 // C++ version of Python aware wxPanel
2356 class wxPyPanel
: public wxPanel
2358 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2360 wxPyPanel() : wxPanel() {}
2361 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2362 const wxPoint
& pos
= wxDefaultPosition
,
2363 const wxSize
& size
= wxDefaultSize
,
2365 const wxString
& name
= wxPyPanelNameStr
)
2366 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2368 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2369 bool DoEraseBackground(wxDC
* dc
) {
2371 return wxWindow::DoEraseBackground(dc
->GetHDC());
2373 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2381 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2392 DEC_PYCALLBACK__(InitDialog
);
2393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2395 DEC_PYCALLBACK_BOOL_(Validate
);
2397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2399 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2409 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2428 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2434 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2435 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2440 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2443 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
2445 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
2447 // C++ version of Python aware wxScrolledWindow
2448 class wxPyScrolledWindow
: public wxScrolledWindow
2450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2452 wxPyScrolledWindow() : wxScrolledWindow() {}
2453 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2454 const wxPoint
& pos
= wxDefaultPosition
,
2455 const wxSize
& size
= wxDefaultSize
,
2457 const wxString
& name
= wxPyPanelNameStr
)
2458 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2460 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2461 bool DoEraseBackground(wxDC
* dc
) {
2463 return wxWindow::DoEraseBackground(dc
->GetHDC());
2465 dc
->SetBackground(wxBrush(GetBackgroundColour()));
2471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2472 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2483 DEC_PYCALLBACK__(InitDialog
);
2484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2486 DEC_PYCALLBACK_BOOL_(Validate
);
2488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2490 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
2500 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
2505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2519 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
2536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
2539 #include "wx/wxPython/printfw.h"
2542 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2543 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2544 static PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
2546 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2547 data
= PyString_FromStringAndSize(self
->GetPrivData(),
2548 self
->GetPrivDataLen());
2549 wxPyEndBlockThreads(blocked
);
2552 static void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
2553 if (! PyString_Check(data
)) {
2554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2555 "Expected string object"));
2559 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2560 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
2561 wxPyEndBlockThreads(blocked
);
2565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2567 // Since this one would be tough and ugly to do with the Macros...
2568 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2569 bool hadErr
= false;
2572 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2573 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2574 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2575 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2578 val
= PyTuple_GetItem(result
, 0);
2579 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2582 val
= PyTuple_GetItem(result
, 1);
2583 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2586 val
= PyTuple_GetItem(result
, 2);
2587 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2590 val
= PyTuple_GetItem(result
, 3);
2591 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2598 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2603 wxPyEndBlockThreads(blocked
);
2605 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2608 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2609 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2613 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2616 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2617 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2618 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2619 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2625 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2626 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2627 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2630 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2631 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2634 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
2635 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2636 PyObject* win = wxPyMake_wxObject(a,false); \
2637 PyObject* dc = wxPyMake_wxObject(&b,false); \
2638 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2642 wxPyEndBlockThreads(blocked); \
2644 rval = PCLASS::CBNAME(a, b); \
2647 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2648 return PCLASS::CBNAME(a, b); \
2654 class wxPyPrintPreview
: public wxPrintPreview
2656 DECLARE_CLASS(wxPyPrintPreview
)
2658 wxPyPrintPreview(wxPyPrintout
* printout
,
2659 wxPyPrintout
* printoutForPrinting
,
2660 wxPrintDialogData
* data
=NULL
)
2661 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2663 wxPyPrintPreview(wxPyPrintout
* printout
,
2664 wxPyPrintout
* printoutForPrinting
,
2666 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2669 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2670 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2671 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2672 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2673 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2674 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2675 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2680 // Stupid renamed classes... Fix this in 2.5...
2681 #if defined(__WXMSW__)
2682 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2683 #elif defined(__WXMAC__)
2684 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2686 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2689 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2690 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2691 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2692 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2693 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2694 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2695 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2698 class wxPyPreviewFrame
: public wxPreviewFrame
2700 DECLARE_CLASS(wxPyPreviewFrame
)
2702 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2703 const wxString
& title
,
2704 const wxPoint
& pos
= wxDefaultPosition
,
2705 const wxSize
& size
= wxDefaultSize
,
2706 long style
= wxDEFAULT_FRAME_STYLE
,
2707 const wxString
& name
= wxPyFrameNameStr
)
2708 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2711 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2712 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2714 DEC_PYCALLBACK_VOID_(Initialize
);
2715 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2716 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2721 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2723 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2724 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2728 class wxPyPreviewControlBar
: public wxPreviewControlBar
2730 DECLARE_CLASS(wxPyPreviewControlBar
)
2732 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2735 const wxPoint
& pos
= wxDefaultPosition
,
2736 const wxSize
& size
= wxDefaultSize
,
2738 const wxString
& name
= wxPyPanelNameStr
)
2739 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2742 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2744 DEC_PYCALLBACK_VOID_(CreateButtons
);
2745 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2750 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2751 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2752 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2757 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
= NULL
;
2759 wxWindow
*arg1
= (wxWindow
*) 0 ;
2760 int arg2
= (int) (int)-1 ;
2761 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2762 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2763 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2764 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2765 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2766 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2767 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2771 bool temp6
= false ;
2772 PyObject
* obj0
= 0 ;
2773 PyObject
* obj1
= 0 ;
2774 PyObject
* obj2
= 0 ;
2775 PyObject
* obj3
= 0 ;
2776 PyObject
* obj4
= 0 ;
2777 PyObject
* obj5
= 0 ;
2779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail
;
2787 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
2788 if (SWIG_arg_fail(2)) SWIG_fail
;
2794 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2800 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2805 arg5
= static_cast<long >(SWIG_As_long(obj4
));
2806 if (SWIG_arg_fail(5)) SWIG_fail
;
2811 arg6
= wxString_in_helper(obj5
);
2812 if (arg6
== NULL
) SWIG_fail
;
2817 if (!wxPyCheckForApp()) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2839 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
= NULL
;
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2848 if (!wxPyCheckForApp()) SWIG_fail
;
2849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2850 result
= (wxPanel
*)new wxPanel();
2852 wxPyEndAllowThreads(__tstate
);
2853 if (PyErr_Occurred()) SWIG_fail
;
2855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2862 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
= NULL
;
2864 wxPanel
*arg1
= (wxPanel
*) 0 ;
2865 wxWindow
*arg2
= (wxWindow
*) 0 ;
2866 int arg3
= (int) (int)-1 ;
2867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2871 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2872 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2877 bool temp7
= false ;
2878 PyObject
* obj0
= 0 ;
2879 PyObject
* obj1
= 0 ;
2880 PyObject
* obj2
= 0 ;
2881 PyObject
* obj3
= 0 ;
2882 PyObject
* obj4
= 0 ;
2883 PyObject
* obj5
= 0 ;
2884 PyObject
* obj6
= 0 ;
2886 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2891 if (SWIG_arg_fail(1)) SWIG_fail
;
2892 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2893 if (SWIG_arg_fail(2)) SWIG_fail
;
2896 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
2897 if (SWIG_arg_fail(3)) SWIG_fail
;
2903 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2909 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2914 arg6
= static_cast<long >(SWIG_As_long(obj5
));
2915 if (SWIG_arg_fail(6)) SWIG_fail
;
2920 arg7
= wxString_in_helper(obj6
);
2921 if (arg7
== NULL
) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2949 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
= NULL
;
2951 wxPanel
*arg1
= (wxPanel
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2954 (char *) "self", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2959 if (SWIG_arg_fail(1)) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 (arg1
)->InitDialog();
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2967 Py_INCREF(Py_None
); resultobj
= Py_None
;
2974 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
= NULL
;
2976 wxPanel
*arg1
= (wxPanel
*) 0 ;
2977 PyObject
* obj0
= 0 ;
2979 (char *) "self", NULL
2982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2984 if (SWIG_arg_fail(1)) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 Py_INCREF(Py_None
); resultobj
= Py_None
;
2999 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
*resultobj
= NULL
;
3001 wxPanel
*arg1
= (wxPanel
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3004 (char *) "self", NULL
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
3008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
3009 if (SWIG_arg_fail(1)) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 (arg1
)->SetFocusIgnoringChildren();
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 Py_INCREF(Py_None
); resultobj
= Py_None
;
3024 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
= NULL
;
3026 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3027 wxVisualAttributes result
;
3028 PyObject
* obj0
= 0 ;
3030 (char *) "variant", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3036 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
3037 if (SWIG_arg_fail(1)) SWIG_fail
;
3041 if (!wxPyCheckForApp()) SWIG_fail
;
3042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3043 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3049 wxVisualAttributes
* resultptr
;
3050 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
3051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3059 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
3061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3062 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
3064 return Py_BuildValue((char *)"");
3066 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
= NULL
;
3068 wxWindow
*arg1
= (wxWindow
*) 0 ;
3069 int arg2
= (int) (int)-1 ;
3070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3074 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3075 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3076 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3077 wxScrolledWindow
*result
;
3080 bool temp6
= false ;
3081 PyObject
* obj0
= 0 ;
3082 PyObject
* obj1
= 0 ;
3083 PyObject
* obj2
= 0 ;
3084 PyObject
* obj3
= 0 ;
3085 PyObject
* obj4
= 0 ;
3086 PyObject
* obj5
= 0 ;
3088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3093 if (SWIG_arg_fail(1)) SWIG_fail
;
3096 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
3097 if (SWIG_arg_fail(2)) SWIG_fail
;
3103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3114 arg5
= static_cast<long >(SWIG_As_long(obj4
));
3115 if (SWIG_arg_fail(5)) SWIG_fail
;
3120 arg6
= wxString_in_helper(obj5
);
3121 if (arg6
== NULL
) SWIG_fail
;
3126 if (!wxPyCheckForApp()) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3148 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
= NULL
;
3150 wxScrolledWindow
*result
;
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
3157 if (!wxPyCheckForApp()) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 result
= (wxScrolledWindow
*)new wxScrolledWindow();
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
3171 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
= NULL
;
3173 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3174 wxWindow
*arg2
= (wxWindow
*) 0 ;
3175 int arg3
= (int) (int)-1 ;
3176 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3177 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3178 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3179 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3180 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
3181 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3182 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3186 bool temp7
= false ;
3187 PyObject
* obj0
= 0 ;
3188 PyObject
* obj1
= 0 ;
3189 PyObject
* obj2
= 0 ;
3190 PyObject
* obj3
= 0 ;
3191 PyObject
* obj4
= 0 ;
3192 PyObject
* obj5
= 0 ;
3193 PyObject
* obj6
= 0 ;
3195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3200 if (SWIG_arg_fail(1)) SWIG_fail
;
3201 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3202 if (SWIG_arg_fail(2)) SWIG_fail
;
3205 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
3206 if (SWIG_arg_fail(3)) SWIG_fail
;
3212 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3218 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3223 arg6
= static_cast<long >(SWIG_As_long(obj5
));
3224 if (SWIG_arg_fail(6)) SWIG_fail
;
3229 arg7
= wxString_in_helper(obj6
);
3230 if (arg7
== NULL
) SWIG_fail
;
3235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3258 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
= NULL
;
3260 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3265 int arg6
= (int) 0 ;
3266 int arg7
= (int) 0 ;
3267 bool arg8
= (bool) false ;
3268 PyObject
* obj0
= 0 ;
3269 PyObject
* obj1
= 0 ;
3270 PyObject
* obj2
= 0 ;
3271 PyObject
* obj3
= 0 ;
3272 PyObject
* obj4
= 0 ;
3273 PyObject
* obj5
= 0 ;
3274 PyObject
* obj6
= 0 ;
3275 PyObject
* obj7
= 0 ;
3277 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3282 if (SWIG_arg_fail(1)) SWIG_fail
;
3284 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3285 if (SWIG_arg_fail(2)) SWIG_fail
;
3288 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3289 if (SWIG_arg_fail(3)) SWIG_fail
;
3292 arg4
= static_cast<int >(SWIG_As_int(obj3
));
3293 if (SWIG_arg_fail(4)) SWIG_fail
;
3296 arg5
= static_cast<int >(SWIG_As_int(obj4
));
3297 if (SWIG_arg_fail(5)) SWIG_fail
;
3301 arg6
= static_cast<int >(SWIG_As_int(obj5
));
3302 if (SWIG_arg_fail(6)) SWIG_fail
;
3307 arg7
= static_cast<int >(SWIG_As_int(obj6
));
3308 if (SWIG_arg_fail(7)) SWIG_fail
;
3313 arg8
= static_cast<bool >(SWIG_As_bool(obj7
));
3314 if (SWIG_arg_fail(8)) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
= NULL
;
3333 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3338 PyObject
* obj2
= 0 ;
3340 (char *) "self",(char *) "x",(char *) "y", NULL
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3345 if (SWIG_arg_fail(1)) SWIG_fail
;
3347 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3348 if (SWIG_arg_fail(2)) SWIG_fail
;
3351 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3352 if (SWIG_arg_fail(3)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 (arg1
)->Scroll(arg2
,arg3
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 Py_INCREF(Py_None
); resultobj
= Py_None
;
3368 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
= NULL
;
3370 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3373 PyObject
* obj0
= 0 ;
3374 PyObject
* obj1
= 0 ;
3376 (char *) "self",(char *) "orient", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3381 if (SWIG_arg_fail(1)) SWIG_fail
;
3383 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3384 if (SWIG_arg_fail(2)) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3394 resultobj
= SWIG_From_int(static_cast<int >(result
));
3402 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
= NULL
;
3404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3407 PyObject
* obj0
= 0 ;
3408 PyObject
* obj1
= 0 ;
3409 PyObject
* obj2
= 0 ;
3411 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3416 if (SWIG_arg_fail(1)) SWIG_fail
;
3418 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3419 if (SWIG_arg_fail(2)) SWIG_fail
;
3422 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3423 if (SWIG_arg_fail(3)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3427 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3429 wxPyEndAllowThreads(__tstate
);
3430 if (PyErr_Occurred()) SWIG_fail
;
3432 Py_INCREF(Py_None
); resultobj
= Py_None
;
3439 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
*resultobj
= NULL
;
3441 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3446 PyObject
* obj2
= 0 ;
3448 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3453 if (SWIG_arg_fail(1)) SWIG_fail
;
3455 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3456 if (SWIG_arg_fail(2)) SWIG_fail
;
3459 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3460 if (SWIG_arg_fail(3)) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 (arg1
)->SetScrollRate(arg2
,arg3
);
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
= NULL
;
3478 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3479 int *arg2
= (int *) 0 ;
3480 int *arg3
= (int *) 0 ;
3485 PyObject
* obj0
= 0 ;
3487 (char *) "self", NULL
3490 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3491 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3494 if (SWIG_arg_fail(1)) SWIG_fail
;
3496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3499 wxPyEndAllowThreads(__tstate
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 Py_INCREF(Py_None
); resultobj
= Py_None
;
3503 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3504 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3505 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3506 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3513 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
= NULL
;
3515 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3520 PyObject
* obj2
= 0 ;
3522 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3527 if (SWIG_arg_fail(1)) SWIG_fail
;
3529 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
3530 if (SWIG_arg_fail(2)) SWIG_fail
;
3533 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
3534 if (SWIG_arg_fail(3)) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 (arg1
)->EnableScrolling(arg2
,arg3
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 Py_INCREF(Py_None
); resultobj
= Py_None
;
3550 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
= NULL
;
3552 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3553 int *arg2
= (int *) 0 ;
3554 int *arg3
= (int *) 0 ;
3559 PyObject
* obj0
= 0 ;
3561 (char *) "self", NULL
3564 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3565 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3568 if (SWIG_arg_fail(1)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 Py_INCREF(Py_None
); resultobj
= Py_None
;
3577 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3578 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3579 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3580 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3587 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
= NULL
;
3589 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3594 PyObject
* obj2
= 0 ;
3596 (char *) "self",(char *) "xs",(char *) "ys", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3603 arg2
= static_cast<double >(SWIG_As_double(obj1
));
3604 if (SWIG_arg_fail(2)) SWIG_fail
;
3607 arg3
= static_cast<double >(SWIG_As_double(obj2
));
3608 if (SWIG_arg_fail(3)) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 (arg1
)->SetScale(arg2
,arg3
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
= NULL
;
3626 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3630 (char *) "self", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3635 if (SWIG_arg_fail(1)) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3644 resultobj
= SWIG_From_double(static_cast<double >(result
));
3652 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
= NULL
;
3654 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3656 PyObject
* obj0
= 0 ;
3658 (char *) "self", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3663 if (SWIG_arg_fail(1)) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_From_double(static_cast<double >(result
));
3680 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3681 PyObject
*resultobj
= NULL
;
3682 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3687 PyObject
* obj1
= 0 ;
3689 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3691 if (SWIG_arg_fail(1)) SWIG_fail
;
3694 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3704 wxPoint
* resultptr
;
3705 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3714 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3715 PyObject
*resultobj
= NULL
;
3716 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3719 int *arg4
= (int *) 0 ;
3720 int *arg5
= (int *) 0 ;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3727 PyObject
* obj2
= 0 ;
3729 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3730 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3731 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3733 if (SWIG_arg_fail(1)) SWIG_fail
;
3735 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3736 if (SWIG_arg_fail(2)) SWIG_fail
;
3739 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3740 if (SWIG_arg_fail(3)) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3750 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3751 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3752 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3753 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3760 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3765 argc
= PyObject_Length(args
);
3766 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3767 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3773 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3782 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3785 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3793 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3801 _v
= SWIG_Check_int(argv
[1]);
3803 _v
= SWIG_Check_int(argv
[2]);
3805 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3811 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3816 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3817 PyObject
*resultobj
= NULL
;
3818 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3825 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3827 if (SWIG_arg_fail(1)) SWIG_fail
;
3830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 wxPoint
* resultptr
;
3841 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
3842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3850 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3851 PyObject
*resultobj
= NULL
;
3852 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3855 int *arg4
= (int *) 0 ;
3856 int *arg5
= (int *) 0 ;
3861 PyObject
* obj0
= 0 ;
3862 PyObject
* obj1
= 0 ;
3863 PyObject
* obj2
= 0 ;
3865 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3866 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3867 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3869 if (SWIG_arg_fail(1)) SWIG_fail
;
3871 arg2
= static_cast<int >(SWIG_As_int(obj1
));
3872 if (SWIG_arg_fail(2)) SWIG_fail
;
3875 arg3
= static_cast<int >(SWIG_As_int(obj2
));
3876 if (SWIG_arg_fail(3)) SWIG_fail
;
3879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3880 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 Py_INCREF(Py_None
); resultobj
= Py_None
;
3886 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3887 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3888 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3889 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3896 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3901 argc
= PyObject_Length(args
);
3902 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3903 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3909 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3918 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3921 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3929 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3937 _v
= SWIG_Check_int(argv
[1]);
3939 _v
= SWIG_Check_int(argv
[2]);
3941 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3947 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3952 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
= NULL
;
3954 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3955 PyObject
* obj0
= 0 ;
3957 (char *) "self", NULL
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3962 if (SWIG_arg_fail(1)) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 (arg1
)->AdjustScrollbars();
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 Py_INCREF(Py_None
); resultobj
= Py_None
;
3977 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
= NULL
;
3979 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3980 wxScrollWinEvent
*arg2
= 0 ;
3982 PyObject
* obj0
= 0 ;
3983 PyObject
* obj1
= 0 ;
3985 (char *) "self",(char *) "event", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3990 if (SWIG_arg_fail(1)) SWIG_fail
;
3992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3993 if (SWIG_arg_fail(2)) SWIG_fail
;
3995 SWIG_null_ref("wxScrollWinEvent");
3997 if (SWIG_arg_fail(2)) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_From_int(static_cast<int >(result
));
4015 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
= NULL
;
4017 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4018 wxWindow
*arg2
= (wxWindow
*) 0 ;
4019 PyObject
* obj0
= 0 ;
4020 PyObject
* obj1
= 0 ;
4022 (char *) "self",(char *) "target", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
4026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4027 if (SWIG_arg_fail(1)) SWIG_fail
;
4028 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4029 if (SWIG_arg_fail(2)) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 (arg1
)->SetTargetWindow(arg2
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 Py_INCREF(Py_None
); resultobj
= Py_None
;
4044 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
= NULL
;
4046 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4048 PyObject
* obj0
= 0 ;
4050 (char *) "self", NULL
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
4054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4055 if (SWIG_arg_fail(1)) SWIG_fail
;
4057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4058 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= wxPyMake_wxObject(result
, 0);
4072 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
= NULL
;
4074 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4077 PyObject
* obj0
= 0 ;
4078 PyObject
* obj1
= 0 ;
4080 (char *) "self",(char *) "rect", NULL
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4085 if (SWIG_arg_fail(1)) SWIG_fail
;
4088 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 Py_INCREF(Py_None
); resultobj
= Py_None
;
4104 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
= NULL
;
4106 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "self", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
4114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4115 if (SWIG_arg_fail(1)) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4125 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
4126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4134 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
= NULL
;
4136 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4141 (char *) "self",(char *) "dc", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
4145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
4149 if (SWIG_arg_fail(2)) SWIG_fail
;
4151 SWIG_null_ref("wxDC");
4153 if (SWIG_arg_fail(2)) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 (arg1
)->DoPrepareDC(*arg2
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 Py_INCREF(Py_None
); resultobj
= Py_None
;
4169 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
= NULL
;
4171 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4172 wxVisualAttributes result
;
4173 PyObject
* obj0
= 0 ;
4175 (char *) "variant", NULL
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4181 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
4182 if (SWIG_arg_fail(1)) SWIG_fail
;
4186 if (!wxPyCheckForApp()) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 wxVisualAttributes
* resultptr
;
4195 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
4196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4204 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
4206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4207 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
4209 return Py_BuildValue((char *)"");
4211 static int _wrap_FrameNameStr_set(PyObject
*) {
4212 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
4217 static PyObject
*_wrap_FrameNameStr_get(void) {
4218 PyObject
*pyobj
= NULL
;
4222 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4224 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4231 static int _wrap_DialogNameStr_set(PyObject
*) {
4232 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4237 static PyObject
*_wrap_DialogNameStr_get(void) {
4238 PyObject
*pyobj
= NULL
;
4242 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4244 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4251 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4252 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4257 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4258 PyObject
*pyobj
= NULL
;
4262 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4264 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4271 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4272 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4277 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4278 PyObject
*pyobj
= NULL
;
4282 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4284 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4291 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
= NULL
;
4293 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4294 bool arg2
= (bool) true ;
4295 PyObject
* obj0
= 0 ;
4296 PyObject
* obj1
= 0 ;
4298 (char *) "self",(char *) "maximize", NULL
4301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4303 if (SWIG_arg_fail(1)) SWIG_fail
;
4306 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4307 if (SWIG_arg_fail(2)) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 (arg1
)->Maximize(arg2
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4317 Py_INCREF(Py_None
); resultobj
= Py_None
;
4324 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4325 PyObject
*resultobj
= NULL
;
4326 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4327 PyObject
* obj0
= 0 ;
4329 (char *) "self", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4334 if (SWIG_arg_fail(1)) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
= NULL
;
4351 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4352 bool arg2
= (bool) true ;
4353 PyObject
* obj0
= 0 ;
4354 PyObject
* obj1
= 0 ;
4356 (char *) "self",(char *) "iconize", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4361 if (SWIG_arg_fail(1)) SWIG_fail
;
4364 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4365 if (SWIG_arg_fail(2)) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 (arg1
)->Iconize(arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 Py_INCREF(Py_None
); resultobj
= Py_None
;
4382 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
= NULL
;
4384 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4386 PyObject
* obj0
= 0 ;
4388 (char *) "self", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4393 if (SWIG_arg_fail(1)) SWIG_fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4410 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
= NULL
;
4412 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4416 (char *) "self", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4421 if (SWIG_arg_fail(1)) SWIG_fail
;
4423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4424 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4426 wxPyEndAllowThreads(__tstate
);
4427 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4438 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
= NULL
;
4440 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4442 PyObject
* obj0
= 0 ;
4444 (char *) "self", NULL
4447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4449 if (SWIG_arg_fail(1)) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4459 resultptr
= new wxIcon(static_cast<wxIcon
& >(result
));
4460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4468 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
= NULL
;
4470 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4472 PyObject
* obj0
= 0 ;
4473 PyObject
* obj1
= 0 ;
4475 (char *) "self",(char *) "icon", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4480 if (SWIG_arg_fail(1)) SWIG_fail
;
4482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4483 if (SWIG_arg_fail(2)) SWIG_fail
;
4485 SWIG_null_ref("wxIcon");
4487 if (SWIG_arg_fail(2)) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 Py_INCREF(Py_None
); resultobj
= Py_None
;
4503 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
= NULL
;
4505 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4506 wxIconBundle
*arg2
= 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "icons", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4515 if (SWIG_arg_fail(1)) SWIG_fail
;
4517 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4518 if (SWIG_arg_fail(2)) SWIG_fail
;
4520 SWIG_null_ref("wxIconBundle");
4522 if (SWIG_arg_fail(2)) SWIG_fail
;
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) SWIG_fail
;
4531 Py_INCREF(Py_None
); resultobj
= Py_None
;
4538 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
= NULL
;
4540 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4542 long arg3
= (long) wxFULLSCREEN_ALL
;
4544 PyObject
* obj0
= 0 ;
4545 PyObject
* obj1
= 0 ;
4546 PyObject
* obj2
= 0 ;
4548 (char *) "self",(char *) "show",(char *) "style", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4553 if (SWIG_arg_fail(1)) SWIG_fail
;
4555 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4556 if (SWIG_arg_fail(2)) SWIG_fail
;
4560 arg3
= static_cast<long >(SWIG_As_long(obj2
));
4561 if (SWIG_arg_fail(3)) SWIG_fail
;
4565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4566 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4568 wxPyEndAllowThreads(__tstate
);
4569 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4580 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
= NULL
;
4582 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4586 (char *) "self", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4591 if (SWIG_arg_fail(1)) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4608 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
= NULL
;
4610 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4611 wxString
*arg2
= 0 ;
4612 bool temp2
= false ;
4613 PyObject
* obj0
= 0 ;
4614 PyObject
* obj1
= 0 ;
4616 (char *) "self",(char *) "title", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail
;
4623 arg2
= wxString_in_helper(obj1
);
4624 if (arg2
== NULL
) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 (arg1
)->SetTitle((wxString
const &)*arg2
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 Py_INCREF(Py_None
); resultobj
= Py_None
;
4649 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
= NULL
;
4651 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4655 (char *) "self", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4660 if (SWIG_arg_fail(1)) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4681 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
= NULL
;
4683 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4684 wxRegion
*arg2
= 0 ;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4689 (char *) "self",(char *) "region", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4694 if (SWIG_arg_fail(1)) SWIG_fail
;
4696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4697 if (SWIG_arg_fail(2)) SWIG_fail
;
4699 SWIG_null_ref("wxRegion");
4701 if (SWIG_arg_fail(2)) SWIG_fail
;
4704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4705 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4719 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
= NULL
;
4721 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4722 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "self",(char *) "flags", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4731 if (SWIG_arg_fail(1)) SWIG_fail
;
4734 arg2
= static_cast<int >(SWIG_As_int(obj1
));
4735 if (SWIG_arg_fail(2)) SWIG_fail
;
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 (arg1
)->RequestUserAttention(arg2
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4745 Py_INCREF(Py_None
); resultobj
= Py_None
;
4752 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4753 PyObject
*resultobj
= NULL
;
4754 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4756 PyObject
* obj0
= 0 ;
4758 (char *) "self", NULL
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4763 if (SWIG_arg_fail(1)) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)(arg1
)->IsActive();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4780 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
= NULL
;
4782 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4787 (char *) "self",(char *) "on", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4792 if (SWIG_arg_fail(1)) SWIG_fail
;
4794 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
4795 if (SWIG_arg_fail(2)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
= NULL
;
4813 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4815 PyObject
* obj0
= 0 ;
4817 (char *) "self", NULL
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4822 if (SWIG_arg_fail(1)) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4839 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4842 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4844 return Py_BuildValue((char *)"");
4846 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
= NULL
;
4848 wxWindow
*arg1
= (wxWindow
*) 0 ;
4849 int arg2
= (int) (int)-1 ;
4850 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4851 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4856 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4857 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4858 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4860 bool temp3
= false ;
4863 bool temp7
= false ;
4864 PyObject
* obj0
= 0 ;
4865 PyObject
* obj1
= 0 ;
4866 PyObject
* obj2
= 0 ;
4867 PyObject
* obj3
= 0 ;
4868 PyObject
* obj4
= 0 ;
4869 PyObject
* obj5
= 0 ;
4870 PyObject
* obj6
= 0 ;
4872 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4877 if (SWIG_arg_fail(1)) SWIG_fail
;
4880 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
4881 if (SWIG_arg_fail(2)) SWIG_fail
;
4886 arg3
= wxString_in_helper(obj2
);
4887 if (arg3
== NULL
) SWIG_fail
;
4894 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4900 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4905 arg6
= static_cast<long >(SWIG_As_long(obj5
));
4906 if (SWIG_arg_fail(6)) SWIG_fail
;
4911 arg7
= wxString_in_helper(obj6
);
4912 if (arg7
== NULL
) SWIG_fail
;
4917 if (!wxPyCheckForApp()) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4947 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
*resultobj
= NULL
;
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4956 if (!wxPyCheckForApp()) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (wxFrame
*)new wxFrame();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4970 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
= NULL
;
4972 wxFrame
*arg1
= (wxFrame
*) 0 ;
4973 wxWindow
*arg2
= (wxWindow
*) 0 ;
4974 int arg3
= (int) (int)-1 ;
4975 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4976 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4977 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4978 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4979 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4980 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4981 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4982 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4983 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4985 bool temp4
= false ;
4988 bool temp8
= false ;
4989 PyObject
* obj0
= 0 ;
4990 PyObject
* obj1
= 0 ;
4991 PyObject
* obj2
= 0 ;
4992 PyObject
* obj3
= 0 ;
4993 PyObject
* obj4
= 0 ;
4994 PyObject
* obj5
= 0 ;
4995 PyObject
* obj6
= 0 ;
4996 PyObject
* obj7
= 0 ;
4998 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5003 if (SWIG_arg_fail(1)) SWIG_fail
;
5004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5005 if (SWIG_arg_fail(2)) SWIG_fail
;
5008 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5009 if (SWIG_arg_fail(3)) SWIG_fail
;
5014 arg4
= wxString_in_helper(obj3
);
5015 if (arg4
== NULL
) SWIG_fail
;
5022 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5028 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5033 arg7
= static_cast<long >(SWIG_As_long(obj6
));
5034 if (SWIG_arg_fail(7)) SWIG_fail
;
5039 arg8
= wxString_in_helper(obj7
);
5040 if (arg8
== NULL
) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5076 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
= NULL
;
5078 wxFrame
*arg1
= (wxFrame
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5082 (char *) "self", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
5086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5087 if (SWIG_arg_fail(1)) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5096 wxPoint
* resultptr
;
5097 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
5098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5106 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
= NULL
;
5108 wxFrame
*arg1
= (wxFrame
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5111 (char *) "self", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
5115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5116 if (SWIG_arg_fail(1)) SWIG_fail
;
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SendSizeEvent();
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 Py_INCREF(Py_None
); resultobj
= Py_None
;
5131 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= NULL
;
5133 wxFrame
*arg1
= (wxFrame
*) 0 ;
5134 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5138 (char *) "self",(char *) "menubar", NULL
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5143 if (SWIG_arg_fail(1)) SWIG_fail
;
5144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
5145 if (SWIG_arg_fail(2)) SWIG_fail
;
5147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5148 (arg1
)->SetMenuBar(arg2
);
5150 wxPyEndAllowThreads(__tstate
);
5151 if (PyErr_Occurred()) SWIG_fail
;
5153 Py_INCREF(Py_None
); resultobj
= Py_None
;
5160 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
= NULL
;
5162 wxFrame
*arg1
= (wxFrame
*) 0 ;
5164 PyObject
* obj0
= 0 ;
5166 (char *) "self", NULL
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
5170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5171 if (SWIG_arg_fail(1)) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= wxPyMake_wxObject(result
, 0);
5188 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
= NULL
;
5190 wxFrame
*arg1
= (wxFrame
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5196 (char *) "self",(char *) "winid", NULL
5199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5201 if (SWIG_arg_fail(1)) SWIG_fail
;
5203 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5204 if (SWIG_arg_fail(2)) SWIG_fail
;
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 result
= (bool)(arg1
)->ProcessCommand(arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5222 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
= NULL
;
5224 wxFrame
*arg1
= (wxFrame
*) 0 ;
5225 int arg2
= (int) 1 ;
5226 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
5227 int arg4
= (int) 0 ;
5228 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5229 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5230 wxStatusBar
*result
;
5231 bool temp5
= false ;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5234 PyObject
* obj2
= 0 ;
5235 PyObject
* obj3
= 0 ;
5236 PyObject
* obj4
= 0 ;
5238 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5243 if (SWIG_arg_fail(1)) SWIG_fail
;
5246 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5247 if (SWIG_arg_fail(2)) SWIG_fail
;
5252 arg3
= static_cast<long >(SWIG_As_long(obj2
));
5253 if (SWIG_arg_fail(3)) SWIG_fail
;
5258 arg4
= static_cast<int >(SWIG_As_int(obj3
));
5259 if (SWIG_arg_fail(4)) SWIG_fail
;
5264 arg5
= wxString_in_helper(obj4
);
5265 if (arg5
== NULL
) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= wxPyMake_wxObject(result
, 0);
5293 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
= NULL
;
5295 wxFrame
*arg1
= (wxFrame
*) 0 ;
5296 wxStatusBar
*result
;
5297 PyObject
* obj0
= 0 ;
5299 (char *) "self", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5304 if (SWIG_arg_fail(1)) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5309 wxPyEndAllowThreads(__tstate
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 resultobj
= wxPyMake_wxObject(result
, 0);
5321 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
= NULL
;
5323 wxFrame
*arg1
= (wxFrame
*) 0 ;
5324 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5328 (char *) "self",(char *) "statBar", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5333 if (SWIG_arg_fail(1)) SWIG_fail
;
5334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5335 if (SWIG_arg_fail(2)) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5338 (arg1
)->SetStatusBar(arg2
);
5340 wxPyEndAllowThreads(__tstate
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5343 Py_INCREF(Py_None
); resultobj
= Py_None
;
5350 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
= NULL
;
5352 wxFrame
*arg1
= (wxFrame
*) 0 ;
5353 wxString
*arg2
= 0 ;
5354 int arg3
= (int) 0 ;
5355 bool temp2
= false ;
5356 PyObject
* obj0
= 0 ;
5357 PyObject
* obj1
= 0 ;
5358 PyObject
* obj2
= 0 ;
5360 (char *) "self",(char *) "text",(char *) "number", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5365 if (SWIG_arg_fail(1)) SWIG_fail
;
5367 arg2
= wxString_in_helper(obj1
);
5368 if (arg2
== NULL
) SWIG_fail
;
5373 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5374 if (SWIG_arg_fail(3)) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 Py_INCREF(Py_None
); resultobj
= Py_None
;
5399 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
= NULL
;
5401 wxFrame
*arg1
= (wxFrame
*) 0 ;
5403 int *arg3
= (int *) 0 ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "widths", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5412 if (SWIG_arg_fail(1)) SWIG_fail
;
5414 arg2
= PyList_Size(obj1
);
5415 arg3
= int_LIST_helper(obj1
);
5416 if (arg3
== NULL
) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5425 Py_INCREF(Py_None
); resultobj
= Py_None
;
5427 if (arg3
) delete [] arg3
;
5432 if (arg3
) delete [] arg3
;
5438 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
= NULL
;
5440 wxFrame
*arg1
= (wxFrame
*) 0 ;
5441 wxString
*arg2
= 0 ;
5442 int arg3
= (int) 0 ;
5443 bool temp2
= false ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5446 PyObject
* obj2
= 0 ;
5448 (char *) "self",(char *) "text",(char *) "number", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5453 if (SWIG_arg_fail(1)) SWIG_fail
;
5455 arg2
= wxString_in_helper(obj1
);
5456 if (arg2
== NULL
) SWIG_fail
;
5461 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5462 if (SWIG_arg_fail(3)) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
= NULL
;
5489 wxFrame
*arg1
= (wxFrame
*) 0 ;
5490 int arg2
= (int) 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "number", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail
;
5502 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5503 if (SWIG_arg_fail(2)) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 (arg1
)->PopStatusText(arg2
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
= NULL
;
5522 wxFrame
*arg1
= (wxFrame
*) 0 ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5527 (char *) "self",(char *) "n", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5532 if (SWIG_arg_fail(1)) SWIG_fail
;
5534 arg2
= static_cast<int >(SWIG_As_int(obj1
));
5535 if (SWIG_arg_fail(2)) SWIG_fail
;
5538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5539 (arg1
)->SetStatusBarPane(arg2
);
5541 wxPyEndAllowThreads(__tstate
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5544 Py_INCREF(Py_None
); resultobj
= Py_None
;
5551 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5552 PyObject
*resultobj
= NULL
;
5553 wxFrame
*arg1
= (wxFrame
*) 0 ;
5555 PyObject
* obj0
= 0 ;
5557 (char *) "self", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5562 if (SWIG_arg_fail(1)) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 resultobj
= SWIG_From_int(static_cast<int >(result
));
5579 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
= NULL
;
5581 wxFrame
*arg1
= (wxFrame
*) 0 ;
5582 long arg2
= (long) -1 ;
5583 int arg3
= (int) -1 ;
5584 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5585 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5587 bool temp4
= false ;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5590 PyObject
* obj2
= 0 ;
5591 PyObject
* obj3
= 0 ;
5593 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5598 if (SWIG_arg_fail(1)) SWIG_fail
;
5601 arg2
= static_cast<long >(SWIG_As_long(obj1
));
5602 if (SWIG_arg_fail(2)) SWIG_fail
;
5607 arg3
= static_cast<int >(SWIG_As_int(obj2
));
5608 if (SWIG_arg_fail(3)) SWIG_fail
;
5613 arg4
= wxString_in_helper(obj3
);
5614 if (arg4
== NULL
) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5626 resultobj
= wxPyMake_wxObject(result
, 0);
5642 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
*resultobj
= NULL
;
5644 wxFrame
*arg1
= (wxFrame
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5648 (char *) "self", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5653 if (SWIG_arg_fail(1)) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= wxPyMake_wxObject(result
, 0);
5670 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
= NULL
;
5672 wxFrame
*arg1
= (wxFrame
*) 0 ;
5673 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5677 (char *) "self",(char *) "toolbar", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5682 if (SWIG_arg_fail(1)) SWIG_fail
;
5683 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5684 if (SWIG_arg_fail(2)) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 (arg1
)->SetToolBar(arg2
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 Py_INCREF(Py_None
); resultobj
= Py_None
;
5699 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
= NULL
;
5701 wxFrame
*arg1
= (wxFrame
*) 0 ;
5702 wxString
*arg2
= 0 ;
5704 bool temp2
= false ;
5705 PyObject
* obj0
= 0 ;
5706 PyObject
* obj1
= 0 ;
5707 PyObject
* obj2
= 0 ;
5709 (char *) "self",(char *) "text",(char *) "show", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5714 if (SWIG_arg_fail(1)) SWIG_fail
;
5716 arg2
= wxString_in_helper(obj1
);
5717 if (arg2
== NULL
) SWIG_fail
;
5721 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
5722 if (SWIG_arg_fail(3)) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 Py_INCREF(Py_None
); resultobj
= Py_None
;
5746 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
= NULL
;
5748 wxFrame
*arg1
= (wxFrame
*) 0 ;
5749 wxMenu
*arg2
= (wxMenu
*) NULL
;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5753 (char *) "self",(char *) "menu", NULL
5756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5758 if (SWIG_arg_fail(1)) SWIG_fail
;
5760 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5761 if (SWIG_arg_fail(2)) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->DoMenuUpdates(arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
= NULL
;
5779 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5780 wxVisualAttributes result
;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "variant", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5789 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
5790 if (SWIG_arg_fail(1)) SWIG_fail
;
5794 if (!wxPyCheckForApp()) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= wxFrame::GetClassDefaultAttributes(arg1
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5802 wxVisualAttributes
* resultptr
;
5803 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
5804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5812 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5815 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5817 return Py_BuildValue((char *)"");
5819 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
= NULL
;
5821 wxWindow
*arg1
= (wxWindow
*) 0 ;
5822 int arg2
= (int) (int)-1 ;
5823 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5824 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5825 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5826 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5827 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5828 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5829 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5830 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5831 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5833 bool temp3
= false ;
5836 bool temp7
= false ;
5837 PyObject
* obj0
= 0 ;
5838 PyObject
* obj1
= 0 ;
5839 PyObject
* obj2
= 0 ;
5840 PyObject
* obj3
= 0 ;
5841 PyObject
* obj4
= 0 ;
5842 PyObject
* obj5
= 0 ;
5843 PyObject
* obj6
= 0 ;
5845 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5850 if (SWIG_arg_fail(1)) SWIG_fail
;
5853 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
5854 if (SWIG_arg_fail(2)) SWIG_fail
;
5859 arg3
= wxString_in_helper(obj2
);
5860 if (arg3
== NULL
) SWIG_fail
;
5867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5878 arg6
= static_cast<long >(SWIG_As_long(obj5
));
5879 if (SWIG_arg_fail(6)) SWIG_fail
;
5884 arg7
= wxString_in_helper(obj6
);
5885 if (arg7
== NULL
) SWIG_fail
;
5890 if (!wxPyCheckForApp()) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5920 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
= NULL
;
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5929 if (!wxPyCheckForApp()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (wxDialog
*)new wxDialog();
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5943 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
= NULL
;
5945 wxDialog
*arg1
= (wxDialog
*) 0 ;
5946 wxWindow
*arg2
= (wxWindow
*) 0 ;
5947 int arg3
= (int) (int)-1 ;
5948 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5949 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5950 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5951 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5952 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5953 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5954 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5955 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5956 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5958 bool temp4
= false ;
5961 bool temp8
= false ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5965 PyObject
* obj3
= 0 ;
5966 PyObject
* obj4
= 0 ;
5967 PyObject
* obj5
= 0 ;
5968 PyObject
* obj6
= 0 ;
5969 PyObject
* obj7
= 0 ;
5971 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5976 if (SWIG_arg_fail(1)) SWIG_fail
;
5977 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5978 if (SWIG_arg_fail(2)) SWIG_fail
;
5981 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
5982 if (SWIG_arg_fail(3)) SWIG_fail
;
5987 arg4
= wxString_in_helper(obj3
);
5988 if (arg4
== NULL
) SWIG_fail
;
5995 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6001 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6006 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6007 if (SWIG_arg_fail(7)) SWIG_fail
;
6012 arg8
= wxString_in_helper(obj7
);
6013 if (arg8
== NULL
) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6049 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
= NULL
;
6051 wxDialog
*arg1
= (wxDialog
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6056 (char *) "self",(char *) "returnCode", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
6060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6061 if (SWIG_arg_fail(1)) SWIG_fail
;
6063 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6064 if (SWIG_arg_fail(2)) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 (arg1
)->SetReturnCode(arg2
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 Py_INCREF(Py_None
); resultobj
= Py_None
;
6080 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
= NULL
;
6082 wxDialog
*arg1
= (wxDialog
*) 0 ;
6084 PyObject
* obj0
= 0 ;
6086 (char *) "self", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
6090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6091 if (SWIG_arg_fail(1)) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_From_int(static_cast<int >(result
));
6108 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
= NULL
;
6110 wxDialog
*arg1
= (wxDialog
*) 0 ;
6111 wxString
*arg2
= 0 ;
6113 bool temp2
= false ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6117 (char *) "self",(char *) "message", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6122 if (SWIG_arg_fail(1)) SWIG_fail
;
6124 arg2
= wxString_in_helper(obj1
);
6125 if (arg2
== NULL
) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= wxPyMake_wxObject(result
, 0);
6152 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
= NULL
;
6154 wxDialog
*arg1
= (wxDialog
*) 0 ;
6156 bool arg3
= (bool) false ;
6157 int arg4
= (int) 0 ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6161 PyObject
* obj2
= 0 ;
6162 PyObject
* obj3
= 0 ;
6164 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6171 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6172 if (SWIG_arg_fail(2)) SWIG_fail
;
6176 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
6177 if (SWIG_arg_fail(3)) SWIG_fail
;
6182 arg4
= static_cast<int >(SWIG_As_int(obj3
));
6183 if (SWIG_arg_fail(4)) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= wxPyMake_wxObject(result
, 0);
6202 static PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
= NULL
;
6204 wxDialog
*arg1
= (wxDialog
*) 0 ;
6206 wxStdDialogButtonSizer
*result
;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6210 (char *) "self",(char *) "flags", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
6214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6215 if (SWIG_arg_fail(1)) SWIG_fail
;
6217 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6218 if (SWIG_arg_fail(2)) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0);
6234 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
= NULL
;
6236 wxDialog
*arg1
= (wxDialog
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6240 (char *) "self", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
6244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6245 if (SWIG_arg_fail(1)) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6262 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
= NULL
;
6264 wxDialog
*arg1
= (wxDialog
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6268 (char *) "self", NULL
6271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
6272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6273 if (SWIG_arg_fail(1)) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 result
= (int)(arg1
)->ShowModal();
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= SWIG_From_int(static_cast<int >(result
));
6290 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
= NULL
;
6292 wxDialog
*arg1
= (wxDialog
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6295 PyObject
* obj1
= 0 ;
6297 (char *) "self",(char *) "retCode", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail
;
6304 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6305 if (SWIG_arg_fail(2)) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 (arg1
)->EndModal(arg2
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 Py_INCREF(Py_None
); resultobj
= Py_None
;
6321 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
= NULL
;
6323 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6324 wxVisualAttributes result
;
6325 PyObject
* obj0
= 0 ;
6327 (char *) "variant", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6333 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
6334 if (SWIG_arg_fail(1)) SWIG_fail
;
6338 if (!wxPyCheckForApp()) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= wxDialog::GetClassDefaultAttributes(arg1
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6346 wxVisualAttributes
* resultptr
;
6347 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
6348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6356 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6359 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6361 return Py_BuildValue((char *)"");
6363 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
= NULL
;
6365 wxWindow
*arg1
= (wxWindow
*) 0 ;
6366 int arg2
= (int) (int)-1 ;
6367 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6368 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6369 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6370 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6371 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6372 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6373 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6374 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6375 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6376 wxMiniFrame
*result
;
6377 bool temp3
= false ;
6380 bool temp7
= false ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6383 PyObject
* obj2
= 0 ;
6384 PyObject
* obj3
= 0 ;
6385 PyObject
* obj4
= 0 ;
6386 PyObject
* obj5
= 0 ;
6387 PyObject
* obj6
= 0 ;
6389 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail
;
6397 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
6398 if (SWIG_arg_fail(2)) SWIG_fail
;
6403 arg3
= wxString_in_helper(obj2
);
6404 if (arg3
== NULL
) SWIG_fail
;
6411 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6417 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6422 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6423 if (SWIG_arg_fail(6)) SWIG_fail
;
6428 arg7
= wxString_in_helper(obj6
);
6429 if (arg7
== NULL
) SWIG_fail
;
6434 if (!wxPyCheckForApp()) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6464 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
= NULL
;
6466 wxMiniFrame
*result
;
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6473 if (!wxPyCheckForApp()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (wxMiniFrame
*)new wxMiniFrame();
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6487 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
= NULL
;
6489 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6490 wxWindow
*arg2
= (wxWindow
*) 0 ;
6491 int arg3
= (int) (int)-1 ;
6492 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6493 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6494 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6495 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6496 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6497 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6498 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6499 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6500 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6502 bool temp4
= false ;
6505 bool temp8
= false ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6508 PyObject
* obj2
= 0 ;
6509 PyObject
* obj3
= 0 ;
6510 PyObject
* obj4
= 0 ;
6511 PyObject
* obj5
= 0 ;
6512 PyObject
* obj6
= 0 ;
6513 PyObject
* obj7
= 0 ;
6515 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6520 if (SWIG_arg_fail(1)) SWIG_fail
;
6521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6522 if (SWIG_arg_fail(2)) SWIG_fail
;
6525 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
6526 if (SWIG_arg_fail(3)) SWIG_fail
;
6531 arg4
= wxString_in_helper(obj3
);
6532 if (arg4
== NULL
) SWIG_fail
;
6539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6545 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6550 arg7
= static_cast<long >(SWIG_As_long(obj6
));
6551 if (SWIG_arg_fail(7)) SWIG_fail
;
6556 arg8
= wxString_in_helper(obj7
);
6557 if (arg8
== NULL
) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6593 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6596 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6598 return Py_BuildValue((char *)"");
6600 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
= NULL
;
6602 wxBitmap
*arg1
= 0 ;
6603 wxWindow
*arg2
= (wxWindow
*) 0 ;
6605 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6606 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6607 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6608 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6609 long arg6
= (long) wxNO_BORDER
;
6610 wxSplashScreenWindow
*result
;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 PyObject
* obj2
= 0 ;
6616 PyObject
* obj3
= 0 ;
6617 PyObject
* obj4
= 0 ;
6618 PyObject
* obj5
= 0 ;
6620 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6626 if (SWIG_arg_fail(1)) SWIG_fail
;
6628 SWIG_null_ref("wxBitmap");
6630 if (SWIG_arg_fail(1)) SWIG_fail
;
6632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6633 if (SWIG_arg_fail(2)) SWIG_fail
;
6635 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6636 if (SWIG_arg_fail(3)) SWIG_fail
;
6641 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6647 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6652 arg6
= static_cast<long >(SWIG_As_long(obj5
));
6653 if (SWIG_arg_fail(6)) SWIG_fail
;
6657 if (!wxPyCheckForApp()) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6671 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
= NULL
;
6673 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6674 wxBitmap
*arg2
= 0 ;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6678 (char *) "self",(char *) "bitmap", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6683 if (SWIG_arg_fail(1)) SWIG_fail
;
6685 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6686 if (SWIG_arg_fail(2)) SWIG_fail
;
6688 SWIG_null_ref("wxBitmap");
6690 if (SWIG_arg_fail(2)) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6699 Py_INCREF(Py_None
); resultobj
= Py_None
;
6706 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
= NULL
;
6708 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6710 PyObject
* obj0
= 0 ;
6712 (char *) "self", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6717 if (SWIG_arg_fail(1)) SWIG_fail
;
6719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6722 result
= (wxBitmap
*) &_result_ref
;
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6729 wxBitmap
* resultptr
= new wxBitmap(*result
);
6730 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6738 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6741 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6743 return Py_BuildValue((char *)"");
6745 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
= NULL
;
6747 wxBitmap
*arg1
= 0 ;
6750 wxWindow
*arg4
= (wxWindow
*) 0 ;
6751 int arg5
= (int) -1 ;
6752 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6753 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6754 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6755 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6756 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6757 wxSplashScreen
*result
;
6760 PyObject
* obj0
= 0 ;
6761 PyObject
* obj1
= 0 ;
6762 PyObject
* obj2
= 0 ;
6763 PyObject
* obj3
= 0 ;
6764 PyObject
* obj4
= 0 ;
6765 PyObject
* obj5
= 0 ;
6766 PyObject
* obj6
= 0 ;
6767 PyObject
* obj7
= 0 ;
6769 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6775 if (SWIG_arg_fail(1)) SWIG_fail
;
6777 SWIG_null_ref("wxBitmap");
6779 if (SWIG_arg_fail(1)) SWIG_fail
;
6782 arg2
= static_cast<long >(SWIG_As_long(obj1
));
6783 if (SWIG_arg_fail(2)) SWIG_fail
;
6786 arg3
= static_cast<int >(SWIG_As_int(obj2
));
6787 if (SWIG_arg_fail(3)) SWIG_fail
;
6789 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6790 if (SWIG_arg_fail(4)) SWIG_fail
;
6793 arg5
= static_cast<int >(SWIG_As_int(obj4
));
6794 if (SWIG_arg_fail(5)) SWIG_fail
;
6800 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6806 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6811 arg8
= static_cast<long >(SWIG_As_long(obj7
));
6812 if (SWIG_arg_fail(8)) SWIG_fail
;
6816 if (!wxPyCheckForApp()) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6830 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
= NULL
;
6832 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6834 PyObject
* obj0
= 0 ;
6836 (char *) "self", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6841 if (SWIG_arg_fail(1)) SWIG_fail
;
6843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6844 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6846 wxPyEndAllowThreads(__tstate
);
6847 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= SWIG_From_long(static_cast<long >(result
));
6858 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
= NULL
;
6860 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6861 wxSplashScreenWindow
*result
;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "self", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6869 if (SWIG_arg_fail(1)) SWIG_fail
;
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6874 wxPyEndAllowThreads(__tstate
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6884 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= NULL
;
6886 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6895 if (SWIG_arg_fail(1)) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_From_int(static_cast<int >(result
));
6912 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6915 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6917 return Py_BuildValue((char *)"");
6919 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
= NULL
;
6921 wxWindow
*arg1
= (wxWindow
*) 0 ;
6922 int arg2
= (int) -1 ;
6923 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6924 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6925 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6926 wxStatusBar
*result
;
6927 bool temp4
= false ;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 PyObject
* obj2
= 0 ;
6931 PyObject
* obj3
= 0 ;
6933 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6938 if (SWIG_arg_fail(1)) SWIG_fail
;
6941 arg2
= static_cast<int >(SWIG_As_int(obj1
));
6942 if (SWIG_arg_fail(2)) SWIG_fail
;
6947 arg3
= static_cast<long >(SWIG_As_long(obj2
));
6948 if (SWIG_arg_fail(3)) SWIG_fail
;
6953 arg4
= wxString_in_helper(obj3
);
6954 if (arg4
== NULL
) SWIG_fail
;
6959 if (!wxPyCheckForApp()) SWIG_fail
;
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6981 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
= NULL
;
6983 wxStatusBar
*result
;
6988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6990 if (!wxPyCheckForApp()) SWIG_fail
;
6991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 result
= (wxStatusBar
*)new wxStatusBar();
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
7004 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
= NULL
;
7006 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7007 wxWindow
*arg2
= (wxWindow
*) 0 ;
7008 int arg3
= (int) -1 ;
7009 long arg4
= (long) wxST_SIZEGRIP
;
7010 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
7011 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
7013 bool temp5
= false ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 PyObject
* obj2
= 0 ;
7017 PyObject
* obj3
= 0 ;
7018 PyObject
* obj4
= 0 ;
7020 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7025 if (SWIG_arg_fail(1)) SWIG_fail
;
7026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7027 if (SWIG_arg_fail(2)) SWIG_fail
;
7030 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7031 if (SWIG_arg_fail(3)) SWIG_fail
;
7036 arg4
= static_cast<long >(SWIG_As_long(obj3
));
7037 if (SWIG_arg_fail(4)) SWIG_fail
;
7042 arg5
= wxString_in_helper(obj4
);
7043 if (arg5
== NULL
) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7071 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
= NULL
;
7073 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7074 int arg2
= (int) 1 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7078 (char *) "self",(char *) "number", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
7082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7083 if (SWIG_arg_fail(1)) SWIG_fail
;
7086 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7087 if (SWIG_arg_fail(2)) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 (arg1
)->SetFieldsCount(arg2
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7104 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
= NULL
;
7106 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7110 (char *) "self", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
7114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7124 resultobj
= SWIG_From_int(static_cast<int >(result
));
7132 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
= NULL
;
7134 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7135 wxString
*arg2
= 0 ;
7136 int arg3
= (int) 0 ;
7137 bool temp2
= false ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7140 PyObject
* obj2
= 0 ;
7142 (char *) "self",(char *) "text",(char *) "number", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7147 if (SWIG_arg_fail(1)) SWIG_fail
;
7149 arg2
= wxString_in_helper(obj1
);
7150 if (arg2
== NULL
) SWIG_fail
;
7155 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7156 if (SWIG_arg_fail(3)) SWIG_fail
;
7160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7161 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
= NULL
;
7183 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7184 int arg2
= (int) 0 ;
7186 PyObject
* obj0
= 0 ;
7187 PyObject
* obj1
= 0 ;
7189 (char *) "self",(char *) "number", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail
;
7197 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7198 if (SWIG_arg_fail(2)) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7221 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
= NULL
;
7223 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7224 wxString
*arg2
= 0 ;
7225 int arg3
= (int) 0 ;
7226 bool temp2
= false ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 PyObject
* obj2
= 0 ;
7231 (char *) "self",(char *) "text",(char *) "number", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7238 arg2
= wxString_in_helper(obj1
);
7239 if (arg2
== NULL
) SWIG_fail
;
7244 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7245 if (SWIG_arg_fail(3)) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
= NULL
;
7272 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7273 int arg2
= (int) 0 ;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7277 (char *) "self",(char *) "number", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7282 if (SWIG_arg_fail(1)) SWIG_fail
;
7285 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7286 if (SWIG_arg_fail(2)) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 (arg1
)->PopStatusText(arg2
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7303 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
= NULL
;
7305 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7307 int *arg3
= (int *) 0 ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7311 (char *) "self",(char *) "widths", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7316 if (SWIG_arg_fail(1)) SWIG_fail
;
7318 arg2
= PyList_Size(obj1
);
7319 arg3
= int_LIST_helper(obj1
);
7320 if (arg3
== NULL
) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 Py_INCREF(Py_None
); resultobj
= Py_None
;
7331 if (arg3
) delete [] arg3
;
7336 if (arg3
) delete [] arg3
;
7342 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
= NULL
;
7344 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7346 int *arg3
= (int *) 0 ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7350 (char *) "self",(char *) "styles", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7355 if (SWIG_arg_fail(1)) SWIG_fail
;
7357 arg2
= PyList_Size(obj1
);
7358 arg3
= int_LIST_helper(obj1
);
7359 if (arg3
== NULL
) SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 Py_INCREF(Py_None
); resultobj
= Py_None
;
7370 if (arg3
) delete [] arg3
;
7375 if (arg3
) delete [] arg3
;
7381 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
= NULL
;
7383 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7389 (char *) "self",(char *) "i", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7394 if (SWIG_arg_fail(1)) SWIG_fail
;
7396 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7397 if (SWIG_arg_fail(2)) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7408 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
7409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7417 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
= NULL
;
7419 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7422 PyObject
* obj1
= 0 ;
7424 (char *) "self",(char *) "height", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7429 if (SWIG_arg_fail(1)) SWIG_fail
;
7431 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7432 if (SWIG_arg_fail(2)) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 (arg1
)->SetMinHeight(arg2
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 Py_INCREF(Py_None
); resultobj
= Py_None
;
7448 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7449 PyObject
*resultobj
= NULL
;
7450 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7452 PyObject
* obj0
= 0 ;
7454 (char *) "self", NULL
7457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7459 if (SWIG_arg_fail(1)) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= SWIG_From_int(static_cast<int >(result
));
7476 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
= NULL
;
7478 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7482 (char *) "self", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7487 if (SWIG_arg_fail(1)) SWIG_fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_From_int(static_cast<int >(result
));
7504 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
= NULL
;
7506 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7507 wxVisualAttributes result
;
7508 PyObject
* obj0
= 0 ;
7510 (char *) "variant", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7516 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
7517 if (SWIG_arg_fail(1)) SWIG_fail
;
7521 if (!wxPyCheckForApp()) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7529 wxVisualAttributes
* resultptr
;
7530 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
7531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7539 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7542 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7544 return Py_BuildValue((char *)"");
7546 static int _wrap_SplitterNameStr_set(PyObject
*) {
7547 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7552 static PyObject
*_wrap_SplitterNameStr_get(void) {
7553 PyObject
*pyobj
= NULL
;
7557 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7559 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7566 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
= NULL
;
7568 wxWindow
*arg1
= (wxWindow
*) 0 ;
7569 int arg2
= (int) -1 ;
7570 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7571 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7572 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7573 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7574 long arg5
= (long) wxSP_3D
;
7575 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7576 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7577 wxSplitterWindow
*result
;
7580 bool temp6
= false ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 PyObject
* obj2
= 0 ;
7584 PyObject
* obj3
= 0 ;
7585 PyObject
* obj4
= 0 ;
7586 PyObject
* obj5
= 0 ;
7588 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7593 if (SWIG_arg_fail(1)) SWIG_fail
;
7596 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7597 if (SWIG_arg_fail(2)) SWIG_fail
;
7603 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7609 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7614 arg5
= static_cast<long >(SWIG_As_long(obj4
));
7615 if (SWIG_arg_fail(5)) SWIG_fail
;
7620 arg6
= wxString_in_helper(obj5
);
7621 if (arg6
== NULL
) SWIG_fail
;
7626 if (!wxPyCheckForApp()) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7648 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
= NULL
;
7650 wxSplitterWindow
*result
;
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7657 if (!wxPyCheckForApp()) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7671 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
= NULL
;
7673 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7674 wxWindow
*arg2
= (wxWindow
*) 0 ;
7675 int arg3
= (int) -1 ;
7676 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7677 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7678 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7679 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7680 long arg6
= (long) wxSP_3D
;
7681 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7682 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7686 bool temp7
= false ;
7687 PyObject
* obj0
= 0 ;
7688 PyObject
* obj1
= 0 ;
7689 PyObject
* obj2
= 0 ;
7690 PyObject
* obj3
= 0 ;
7691 PyObject
* obj4
= 0 ;
7692 PyObject
* obj5
= 0 ;
7693 PyObject
* obj6
= 0 ;
7695 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7700 if (SWIG_arg_fail(1)) SWIG_fail
;
7701 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7702 if (SWIG_arg_fail(2)) SWIG_fail
;
7705 arg3
= static_cast<int >(SWIG_As_int(obj2
));
7706 if (SWIG_arg_fail(3)) SWIG_fail
;
7712 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7718 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7723 arg6
= static_cast<long >(SWIG_As_long(obj5
));
7724 if (SWIG_arg_fail(6)) SWIG_fail
;
7729 arg7
= wxString_in_helper(obj6
);
7730 if (arg7
== NULL
) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7758 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
= NULL
;
7760 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7769 if (SWIG_arg_fail(1)) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= wxPyMake_wxObject(result
, 0);
7786 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= NULL
;
7788 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7792 (char *) "self", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7797 if (SWIG_arg_fail(1)) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= wxPyMake_wxObject(result
, 0);
7814 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
= NULL
;
7816 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7819 PyObject
* obj1
= 0 ;
7821 (char *) "self",(char *) "mode", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7826 if (SWIG_arg_fail(1)) SWIG_fail
;
7828 arg2
= static_cast<int >(SWIG_As_int(obj1
));
7829 if (SWIG_arg_fail(2)) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 (arg1
)->SetSplitMode(arg2
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 Py_INCREF(Py_None
); resultobj
= Py_None
;
7845 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
= NULL
;
7847 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7856 if (SWIG_arg_fail(1)) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 resultobj
= SWIG_From_int((result
));
7871 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
= NULL
;
7873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7874 wxWindow
*arg2
= (wxWindow
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7876 PyObject
* obj1
= 0 ;
7878 (char *) "self",(char *) "window", NULL
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7883 if (SWIG_arg_fail(1)) SWIG_fail
;
7884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7885 if (SWIG_arg_fail(2)) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 (arg1
)->Initialize(arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 Py_INCREF(Py_None
); resultobj
= Py_None
;
7900 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
= NULL
;
7902 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7903 wxWindow
*arg2
= (wxWindow
*) 0 ;
7904 wxWindow
*arg3
= (wxWindow
*) 0 ;
7905 int arg4
= (int) 0 ;
7907 PyObject
* obj0
= 0 ;
7908 PyObject
* obj1
= 0 ;
7909 PyObject
* obj2
= 0 ;
7910 PyObject
* obj3
= 0 ;
7912 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7917 if (SWIG_arg_fail(1)) SWIG_fail
;
7918 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7919 if (SWIG_arg_fail(2)) SWIG_fail
;
7920 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7921 if (SWIG_arg_fail(3)) SWIG_fail
;
7924 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7925 if (SWIG_arg_fail(4)) SWIG_fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7944 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
= NULL
;
7946 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7947 wxWindow
*arg2
= (wxWindow
*) 0 ;
7948 wxWindow
*arg3
= (wxWindow
*) 0 ;
7949 int arg4
= (int) 0 ;
7951 PyObject
* obj0
= 0 ;
7952 PyObject
* obj1
= 0 ;
7953 PyObject
* obj2
= 0 ;
7954 PyObject
* obj3
= 0 ;
7956 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7961 if (SWIG_arg_fail(1)) SWIG_fail
;
7962 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7963 if (SWIG_arg_fail(2)) SWIG_fail
;
7964 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7965 if (SWIG_arg_fail(3)) SWIG_fail
;
7968 arg4
= static_cast<int >(SWIG_As_int(obj3
));
7969 if (SWIG_arg_fail(4)) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7988 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
= NULL
;
7990 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7991 wxWindow
*arg2
= (wxWindow
*) NULL
;
7993 PyObject
* obj0
= 0 ;
7994 PyObject
* obj1
= 0 ;
7996 (char *) "self",(char *) "toRemove", NULL
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
8000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8001 if (SWIG_arg_fail(1)) SWIG_fail
;
8003 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8004 if (SWIG_arg_fail(2)) SWIG_fail
;
8007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8008 result
= (bool)(arg1
)->Unsplit(arg2
);
8010 wxPyEndAllowThreads(__tstate
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8022 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
= NULL
;
8024 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8025 wxWindow
*arg2
= (wxWindow
*) 0 ;
8026 wxWindow
*arg3
= (wxWindow
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8029 PyObject
* obj1
= 0 ;
8030 PyObject
* obj2
= 0 ;
8032 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8037 if (SWIG_arg_fail(1)) SWIG_fail
;
8038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8039 if (SWIG_arg_fail(2)) SWIG_fail
;
8040 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8041 if (SWIG_arg_fail(3)) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8058 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= NULL
;
8060 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8061 PyObject
* obj0
= 0 ;
8063 (char *) "self", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
8067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8068 if (SWIG_arg_fail(1)) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 (arg1
)->UpdateSize();
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 Py_INCREF(Py_None
); resultobj
= Py_None
;
8083 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
= NULL
;
8085 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8089 (char *) "self", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
8093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8097 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
8099 wxPyEndAllowThreads(__tstate
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8111 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
= NULL
;
8113 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8116 PyObject
* obj1
= 0 ;
8118 (char *) "self",(char *) "width", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8123 if (SWIG_arg_fail(1)) SWIG_fail
;
8125 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8126 if (SWIG_arg_fail(2)) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 (arg1
)->SetSashSize(arg2
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 Py_INCREF(Py_None
); resultobj
= Py_None
;
8142 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
= NULL
;
8144 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8149 (char *) "self",(char *) "width", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8154 if (SWIG_arg_fail(1)) SWIG_fail
;
8156 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8157 if (SWIG_arg_fail(2)) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 (arg1
)->SetBorderSize(arg2
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 Py_INCREF(Py_None
); resultobj
= Py_None
;
8173 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
= NULL
;
8175 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8177 PyObject
* obj0
= 0 ;
8179 (char *) "self", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
8183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8184 if (SWIG_arg_fail(1)) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_From_int(static_cast<int >(result
));
8201 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
= NULL
;
8203 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8205 PyObject
* obj0
= 0 ;
8207 (char *) "self", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
8211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8212 if (SWIG_arg_fail(1)) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8221 resultobj
= SWIG_From_int(static_cast<int >(result
));
8229 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
= NULL
;
8231 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8233 bool arg3
= (bool) true ;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8236 PyObject
* obj2
= 0 ;
8238 (char *) "self",(char *) "position",(char *) "redraw", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8243 if (SWIG_arg_fail(1)) SWIG_fail
;
8245 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8246 if (SWIG_arg_fail(2)) SWIG_fail
;
8250 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
8251 if (SWIG_arg_fail(3)) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 (arg1
)->SetSashPosition(arg2
,arg3
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
= NULL
;
8270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8274 (char *) "self", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8279 if (SWIG_arg_fail(1)) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_From_int(static_cast<int >(result
));
8296 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= NULL
;
8298 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8303 (char *) "self",(char *) "gravity", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8308 if (SWIG_arg_fail(1)) SWIG_fail
;
8310 arg2
= static_cast<double >(SWIG_As_double(obj1
));
8311 if (SWIG_arg_fail(2)) SWIG_fail
;
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 (arg1
)->SetSashGravity(arg2
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 Py_INCREF(Py_None
); resultobj
= Py_None
;
8327 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8328 PyObject
*resultobj
= NULL
;
8329 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8331 PyObject
* obj0
= 0 ;
8333 (char *) "self", NULL
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8338 if (SWIG_arg_fail(1)) SWIG_fail
;
8340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8341 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8343 wxPyEndAllowThreads(__tstate
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= SWIG_From_double(static_cast<double >(result
));
8355 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8356 PyObject
*resultobj
= NULL
;
8357 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8362 (char *) "self",(char *) "min", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8367 if (SWIG_arg_fail(1)) SWIG_fail
;
8369 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8370 if (SWIG_arg_fail(2)) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 (arg1
)->SetMinimumPaneSize(arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 Py_INCREF(Py_None
); resultobj
= Py_None
;
8386 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8387 PyObject
*resultobj
= NULL
;
8388 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8390 PyObject
* obj0
= 0 ;
8392 (char *) "self", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8397 if (SWIG_arg_fail(1)) SWIG_fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= SWIG_From_int(static_cast<int >(result
));
8414 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
= NULL
;
8416 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8419 int arg4
= (int) 5 ;
8421 PyObject
* obj0
= 0 ;
8422 PyObject
* obj1
= 0 ;
8423 PyObject
* obj2
= 0 ;
8424 PyObject
* obj3
= 0 ;
8426 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8431 if (SWIG_arg_fail(1)) SWIG_fail
;
8433 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8434 if (SWIG_arg_fail(2)) SWIG_fail
;
8437 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8438 if (SWIG_arg_fail(3)) SWIG_fail
;
8442 arg4
= static_cast<int >(SWIG_As_int(obj3
));
8443 if (SWIG_arg_fail(4)) SWIG_fail
;
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8462 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
= NULL
;
8464 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8465 PyObject
* obj0
= 0 ;
8467 (char *) "self", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8472 if (SWIG_arg_fail(1)) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 (arg1
)->SizeWindows();
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 Py_INCREF(Py_None
); resultobj
= Py_None
;
8487 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
= NULL
;
8489 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj1
= 0 ;
8494 (char *) "self",(char *) "needUpdating", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8499 if (SWIG_arg_fail(1)) SWIG_fail
;
8501 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
8502 if (SWIG_arg_fail(2)) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 (arg1
)->SetNeedUpdating(arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8518 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
= NULL
;
8520 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8522 PyObject
* obj0
= 0 ;
8524 (char *) "self", NULL
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8529 if (SWIG_arg_fail(1)) SWIG_fail
;
8531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8532 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8546 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
= NULL
;
8548 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8549 wxVisualAttributes result
;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "variant", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8558 arg1
= static_cast<wxWindowVariant
>(SWIG_As_int(obj0
));
8559 if (SWIG_arg_fail(1)) SWIG_fail
;
8563 if (!wxPyCheckForApp()) SWIG_fail
;
8564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
8567 wxPyEndAllowThreads(__tstate
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 wxVisualAttributes
* resultptr
;
8572 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
8573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8581 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8584 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8586 return Py_BuildValue((char *)"");
8588 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
= NULL
;
8590 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8591 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8592 wxSplitterEvent
*result
;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8596 (char *) "type",(char *) "splitter", NULL
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
8603 if (SWIG_arg_fail(1)) SWIG_fail
;
8607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8608 if (SWIG_arg_fail(2)) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8624 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
= NULL
;
8626 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8628 PyObject
* obj0
= 0 ;
8629 PyObject
* obj1
= 0 ;
8631 (char *) "self",(char *) "pos", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8636 if (SWIG_arg_fail(1)) SWIG_fail
;
8638 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8639 if (SWIG_arg_fail(2)) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 (arg1
)->SetSashPosition(arg2
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 Py_INCREF(Py_None
); resultobj
= Py_None
;
8655 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
= NULL
;
8657 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8661 (char *) "self", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8666 if (SWIG_arg_fail(1)) SWIG_fail
;
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= SWIG_From_int(static_cast<int >(result
));
8683 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
= NULL
;
8685 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8687 PyObject
* obj0
= 0 ;
8689 (char *) "self", NULL
8692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8694 if (SWIG_arg_fail(1)) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8703 resultobj
= wxPyMake_wxObject(result
, 0);
8711 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
*resultobj
= NULL
;
8713 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8715 PyObject
* obj0
= 0 ;
8717 (char *) "self", NULL
8720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8722 if (SWIG_arg_fail(1)) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8731 resultobj
= SWIG_From_int(static_cast<int >(result
));
8739 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
= NULL
;
8741 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8743 PyObject
* obj0
= 0 ;
8745 (char *) "self", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8750 if (SWIG_arg_fail(1)) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_From_int(static_cast<int >(result
));
8767 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8770 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8772 return Py_BuildValue((char *)"");
8774 static int _wrap_SashNameStr_set(PyObject
*) {
8775 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8780 static PyObject
*_wrap_SashNameStr_get(void) {
8781 PyObject
*pyobj
= NULL
;
8785 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8787 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8794 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8795 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8800 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8801 PyObject
*pyobj
= NULL
;
8805 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8807 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8814 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
= NULL
;
8816 wxWindow
*arg1
= (wxWindow
*) 0 ;
8817 int arg2
= (int) -1 ;
8818 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8819 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8820 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8821 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8822 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8823 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8824 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8825 wxSashWindow
*result
;
8828 bool temp6
= false ;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8831 PyObject
* obj2
= 0 ;
8832 PyObject
* obj3
= 0 ;
8833 PyObject
* obj4
= 0 ;
8834 PyObject
* obj5
= 0 ;
8836 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8841 if (SWIG_arg_fail(1)) SWIG_fail
;
8844 arg2
= static_cast<int >(SWIG_As_int(obj1
));
8845 if (SWIG_arg_fail(2)) SWIG_fail
;
8851 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8857 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8862 arg5
= static_cast<long >(SWIG_As_long(obj4
));
8863 if (SWIG_arg_fail(5)) SWIG_fail
;
8868 arg6
= wxString_in_helper(obj5
);
8869 if (arg6
== NULL
) SWIG_fail
;
8874 if (!wxPyCheckForApp()) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8896 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
= NULL
;
8898 wxSashWindow
*result
;
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8905 if (!wxPyCheckForApp()) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (wxSashWindow
*)new wxSashWindow();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8919 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
= NULL
;
8921 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8922 wxWindow
*arg2
= (wxWindow
*) 0 ;
8923 int arg3
= (int) -1 ;
8924 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8925 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8926 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8927 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8928 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8929 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8930 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8934 bool temp7
= false ;
8935 PyObject
* obj0
= 0 ;
8936 PyObject
* obj1
= 0 ;
8937 PyObject
* obj2
= 0 ;
8938 PyObject
* obj3
= 0 ;
8939 PyObject
* obj4
= 0 ;
8940 PyObject
* obj5
= 0 ;
8941 PyObject
* obj6
= 0 ;
8943 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8948 if (SWIG_arg_fail(1)) SWIG_fail
;
8949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8950 if (SWIG_arg_fail(2)) SWIG_fail
;
8953 arg3
= static_cast<int >(SWIG_As_int(obj2
));
8954 if (SWIG_arg_fail(3)) SWIG_fail
;
8960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8971 arg6
= static_cast<long >(SWIG_As_long(obj5
));
8972 if (SWIG_arg_fail(6)) SWIG_fail
;
8977 arg7
= wxString_in_helper(obj6
);
8978 if (arg7
== NULL
) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8984 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9006 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
= NULL
;
9008 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9009 wxSashEdgePosition arg2
;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9013 PyObject
* obj2
= 0 ;
9015 (char *) "self",(char *) "edge",(char *) "sash", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9020 if (SWIG_arg_fail(1)) SWIG_fail
;
9022 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9023 if (SWIG_arg_fail(2)) SWIG_fail
;
9026 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9027 if (SWIG_arg_fail(3)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 (arg1
)->SetSashVisible(arg2
,arg3
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
= NULL
;
9045 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9046 wxSashEdgePosition arg2
;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9051 (char *) "self",(char *) "edge", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9056 if (SWIG_arg_fail(1)) SWIG_fail
;
9058 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9059 if (SWIG_arg_fail(2)) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9077 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
= NULL
;
9079 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9080 wxSashEdgePosition arg2
;
9082 PyObject
* obj0
= 0 ;
9083 PyObject
* obj1
= 0 ;
9084 PyObject
* obj2
= 0 ;
9086 (char *) "self",(char *) "edge",(char *) "border", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9091 if (SWIG_arg_fail(1)) SWIG_fail
;
9093 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9094 if (SWIG_arg_fail(2)) SWIG_fail
;
9097 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
9098 if (SWIG_arg_fail(3)) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 (arg1
)->SetSashBorder(arg2
,arg3
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 Py_INCREF(Py_None
); resultobj
= Py_None
;
9114 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
= NULL
;
9116 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9117 wxSashEdgePosition arg2
;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9122 (char *) "self",(char *) "edge", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
9126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9127 if (SWIG_arg_fail(1)) SWIG_fail
;
9129 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9130 if (SWIG_arg_fail(2)) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9148 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
= NULL
;
9150 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9151 wxSashEdgePosition arg2
;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9156 (char *) "self",(char *) "edge", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
9160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9161 if (SWIG_arg_fail(1)) SWIG_fail
;
9163 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9164 if (SWIG_arg_fail(2)) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_From_int(static_cast<int >(result
));
9182 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
= NULL
;
9184 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9189 (char *) "self",(char *) "width", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9194 if (SWIG_arg_fail(1)) SWIG_fail
;
9196 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9197 if (SWIG_arg_fail(2)) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 (arg1
)->SetDefaultBorderSize(arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 Py_INCREF(Py_None
); resultobj
= Py_None
;
9213 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= NULL
;
9215 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9219 (char *) "self", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
9223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9224 if (SWIG_arg_fail(1)) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_From_int(static_cast<int >(result
));
9241 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
= NULL
;
9243 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9248 (char *) "self",(char *) "width", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9253 if (SWIG_arg_fail(1)) SWIG_fail
;
9255 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9256 if (SWIG_arg_fail(2)) SWIG_fail
;
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 (arg1
)->SetExtraBorderSize(arg2
);
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 Py_INCREF(Py_None
); resultobj
= Py_None
;
9272 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
= NULL
;
9274 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9278 (char *) "self", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9283 if (SWIG_arg_fail(1)) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 resultobj
= SWIG_From_int(static_cast<int >(result
));
9300 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
= NULL
;
9302 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9304 PyObject
* obj0
= 0 ;
9305 PyObject
* obj1
= 0 ;
9307 (char *) "self",(char *) "min", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9312 if (SWIG_arg_fail(1)) SWIG_fail
;
9314 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9315 if (SWIG_arg_fail(2)) SWIG_fail
;
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 (arg1
)->SetMinimumSizeX(arg2
);
9321 wxPyEndAllowThreads(__tstate
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 Py_INCREF(Py_None
); resultobj
= Py_None
;
9331 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
= NULL
;
9333 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9338 (char *) "self",(char *) "min", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9343 if (SWIG_arg_fail(1)) SWIG_fail
;
9345 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9346 if (SWIG_arg_fail(2)) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 (arg1
)->SetMinimumSizeY(arg2
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 Py_INCREF(Py_None
); resultobj
= Py_None
;
9362 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
= NULL
;
9364 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9368 (char *) "self", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9373 if (SWIG_arg_fail(1)) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_From_int(static_cast<int >(result
));
9390 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9391 PyObject
*resultobj
= NULL
;
9392 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9394 PyObject
* obj0
= 0 ;
9396 (char *) "self", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9401 if (SWIG_arg_fail(1)) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_From_int(static_cast<int >(result
));
9418 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= NULL
;
9420 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9422 PyObject
* obj0
= 0 ;
9423 PyObject
* obj1
= 0 ;
9425 (char *) "self",(char *) "max", NULL
9428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9430 if (SWIG_arg_fail(1)) SWIG_fail
;
9432 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9433 if (SWIG_arg_fail(2)) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 (arg1
)->SetMaximumSizeX(arg2
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 Py_INCREF(Py_None
); resultobj
= Py_None
;
9449 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
= NULL
;
9451 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9454 PyObject
* obj1
= 0 ;
9456 (char *) "self",(char *) "max", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9461 if (SWIG_arg_fail(1)) SWIG_fail
;
9463 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9464 if (SWIG_arg_fail(2)) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 (arg1
)->SetMaximumSizeY(arg2
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 Py_INCREF(Py_None
); resultobj
= Py_None
;
9480 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
= NULL
;
9482 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9486 (char *) "self", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9491 if (SWIG_arg_fail(1)) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= SWIG_From_int(static_cast<int >(result
));
9508 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
= NULL
;
9510 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9512 PyObject
* obj0
= 0 ;
9514 (char *) "self", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9519 if (SWIG_arg_fail(1)) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_From_int(static_cast<int >(result
));
9536 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
= NULL
;
9538 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9541 int arg4
= (int) 2 ;
9542 wxSashEdgePosition result
;
9543 PyObject
* obj0
= 0 ;
9544 PyObject
* obj1
= 0 ;
9545 PyObject
* obj2
= 0 ;
9546 PyObject
* obj3
= 0 ;
9548 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9553 if (SWIG_arg_fail(1)) SWIG_fail
;
9555 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9556 if (SWIG_arg_fail(2)) SWIG_fail
;
9559 arg3
= static_cast<int >(SWIG_As_int(obj2
));
9560 if (SWIG_arg_fail(3)) SWIG_fail
;
9564 arg4
= static_cast<int >(SWIG_As_int(obj3
));
9565 if (SWIG_arg_fail(4)) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_From_int((result
));
9582 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
= NULL
;
9584 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9585 PyObject
* obj0
= 0 ;
9587 (char *) "self", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9592 if (SWIG_arg_fail(1)) SWIG_fail
;
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 (arg1
)->SizeWindows();
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) SWIG_fail
;
9600 Py_INCREF(Py_None
); resultobj
= Py_None
;
9607 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9610 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9612 return Py_BuildValue((char *)"");
9614 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
= NULL
;
9616 int arg1
= (int) 0 ;
9617 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9618 wxSashEvent
*result
;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9622 (char *) "id",(char *) "edge", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9628 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9629 if (SWIG_arg_fail(1)) SWIG_fail
;
9634 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9635 if (SWIG_arg_fail(2)) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9652 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
= NULL
;
9654 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9655 wxSashEdgePosition arg2
;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9659 (char *) "self",(char *) "edge", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail
;
9666 arg2
= static_cast<wxSashEdgePosition
>(SWIG_As_int(obj1
));
9667 if (SWIG_arg_fail(2)) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->SetEdge(arg2
);
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 Py_INCREF(Py_None
); resultobj
= Py_None
;
9683 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
= NULL
;
9685 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9686 wxSashEdgePosition result
;
9687 PyObject
* obj0
= 0 ;
9689 (char *) "self", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9694 if (SWIG_arg_fail(1)) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_From_int((result
));
9709 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
= NULL
;
9711 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9717 (char *) "self",(char *) "rect", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9722 if (SWIG_arg_fail(1)) SWIG_fail
;
9725 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 Py_INCREF(Py_None
); resultobj
= Py_None
;
9741 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
= NULL
;
9743 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9752 if (SWIG_arg_fail(1)) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9762 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
9763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9771 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
= NULL
;
9773 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9774 wxSashDragStatus arg2
;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9778 (char *) "self",(char *) "status", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9783 if (SWIG_arg_fail(1)) SWIG_fail
;
9785 arg2
= static_cast<wxSashDragStatus
>(SWIG_As_int(obj1
));
9786 if (SWIG_arg_fail(2)) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 (arg1
)->SetDragStatus(arg2
);
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 Py_INCREF(Py_None
); resultobj
= Py_None
;
9802 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
= NULL
;
9804 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9805 wxSashDragStatus result
;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9813 if (SWIG_arg_fail(1)) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_From_int((result
));
9828 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9831 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9833 return Py_BuildValue((char *)"");
9835 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= NULL
;
9837 int arg1
= (int) 0 ;
9838 wxQueryLayoutInfoEvent
*result
;
9839 PyObject
* obj0
= 0 ;
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9847 arg1
= static_cast<int >(SWIG_As_int(obj0
));
9848 if (SWIG_arg_fail(1)) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9865 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
= NULL
;
9867 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9869 PyObject
* obj0
= 0 ;
9870 PyObject
* obj1
= 0 ;
9872 (char *) "self",(char *) "length", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9877 if (SWIG_arg_fail(1)) SWIG_fail
;
9879 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9880 if (SWIG_arg_fail(2)) SWIG_fail
;
9883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9884 (arg1
)->SetRequestedLength(arg2
);
9886 wxPyEndAllowThreads(__tstate
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9889 Py_INCREF(Py_None
); resultobj
= Py_None
;
9896 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
= NULL
;
9898 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "self", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9907 if (SWIG_arg_fail(1)) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_From_int(static_cast<int >(result
));
9924 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
= NULL
;
9926 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9928 PyObject
* obj0
= 0 ;
9929 PyObject
* obj1
= 0 ;
9931 (char *) "self",(char *) "flags", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9936 if (SWIG_arg_fail(1)) SWIG_fail
;
9938 arg2
= static_cast<int >(SWIG_As_int(obj1
));
9939 if (SWIG_arg_fail(2)) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 (arg1
)->SetFlags(arg2
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 Py_INCREF(Py_None
); resultobj
= Py_None
;
9955 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
= NULL
;
9957 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9961 (char *) "self", NULL
9964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= SWIG_From_int(static_cast<int >(result
));
9983 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= NULL
;
9985 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9989 PyObject
* obj1
= 0 ;
9991 (char *) "self",(char *) "size", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9996 if (SWIG_arg_fail(1)) SWIG_fail
;
9999 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10003 (arg1
)->SetSize((wxSize
const &)*arg2
);
10005 wxPyEndAllowThreads(__tstate
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10008 Py_INCREF(Py_None
); resultobj
= Py_None
;
10015 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
= NULL
;
10017 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10019 PyObject
* obj0
= 0 ;
10020 char *kwnames
[] = {
10021 (char *) "self", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
10025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10026 if (SWIG_arg_fail(1)) SWIG_fail
;
10028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10029 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10035 wxSize
* resultptr
;
10036 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
10037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10045 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
= NULL
;
10047 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10048 wxLayoutOrientation arg2
;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "self",(char *) "orient", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10057 if (SWIG_arg_fail(1)) SWIG_fail
;
10059 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10060 if (SWIG_arg_fail(2)) SWIG_fail
;
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 (arg1
)->SetOrientation(arg2
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 Py_INCREF(Py_None
); resultobj
= Py_None
;
10076 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
= NULL
;
10078 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10079 wxLayoutOrientation result
;
10080 PyObject
* obj0
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "self", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
10086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10087 if (SWIG_arg_fail(1)) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= SWIG_From_int((result
));
10102 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
= NULL
;
10104 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10105 wxLayoutAlignment arg2
;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self",(char *) "align", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10114 if (SWIG_arg_fail(1)) SWIG_fail
;
10116 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10117 if (SWIG_arg_fail(2)) SWIG_fail
;
10120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10121 (arg1
)->SetAlignment(arg2
);
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 Py_INCREF(Py_None
); resultobj
= Py_None
;
10133 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
= NULL
;
10135 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
10136 wxLayoutAlignment result
;
10137 PyObject
* obj0
= 0 ;
10138 char *kwnames
[] = {
10139 (char *) "self", NULL
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
10143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
10144 if (SWIG_arg_fail(1)) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_From_int((result
));
10159 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
10161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10162 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
10164 return Py_BuildValue((char *)"");
10166 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
= NULL
;
10168 int arg1
= (int) 0 ;
10169 wxCalculateLayoutEvent
*result
;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "id", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
10178 arg1
= static_cast<int >(SWIG_As_int(obj0
));
10179 if (SWIG_arg_fail(1)) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
10196 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10197 PyObject
*resultobj
= NULL
;
10198 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10200 PyObject
* obj0
= 0 ;
10201 PyObject
* obj1
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self",(char *) "flags", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
10207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10208 if (SWIG_arg_fail(1)) SWIG_fail
;
10210 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10211 if (SWIG_arg_fail(2)) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 (arg1
)->SetFlags(arg2
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 Py_INCREF(Py_None
); resultobj
= Py_None
;
10227 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= NULL
;
10229 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 char *kwnames
[] = {
10233 (char *) "self", NULL
10236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
10237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10238 if (SWIG_arg_fail(1)) SWIG_fail
;
10240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10241 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
10243 wxPyEndAllowThreads(__tstate
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_From_int(static_cast<int >(result
));
10255 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
= NULL
;
10257 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 PyObject
* obj1
= 0 ;
10262 char *kwnames
[] = {
10263 (char *) "self",(char *) "rect", NULL
10266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10268 if (SWIG_arg_fail(1)) SWIG_fail
;
10271 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 (arg1
)->SetRect((wxRect
const &)*arg2
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 Py_INCREF(Py_None
); resultobj
= Py_None
;
10287 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
= NULL
;
10289 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10307 wxRect
* resultptr
;
10308 resultptr
= new wxRect(static_cast<wxRect
& >(result
));
10309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10317 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10320 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10322 return Py_BuildValue((char *)"");
10324 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
= NULL
;
10326 wxWindow
*arg1
= (wxWindow
*) 0 ;
10327 int arg2
= (int) -1 ;
10328 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10329 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10330 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10331 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10332 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10333 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10334 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10335 wxSashLayoutWindow
*result
;
10338 bool temp6
= false ;
10339 PyObject
* obj0
= 0 ;
10340 PyObject
* obj1
= 0 ;
10341 PyObject
* obj2
= 0 ;
10342 PyObject
* obj3
= 0 ;
10343 PyObject
* obj4
= 0 ;
10344 PyObject
* obj5
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10351 if (SWIG_arg_fail(1)) SWIG_fail
;
10354 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10355 if (SWIG_arg_fail(2)) SWIG_fail
;
10361 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10367 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10372 arg5
= static_cast<long >(SWIG_As_long(obj4
));
10373 if (SWIG_arg_fail(5)) SWIG_fail
;
10378 arg6
= wxString_in_helper(obj5
);
10379 if (arg6
== NULL
) SWIG_fail
;
10384 if (!wxPyCheckForApp()) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10406 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
= NULL
;
10408 wxSashLayoutWindow
*result
;
10409 char *kwnames
[] = {
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10415 if (!wxPyCheckForApp()) SWIG_fail
;
10416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10417 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10429 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
*resultobj
= NULL
;
10431 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10432 wxWindow
*arg2
= (wxWindow
*) 0 ;
10433 int arg3
= (int) -1 ;
10434 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10435 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10436 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10437 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10438 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10439 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10444 bool temp7
= false ;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 PyObject
* obj2
= 0 ;
10448 PyObject
* obj3
= 0 ;
10449 PyObject
* obj4
= 0 ;
10450 PyObject
* obj5
= 0 ;
10451 PyObject
* obj6
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail
;
10459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10460 if (SWIG_arg_fail(2)) SWIG_fail
;
10463 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10464 if (SWIG_arg_fail(3)) SWIG_fail
;
10470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10481 arg6
= static_cast<long >(SWIG_As_long(obj5
));
10482 if (SWIG_arg_fail(6)) SWIG_fail
;
10487 arg7
= wxString_in_helper(obj6
);
10488 if (arg7
== NULL
) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10516 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
= NULL
;
10518 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10519 wxLayoutAlignment result
;
10520 PyObject
* obj0
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10527 if (SWIG_arg_fail(1)) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 resultobj
= SWIG_From_int((result
));
10542 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
= NULL
;
10544 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10545 wxLayoutOrientation result
;
10546 PyObject
* obj0
= 0 ;
10547 char *kwnames
[] = {
10548 (char *) "self", NULL
10551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10553 if (SWIG_arg_fail(1)) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_From_int((result
));
10568 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10569 PyObject
*resultobj
= NULL
;
10570 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10571 wxLayoutAlignment arg2
;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "self",(char *) "alignment", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10580 if (SWIG_arg_fail(1)) SWIG_fail
;
10582 arg2
= static_cast<wxLayoutAlignment
>(SWIG_As_int(obj1
));
10583 if (SWIG_arg_fail(2)) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 (arg1
)->SetAlignment(arg2
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
= NULL
;
10601 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 PyObject
* obj1
= 0 ;
10606 char *kwnames
[] = {
10607 (char *) "self",(char *) "size", NULL
10610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10612 if (SWIG_arg_fail(1)) SWIG_fail
;
10615 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 Py_INCREF(Py_None
); resultobj
= Py_None
;
10631 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
= NULL
;
10633 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10634 wxLayoutOrientation arg2
;
10635 PyObject
* obj0
= 0 ;
10636 PyObject
* obj1
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self",(char *) "orientation", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10643 if (SWIG_arg_fail(1)) SWIG_fail
;
10645 arg2
= static_cast<wxLayoutOrientation
>(SWIG_As_int(obj1
));
10646 if (SWIG_arg_fail(2)) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 (arg1
)->SetOrientation(arg2
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10665 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10667 return Py_BuildValue((char *)"");
10669 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
= NULL
;
10671 wxLayoutAlgorithm
*result
;
10672 char *kwnames
[] = {
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10691 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
= NULL
;
10693 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 char *kwnames
[] = {
10696 (char *) "self", NULL
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10701 if (SWIG_arg_fail(1)) SWIG_fail
;
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 wxPyEndAllowThreads(__tstate
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10709 Py_INCREF(Py_None
); resultobj
= Py_None
;
10716 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
= NULL
;
10718 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10719 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10720 wxRect
*arg3
= (wxRect
*) NULL
;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 PyObject
* obj2
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self",(char *) "frame",(char *) "rect", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10731 if (SWIG_arg_fail(1)) SWIG_fail
;
10732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10733 if (SWIG_arg_fail(2)) SWIG_fail
;
10735 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10736 if (SWIG_arg_fail(3)) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10742 wxPyEndAllowThreads(__tstate
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10754 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
= NULL
;
10756 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10757 wxFrame
*arg2
= (wxFrame
*) 0 ;
10758 wxWindow
*arg3
= (wxWindow
*) NULL
;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 PyObject
* obj2
= 0 ;
10763 char *kwnames
[] = {
10764 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10769 if (SWIG_arg_fail(1)) SWIG_fail
;
10770 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10771 if (SWIG_arg_fail(2)) SWIG_fail
;
10773 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10774 if (SWIG_arg_fail(3)) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10792 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
= NULL
;
10794 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10795 wxWindow
*arg2
= (wxWindow
*) 0 ;
10796 wxWindow
*arg3
= (wxWindow
*) NULL
;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 PyObject
* obj2
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10807 if (SWIG_arg_fail(1)) SWIG_fail
;
10808 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10809 if (SWIG_arg_fail(2)) SWIG_fail
;
10811 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10812 if (SWIG_arg_fail(3)) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10830 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10833 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10835 return Py_BuildValue((char *)"");
10837 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
= NULL
;
10839 wxWindow
*arg1
= (wxWindow
*) 0 ;
10840 int arg2
= (int) wxBORDER_NONE
;
10841 wxPopupWindow
*result
;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "parent",(char *) "flags", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail
;
10853 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10854 if (SWIG_arg_fail(2)) SWIG_fail
;
10858 if (!wxPyCheckForApp()) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10872 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
= NULL
;
10874 wxPopupWindow
*result
;
10875 char *kwnames
[] = {
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10881 if (!wxPyCheckForApp()) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 result
= (wxPopupWindow
*)new wxPopupWindow();
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10895 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= NULL
;
10897 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10898 wxWindow
*arg2
= (wxWindow
*) 0 ;
10899 int arg3
= (int) wxBORDER_NONE
;
10901 PyObject
* obj0
= 0 ;
10902 PyObject
* obj1
= 0 ;
10903 PyObject
* obj2
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self",(char *) "parent",(char *) "flags", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10910 if (SWIG_arg_fail(1)) SWIG_fail
;
10911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10912 if (SWIG_arg_fail(2)) SWIG_fail
;
10915 arg3
= static_cast<int >(SWIG_As_int(obj2
));
10916 if (SWIG_arg_fail(3)) SWIG_fail
;
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10935 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
= NULL
;
10937 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10938 wxPoint
*arg2
= 0 ;
10942 PyObject
* obj0
= 0 ;
10943 PyObject
* obj1
= 0 ;
10944 PyObject
* obj2
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10951 if (SWIG_arg_fail(1)) SWIG_fail
;
10954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10958 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10974 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10977 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10979 return Py_BuildValue((char *)"");
10981 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
= NULL
;
10983 wxWindow
*arg1
= (wxWindow
*) 0 ;
10984 int arg2
= (int) wxBORDER_NONE
;
10985 wxPyPopupTransientWindow
*result
;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "parent",(char *) "style", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10994 if (SWIG_arg_fail(1)) SWIG_fail
;
10997 arg2
= static_cast<int >(SWIG_As_int(obj1
));
10998 if (SWIG_arg_fail(2)) SWIG_fail
;
11002 if (!wxPyCheckForApp()) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11016 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
= NULL
;
11018 wxPyPopupTransientWindow
*result
;
11019 char *kwnames
[] = {
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
11025 if (!wxPyCheckForApp()) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
11039 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
= NULL
;
11041 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11042 PyObject
*arg2
= (PyObject
*) 0 ;
11043 PyObject
*arg3
= (PyObject
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 PyObject
* obj2
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self",(char *) "self",(char *) "_class", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11053 if (SWIG_arg_fail(1)) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 Py_INCREF(Py_None
); resultobj
= Py_None
;
11070 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
= NULL
;
11072 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11073 wxWindow
*arg2
= (wxWindow
*) NULL
;
11074 PyObject
* obj0
= 0 ;
11075 PyObject
* obj1
= 0 ;
11076 char *kwnames
[] = {
11077 (char *) "self",(char *) "focus", NULL
11080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
11081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11082 if (SWIG_arg_fail(1)) SWIG_fail
;
11084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11085 if (SWIG_arg_fail(2)) SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 (arg1
)->Popup(arg2
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 Py_INCREF(Py_None
); resultobj
= Py_None
;
11101 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
= NULL
;
11103 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
11110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
11111 if (SWIG_arg_fail(1)) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
11128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11129 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
11131 return Py_BuildValue((char *)"");
11133 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
= NULL
;
11135 wxWindow
*arg1
= (wxWindow
*) 0 ;
11136 wxString
*arg2
= 0 ;
11137 int arg3
= (int) 100 ;
11138 wxRect
*arg4
= (wxRect
*) NULL
;
11139 wxTipWindow
*result
;
11140 bool temp2
= false ;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 PyObject
* obj2
= 0 ;
11144 PyObject
* obj3
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11151 if (SWIG_arg_fail(1)) SWIG_fail
;
11153 arg2
= wxString_in_helper(obj1
);
11154 if (arg2
== NULL
) SWIG_fail
;
11159 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11160 if (SWIG_arg_fail(3)) SWIG_fail
;
11164 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
11165 if (SWIG_arg_fail(4)) SWIG_fail
;
11168 if (!wxPyCheckForApp()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
11190 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
= NULL
;
11192 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11195 PyObject
* obj0
= 0 ;
11196 PyObject
* obj1
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self",(char *) "rectBound", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
11202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11203 if (SWIG_arg_fail(1)) SWIG_fail
;
11206 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 Py_INCREF(Py_None
); resultobj
= Py_None
;
11222 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
= NULL
;
11224 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
11231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
11232 if (SWIG_arg_fail(1)) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
11249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11250 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
11252 return Py_BuildValue((char *)"");
11254 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11255 PyObject
*resultobj
= NULL
;
11256 wxWindow
*arg1
= (wxWindow
*) 0 ;
11257 int arg2
= (int) wxID_ANY
;
11258 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11259 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11260 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11261 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11262 long arg5
= (long) 0 ;
11263 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
11264 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11265 wxPyVScrolledWindow
*result
;
11268 bool temp6
= false ;
11269 PyObject
* obj0
= 0 ;
11270 PyObject
* obj1
= 0 ;
11271 PyObject
* obj2
= 0 ;
11272 PyObject
* obj3
= 0 ;
11273 PyObject
* obj4
= 0 ;
11274 PyObject
* obj5
= 0 ;
11275 char *kwnames
[] = {
11276 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11281 if (SWIG_arg_fail(1)) SWIG_fail
;
11284 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11285 if (SWIG_arg_fail(2)) SWIG_fail
;
11291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11297 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11302 arg5
= static_cast<long >(SWIG_As_long(obj4
));
11303 if (SWIG_arg_fail(5)) SWIG_fail
;
11308 arg6
= wxString_in_helper(obj5
);
11309 if (arg6
== NULL
) SWIG_fail
;
11314 if (!wxPyCheckForApp()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11336 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
= NULL
;
11338 wxPyVScrolledWindow
*result
;
11339 char *kwnames
[] = {
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11345 if (!wxPyCheckForApp()) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11359 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
= NULL
;
11361 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11362 PyObject
*arg2
= (PyObject
*) 0 ;
11363 PyObject
*arg3
= (PyObject
*) 0 ;
11364 PyObject
* obj0
= 0 ;
11365 PyObject
* obj1
= 0 ;
11366 PyObject
* obj2
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "self",(char *) "_class", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 Py_INCREF(Py_None
); resultobj
= Py_None
;
11390 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
= NULL
;
11392 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11393 wxWindow
*arg2
= (wxWindow
*) 0 ;
11394 int arg3
= (int) wxID_ANY
;
11395 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11396 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11397 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11398 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11399 long arg6
= (long) 0 ;
11400 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11401 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11405 bool temp7
= false ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 PyObject
* obj2
= 0 ;
11409 PyObject
* obj3
= 0 ;
11410 PyObject
* obj4
= 0 ;
11411 PyObject
* obj5
= 0 ;
11412 PyObject
* obj6
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11419 if (SWIG_arg_fail(1)) SWIG_fail
;
11420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11421 if (SWIG_arg_fail(2)) SWIG_fail
;
11424 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11425 if (SWIG_arg_fail(3)) SWIG_fail
;
11431 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11437 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11442 arg6
= static_cast<long >(SWIG_As_long(obj5
));
11443 if (SWIG_arg_fail(6)) SWIG_fail
;
11448 arg7
= wxString_in_helper(obj6
);
11449 if (arg7
== NULL
) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11477 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
= NULL
;
11479 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 PyObject
* obj1
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self",(char *) "count", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11489 if (SWIG_arg_fail(1)) SWIG_fail
;
11491 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11492 if (SWIG_arg_fail(2)) SWIG_fail
;
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 (arg1
)->SetLineCount(arg2
);
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 Py_INCREF(Py_None
); resultobj
= Py_None
;
11508 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
= NULL
;
11510 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "self",(char *) "line", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11521 if (SWIG_arg_fail(1)) SWIG_fail
;
11523 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11524 if (SWIG_arg_fail(2)) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11542 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
= NULL
;
11544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11547 PyObject
* obj0
= 0 ;
11548 PyObject
* obj1
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self",(char *) "lines", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11555 if (SWIG_arg_fail(1)) SWIG_fail
;
11557 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11558 if (SWIG_arg_fail(2)) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (bool)(arg1
)->ScrollLines(arg2
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11576 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= NULL
;
11578 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "pages", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11589 if (SWIG_arg_fail(1)) SWIG_fail
;
11591 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11592 if (SWIG_arg_fail(2)) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (bool)(arg1
)->ScrollPages(arg2
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11610 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
= NULL
;
11612 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11614 PyObject
* obj0
= 0 ;
11615 PyObject
* obj1
= 0 ;
11616 char *kwnames
[] = {
11617 (char *) "self",(char *) "line", NULL
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11622 if (SWIG_arg_fail(1)) SWIG_fail
;
11624 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11625 if (SWIG_arg_fail(2)) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 (arg1
)->RefreshLine(arg2
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 Py_INCREF(Py_None
); resultobj
= Py_None
;
11641 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
= NULL
;
11643 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11646 PyObject
* obj0
= 0 ;
11647 PyObject
* obj1
= 0 ;
11648 PyObject
* obj2
= 0 ;
11649 char *kwnames
[] = {
11650 (char *) "self",(char *) "from",(char *) "to", NULL
11653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11655 if (SWIG_arg_fail(1)) SWIG_fail
;
11657 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11658 if (SWIG_arg_fail(2)) SWIG_fail
;
11661 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
11662 if (SWIG_arg_fail(3)) SWIG_fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 (arg1
)->RefreshLines(arg2
,arg3
);
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 Py_INCREF(Py_None
); resultobj
= Py_None
;
11678 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
= NULL
;
11680 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "x",(char *) "y", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11693 if (SWIG_arg_fail(1)) SWIG_fail
;
11695 arg2
= static_cast<int >(SWIG_As_int(obj1
));
11696 if (SWIG_arg_fail(2)) SWIG_fail
;
11699 arg3
= static_cast<int >(SWIG_As_int(obj2
));
11700 if (SWIG_arg_fail(3)) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= SWIG_From_int(static_cast<int >(result
));
11718 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
= NULL
;
11720 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11721 wxPoint
*arg2
= 0 ;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "pt", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11732 if (SWIG_arg_fail(1)) SWIG_fail
;
11735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11745 resultobj
= SWIG_From_int(static_cast<int >(result
));
11753 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
= NULL
;
11755 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11756 PyObject
* obj0
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail
;
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->RefreshAll();
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 Py_INCREF(Py_None
); resultobj
= Py_None
;
11778 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11779 PyObject
*resultobj
= NULL
;
11780 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11789 if (SWIG_arg_fail(1)) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11806 static PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
= NULL
;
11808 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11810 PyObject
* obj0
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleBegin",kwnames
,&obj0
)) goto fail
;
11816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11817 if (SWIG_arg_fail(1)) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11834 static PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11835 PyObject
*resultobj
= NULL
;
11836 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11838 PyObject
* obj0
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetVisibleEnd",kwnames
,&obj0
)) goto fail
;
11844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11845 if (SWIG_arg_fail(1)) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11862 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
= NULL
;
11864 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "line", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11875 if (SWIG_arg_fail(1)) SWIG_fail
;
11877 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
11878 if (SWIG_arg_fail(2)) SWIG_fail
;
11881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11882 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11896 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11897 PyObject
*resultobj
= NULL
;
11898 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11900 PyObject
* obj0
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11907 if (SWIG_arg_fail(1)) SWIG_fail
;
11909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11910 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11924 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
= NULL
;
11926 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "self", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11935 if (SWIG_arg_fail(1)) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
11952 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11955 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11957 return Py_BuildValue((char *)"");
11959 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11960 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11965 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11966 PyObject
*pyobj
= NULL
;
11970 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11972 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11979 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
= NULL
;
11981 wxWindow
*arg1
= (wxWindow
*) 0 ;
11982 int arg2
= (int) wxID_ANY
;
11983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11985 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11986 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11987 long arg5
= (long) 0 ;
11988 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11989 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11990 wxPyVListBox
*result
;
11993 bool temp6
= false ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 PyObject
* obj2
= 0 ;
11997 PyObject
* obj3
= 0 ;
11998 PyObject
* obj4
= 0 ;
11999 PyObject
* obj5
= 0 ;
12000 char *kwnames
[] = {
12001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12006 if (SWIG_arg_fail(1)) SWIG_fail
;
12009 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12010 if (SWIG_arg_fail(2)) SWIG_fail
;
12016 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12022 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12027 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12028 if (SWIG_arg_fail(5)) SWIG_fail
;
12033 arg6
= wxString_in_helper(obj5
);
12034 if (arg6
== NULL
) SWIG_fail
;
12039 if (!wxPyCheckForApp()) SWIG_fail
;
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12061 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12062 PyObject
*resultobj
= NULL
;
12063 wxPyVListBox
*result
;
12064 char *kwnames
[] = {
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
12070 if (!wxPyCheckForApp()) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (wxPyVListBox
*)new wxPyVListBox();
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
12084 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
= NULL
;
12086 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12087 PyObject
*arg2
= (PyObject
*) 0 ;
12088 PyObject
*arg3
= (PyObject
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 PyObject
* obj2
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self",(char *) "self",(char *) "_class", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12098 if (SWIG_arg_fail(1)) SWIG_fail
;
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 Py_INCREF(Py_None
); resultobj
= Py_None
;
12115 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= NULL
;
12117 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12118 wxWindow
*arg2
= (wxWindow
*) 0 ;
12119 int arg3
= (int) wxID_ANY
;
12120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12124 long arg6
= (long) 0 ;
12125 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12126 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12130 bool temp7
= false ;
12131 PyObject
* obj0
= 0 ;
12132 PyObject
* obj1
= 0 ;
12133 PyObject
* obj2
= 0 ;
12134 PyObject
* obj3
= 0 ;
12135 PyObject
* obj4
= 0 ;
12136 PyObject
* obj5
= 0 ;
12137 PyObject
* obj6
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12144 if (SWIG_arg_fail(1)) SWIG_fail
;
12145 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12146 if (SWIG_arg_fail(2)) SWIG_fail
;
12149 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12150 if (SWIG_arg_fail(3)) SWIG_fail
;
12156 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12162 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12167 arg6
= static_cast<long >(SWIG_As_long(obj5
));
12168 if (SWIG_arg_fail(6)) SWIG_fail
;
12173 arg7
= wxString_in_helper(obj6
);
12174 if (arg7
== NULL
) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12202 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
= NULL
;
12204 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12206 PyObject
* obj0
= 0 ;
12207 char *kwnames
[] = {
12208 (char *) "self", NULL
12211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
12212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12213 if (SWIG_arg_fail(1)) SWIG_fail
;
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12230 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
= NULL
;
12232 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
12240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12241 if (SWIG_arg_fail(1)) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12258 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
= NULL
;
12260 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12269 if (SWIG_arg_fail(1)) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_From_int(static_cast<int >(result
));
12286 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
= NULL
;
12288 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "self",(char *) "item", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
12298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12299 if (SWIG_arg_fail(1)) SWIG_fail
;
12301 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12302 if (SWIG_arg_fail(2)) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12320 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
= NULL
;
12322 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12325 PyObject
* obj0
= 0 ;
12326 PyObject
* obj1
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "item", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12333 if (SWIG_arg_fail(1)) SWIG_fail
;
12335 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12336 if (SWIG_arg_fail(2)) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12354 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
= NULL
;
12356 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result
));
12382 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
= NULL
;
12384 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 char *kwnames
[] = {
12388 (char *) "self", NULL
12391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12393 if (SWIG_arg_fail(1)) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= result
;
12408 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
= NULL
;
12410 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12411 unsigned long arg2
;
12413 PyObject
* obj0
= 0 ;
12414 PyObject
* obj1
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self",(char *) "cookie", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12421 if (SWIG_arg_fail(1)) SWIG_fail
;
12423 arg2
= static_cast<unsigned long >(SWIG_As_unsigned_SS_long(obj1
));
12424 if (SWIG_arg_fail(2)) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= result
;
12440 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= NULL
;
12442 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12451 if (SWIG_arg_fail(1)) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12460 wxPoint
* resultptr
;
12461 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
12462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12470 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
= NULL
;
12472 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12481 if (SWIG_arg_fail(1)) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12486 result
= (wxColour
*) &_result_ref
;
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12499 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
= NULL
;
12501 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self",(char *) "count", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12511 if (SWIG_arg_fail(1)) SWIG_fail
;
12513 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12514 if (SWIG_arg_fail(2)) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 (arg1
)->SetItemCount(arg2
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 Py_INCREF(Py_None
); resultobj
= Py_None
;
12530 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
= NULL
;
12532 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12540 if (SWIG_arg_fail(1)) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 Py_INCREF(Py_None
); resultobj
= Py_None
;
12555 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
= NULL
;
12557 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 PyObject
* obj1
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self",(char *) "selection", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12567 if (SWIG_arg_fail(1)) SWIG_fail
;
12569 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12570 if (SWIG_arg_fail(2)) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 (arg1
)->SetSelection(arg2
);
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 Py_INCREF(Py_None
); resultobj
= Py_None
;
12586 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
= NULL
;
12588 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12590 bool arg3
= (bool) true ;
12592 PyObject
* obj0
= 0 ;
12593 PyObject
* obj1
= 0 ;
12594 PyObject
* obj2
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self",(char *) "item",(char *) "select", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12601 if (SWIG_arg_fail(1)) SWIG_fail
;
12603 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12604 if (SWIG_arg_fail(2)) SWIG_fail
;
12608 arg3
= static_cast<bool >(SWIG_As_bool(obj2
));
12609 if (SWIG_arg_fail(3)) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12628 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
= NULL
;
12630 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 PyObject
* obj1
= 0 ;
12636 PyObject
* obj2
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self",(char *) "from",(char *) "to", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12643 if (SWIG_arg_fail(1)) SWIG_fail
;
12645 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12646 if (SWIG_arg_fail(2)) SWIG_fail
;
12649 arg3
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2
));
12650 if (SWIG_arg_fail(3)) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12668 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
= NULL
;
12670 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12672 PyObject
* obj0
= 0 ;
12673 PyObject
* obj1
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self",(char *) "item", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12680 if (SWIG_arg_fail(1)) SWIG_fail
;
12682 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
12683 if (SWIG_arg_fail(2)) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->Toggle(arg2
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
= NULL
;
12701 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12710 if (SWIG_arg_fail(1)) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (bool)(arg1
)->SelectAll();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12727 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
= NULL
;
12729 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12731 PyObject
* obj0
= 0 ;
12732 char *kwnames
[] = {
12733 (char *) "self", NULL
12736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12738 if (SWIG_arg_fail(1)) SWIG_fail
;
12740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12741 result
= (bool)(arg1
)->DeselectAll();
12743 wxPyEndAllowThreads(__tstate
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12755 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
= NULL
;
12757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12758 wxPoint
*arg2
= 0 ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "pt", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail
;
12771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
= NULL
;
12789 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 PyObject
* obj2
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "self",(char *) "x",(char *) "y", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12801 if (SWIG_arg_fail(1)) SWIG_fail
;
12803 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12804 if (SWIG_arg_fail(2)) SWIG_fail
;
12807 arg3
= static_cast<int >(SWIG_As_int(obj2
));
12808 if (SWIG_arg_fail(3)) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 (arg1
)->SetMargins(arg2
,arg3
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 Py_INCREF(Py_None
); resultobj
= Py_None
;
12824 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
= NULL
;
12826 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12827 wxColour
*arg2
= 0 ;
12829 PyObject
* obj0
= 0 ;
12830 PyObject
* obj1
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self",(char *) "col", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12837 if (SWIG_arg_fail(1)) SWIG_fail
;
12840 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 Py_INCREF(Py_None
); resultobj
= Py_None
;
12856 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12859 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12861 return Py_BuildValue((char *)"");
12863 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
= NULL
;
12865 wxWindow
*arg1
= (wxWindow
*) 0 ;
12866 int arg2
= (int) wxID_ANY
;
12867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12871 long arg5
= (long) 0 ;
12872 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12873 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12874 wxPyHtmlListBox
*result
;
12877 bool temp6
= false ;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 PyObject
* obj4
= 0 ;
12883 PyObject
* obj5
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12890 if (SWIG_arg_fail(1)) SWIG_fail
;
12893 arg2
= static_cast<int >(SWIG_As_int(obj1
));
12894 if (SWIG_arg_fail(2)) SWIG_fail
;
12900 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12906 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12911 arg5
= static_cast<long >(SWIG_As_long(obj4
));
12912 if (SWIG_arg_fail(5)) SWIG_fail
;
12917 arg6
= wxString_in_helper(obj5
);
12918 if (arg6
== NULL
) SWIG_fail
;
12923 if (!wxPyCheckForApp()) SWIG_fail
;
12924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12925 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12927 wxPyEndAllowThreads(__tstate
);
12928 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12945 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
= NULL
;
12947 wxPyHtmlListBox
*result
;
12948 char *kwnames
[] = {
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12954 if (!wxPyCheckForApp()) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12968 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
= NULL
;
12970 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12971 PyObject
*arg2
= (PyObject
*) 0 ;
12972 PyObject
*arg3
= (PyObject
*) 0 ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 PyObject
* obj2
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self",(char *) "self",(char *) "_class", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12982 if (SWIG_arg_fail(1)) SWIG_fail
;
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12987 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 Py_INCREF(Py_None
); resultobj
= Py_None
;
12999 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
= NULL
;
13001 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13002 wxWindow
*arg2
= (wxWindow
*) 0 ;
13003 int arg3
= (int) wxID_ANY
;
13004 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13005 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13006 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13007 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13008 long arg6
= (long) 0 ;
13009 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
13010 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13014 bool temp7
= false ;
13015 PyObject
* obj0
= 0 ;
13016 PyObject
* obj1
= 0 ;
13017 PyObject
* obj2
= 0 ;
13018 PyObject
* obj3
= 0 ;
13019 PyObject
* obj4
= 0 ;
13020 PyObject
* obj5
= 0 ;
13021 PyObject
* obj6
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13028 if (SWIG_arg_fail(1)) SWIG_fail
;
13029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13030 if (SWIG_arg_fail(2)) SWIG_fail
;
13033 arg3
= static_cast<int >(SWIG_As_int(obj2
));
13034 if (SWIG_arg_fail(3)) SWIG_fail
;
13040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13051 arg6
= static_cast<long >(SWIG_As_long(obj5
));
13052 if (SWIG_arg_fail(6)) SWIG_fail
;
13057 arg7
= wxString_in_helper(obj6
);
13058 if (arg7
== NULL
) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13086 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= NULL
;
13088 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
13095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13096 if (SWIG_arg_fail(1)) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->RefreshAll();
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
= NULL
;
13113 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "count", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13123 if (SWIG_arg_fail(1)) SWIG_fail
;
13125 arg2
= static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1
));
13126 if (SWIG_arg_fail(2)) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 (arg1
)->SetItemCount(arg2
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 Py_INCREF(Py_None
); resultobj
= Py_None
;
13142 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
= NULL
;
13144 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
13145 wxFileSystem
*result
;
13146 PyObject
* obj0
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
13152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
13153 if (SWIG_arg_fail(1)) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
13158 result
= (wxFileSystem
*) &_result_ref
;
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
13171 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
13173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13174 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
13176 return Py_BuildValue((char *)"");
13178 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
= NULL
;
13180 wxPyTaskBarIcon
*result
;
13181 char *kwnames
[] = {
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
13187 if (!wxPyCheckForApp()) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
13201 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
= NULL
;
13203 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13204 PyObject
*arg2
= (PyObject
*) 0 ;
13205 PyObject
*arg3
= (PyObject
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 PyObject
* obj2
= 0 ;
13210 PyObject
* obj3
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail
;
13221 arg4
= static_cast<int >(SWIG_As_int(obj3
));
13222 if (SWIG_arg_fail(4)) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 Py_INCREF(Py_None
); resultobj
= Py_None
;
13238 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
= NULL
;
13240 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
13247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13248 if (SWIG_arg_fail(1)) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 wxPyTaskBarIcon_Destroy(arg1
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 Py_INCREF(Py_None
); resultobj
= Py_None
;
13263 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= NULL
;
13265 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13267 PyObject
* obj0
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
13273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13274 if (SWIG_arg_fail(1)) SWIG_fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13291 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
= NULL
;
13293 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
13301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13302 if (SWIG_arg_fail(1)) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13319 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
= NULL
;
13321 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13323 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13326 bool temp3
= false ;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 PyObject
* obj2
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13336 if (SWIG_arg_fail(1)) SWIG_fail
;
13338 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13339 if (SWIG_arg_fail(2)) SWIG_fail
;
13340 if (arg2
== NULL
) {
13341 SWIG_null_ref("wxIcon");
13343 if (SWIG_arg_fail(2)) SWIG_fail
;
13347 arg3
= wxString_in_helper(obj2
);
13348 if (arg3
== NULL
) SWIG_fail
;
13353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13356 wxPyEndAllowThreads(__tstate
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13376 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
= NULL
;
13378 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13380 PyObject
* obj0
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13387 if (SWIG_arg_fail(1)) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (bool)(arg1
)->RemoveIcon();
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13404 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
= NULL
;
13406 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13407 wxMenu
*arg2
= (wxMenu
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 PyObject
* obj1
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self",(char *) "menu", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13417 if (SWIG_arg_fail(1)) SWIG_fail
;
13418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13419 if (SWIG_arg_fail(2)) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (bool)(arg1
)->PopupMenu(arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13436 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13439 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13441 return Py_BuildValue((char *)"");
13443 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
= NULL
;
13446 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13447 wxTaskBarIconEvent
*result
;
13448 PyObject
* obj0
= 0 ;
13449 PyObject
* obj1
= 0 ;
13450 char *kwnames
[] = {
13451 (char *) "evtType",(char *) "tbIcon", NULL
13454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
13457 if (SWIG_arg_fail(1)) SWIG_fail
;
13459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13460 if (SWIG_arg_fail(2)) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13475 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13478 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13480 return Py_BuildValue((char *)"");
13482 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13483 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13488 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13489 PyObject
*pyobj
= NULL
;
13493 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13495 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13502 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13503 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13508 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13509 PyObject
*pyobj
= NULL
;
13513 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13515 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13522 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13523 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13528 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13529 PyObject
*pyobj
= NULL
;
13533 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13535 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13542 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13543 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13548 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13549 PyObject
*pyobj
= NULL
;
13553 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13555 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13562 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13563 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13568 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13569 PyObject
*pyobj
= NULL
;
13573 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13575 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13582 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13583 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13588 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13589 PyObject
*pyobj
= NULL
;
13593 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13595 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13602 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= NULL
;
13604 wxColourData
*result
;
13605 char *kwnames
[] = {
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (wxColourData
*)new wxColourData();
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13624 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
= NULL
;
13626 wxColourData
*arg1
= (wxColourData
*) 0 ;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "self", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13634 if (SWIG_arg_fail(1)) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 Py_INCREF(Py_None
); resultobj
= Py_None
;
13649 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= NULL
;
13651 wxColourData
*arg1
= (wxColourData
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13660 if (SWIG_arg_fail(1)) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (bool)(arg1
)->GetChooseFull();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
= NULL
;
13679 wxColourData
*arg1
= (wxColourData
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 char *kwnames
[] = {
13683 (char *) "self", NULL
13686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13688 if (SWIG_arg_fail(1)) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (arg1
)->GetColour();
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13697 wxColour
* resultptr
;
13698 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13707 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13708 PyObject
*resultobj
= NULL
;
13709 wxColourData
*arg1
= (wxColourData
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 PyObject
* obj1
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self",(char *) "i", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13720 if (SWIG_arg_fail(1)) SWIG_fail
;
13722 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13723 if (SWIG_arg_fail(2)) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (arg1
)->GetCustomColour(arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13733 wxColour
* resultptr
;
13734 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13743 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
= NULL
;
13745 wxColourData
*arg1
= (wxColourData
*) 0 ;
13747 PyObject
* obj0
= 0 ;
13748 PyObject
* obj1
= 0 ;
13749 char *kwnames
[] = {
13750 (char *) "self",(char *) "flag", NULL
13753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13755 if (SWIG_arg_fail(1)) SWIG_fail
;
13757 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13758 if (SWIG_arg_fail(2)) SWIG_fail
;
13761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13762 (arg1
)->SetChooseFull(arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 Py_INCREF(Py_None
); resultobj
= Py_None
;
13774 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13775 PyObject
*resultobj
= NULL
;
13776 wxColourData
*arg1
= (wxColourData
*) 0 ;
13777 wxColour
*arg2
= 0 ;
13779 PyObject
* obj0
= 0 ;
13780 PyObject
* obj1
= 0 ;
13781 char *kwnames
[] = {
13782 (char *) "self",(char *) "colour", NULL
13785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13787 if (SWIG_arg_fail(1)) SWIG_fail
;
13790 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 (arg1
)->SetColour((wxColour
const &)*arg2
);
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 Py_INCREF(Py_None
); resultobj
= Py_None
;
13806 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
= NULL
;
13808 wxColourData
*arg1
= (wxColourData
*) 0 ;
13810 wxColour
*arg3
= 0 ;
13812 PyObject
* obj0
= 0 ;
13813 PyObject
* obj1
= 0 ;
13814 PyObject
* obj2
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self",(char *) "i",(char *) "colour", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13821 if (SWIG_arg_fail(1)) SWIG_fail
;
13823 arg2
= static_cast<int >(SWIG_As_int(obj1
));
13824 if (SWIG_arg_fail(2)) SWIG_fail
;
13828 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 Py_INCREF(Py_None
); resultobj
= Py_None
;
13844 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13847 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13849 return Py_BuildValue((char *)"");
13851 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
= NULL
;
13853 wxWindow
*arg1
= (wxWindow
*) 0 ;
13854 wxColourData
*arg2
= (wxColourData
*) NULL
;
13855 wxColourDialog
*result
;
13856 PyObject
* obj0
= 0 ;
13857 PyObject
* obj1
= 0 ;
13858 char *kwnames
[] = {
13859 (char *) "parent",(char *) "data", NULL
13862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13864 if (SWIG_arg_fail(1)) SWIG_fail
;
13866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13867 if (SWIG_arg_fail(2)) SWIG_fail
;
13870 if (!wxPyCheckForApp()) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13884 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
= NULL
;
13886 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13887 wxColourData
*result
;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13895 if (SWIG_arg_fail(1)) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13900 result
= (wxColourData
*) &_result_ref
;
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13913 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13916 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13918 return Py_BuildValue((char *)"");
13920 static PyObject
*_wrap_GetColourFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
= NULL
;
13922 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
13923 wxColour
const &arg2_defvalue
= wxNullColour
;
13924 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
13925 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13926 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13929 bool temp3
= false ;
13930 PyObject
* obj0
= 0 ;
13931 PyObject
* obj1
= 0 ;
13932 PyObject
* obj2
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13940 if (SWIG_arg_fail(1)) SWIG_fail
;
13945 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13950 arg3
= wxString_in_helper(obj2
);
13951 if (arg3
== NULL
) SWIG_fail
;
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
13959 wxPyEndAllowThreads(__tstate
);
13960 if (PyErr_Occurred()) SWIG_fail
;
13963 wxColour
* resultptr
;
13964 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
13965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13981 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13982 PyObject
*resultobj
= NULL
;
13983 wxWindow
*arg1
= (wxWindow
*) 0 ;
13984 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13985 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13986 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13987 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13988 long arg4
= (long) 0 ;
13989 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13990 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13991 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13992 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13993 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13994 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13995 wxDirDialog
*result
;
13996 bool temp2
= false ;
13997 bool temp3
= false ;
14000 bool temp7
= false ;
14001 PyObject
* obj0
= 0 ;
14002 PyObject
* obj1
= 0 ;
14003 PyObject
* obj2
= 0 ;
14004 PyObject
* obj3
= 0 ;
14005 PyObject
* obj4
= 0 ;
14006 PyObject
* obj5
= 0 ;
14007 PyObject
* obj6
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail
;
14017 arg2
= wxString_in_helper(obj1
);
14018 if (arg2
== NULL
) SWIG_fail
;
14024 arg3
= wxString_in_helper(obj2
);
14025 if (arg3
== NULL
) SWIG_fail
;
14031 arg4
= static_cast<long >(SWIG_As_long(obj3
));
14032 if (SWIG_arg_fail(4)) SWIG_fail
;
14038 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14044 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14049 arg7
= wxString_in_helper(obj6
);
14050 if (arg7
== NULL
) SWIG_fail
;
14055 if (!wxPyCheckForApp()) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
14093 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14094 PyObject
*resultobj
= NULL
;
14095 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14097 PyObject
* obj0
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14104 if (SWIG_arg_fail(1)) SWIG_fail
;
14106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14107 result
= (arg1
)->GetPath();
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14125 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
= NULL
;
14127 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14136 if (SWIG_arg_fail(1)) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (arg1
)->GetMessage();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14157 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
= NULL
;
14159 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14168 if (SWIG_arg_fail(1)) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (long)(arg1
)->GetStyle();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= SWIG_From_long(static_cast<long >(result
));
14185 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
= NULL
;
14187 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14188 wxString
*arg2
= 0 ;
14189 bool temp2
= false ;
14190 PyObject
* obj0
= 0 ;
14191 PyObject
* obj1
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "self",(char *) "message", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14198 if (SWIG_arg_fail(1)) SWIG_fail
;
14200 arg2
= wxString_in_helper(obj1
);
14201 if (arg2
== NULL
) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14206 (arg1
)->SetMessage((wxString
const &)*arg2
);
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 Py_INCREF(Py_None
); resultobj
= Py_None
;
14226 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
= NULL
;
14228 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
14229 wxString
*arg2
= 0 ;
14230 bool temp2
= false ;
14231 PyObject
* obj0
= 0 ;
14232 PyObject
* obj1
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self",(char *) "path", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
14239 if (SWIG_arg_fail(1)) SWIG_fail
;
14241 arg2
= wxString_in_helper(obj1
);
14242 if (arg2
== NULL
) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 (arg1
)->SetPath((wxString
const &)*arg2
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 Py_INCREF(Py_None
); resultobj
= Py_None
;
14267 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
14269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14270 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
14272 return Py_BuildValue((char *)"");
14274 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
= NULL
;
14276 wxWindow
*arg1
= (wxWindow
*) 0 ;
14277 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
14278 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14279 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14280 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14281 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14282 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14283 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
14284 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
14285 long arg6
= (long) 0 ;
14286 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14287 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14288 wxFileDialog
*result
;
14289 bool temp2
= false ;
14290 bool temp3
= false ;
14291 bool temp4
= false ;
14292 bool temp5
= false ;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 PyObject
* obj2
= 0 ;
14297 PyObject
* obj3
= 0 ;
14298 PyObject
* obj4
= 0 ;
14299 PyObject
* obj5
= 0 ;
14300 PyObject
* obj6
= 0 ;
14301 char *kwnames
[] = {
14302 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
14305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14307 if (SWIG_arg_fail(1)) SWIG_fail
;
14310 arg2
= wxString_in_helper(obj1
);
14311 if (arg2
== NULL
) SWIG_fail
;
14317 arg3
= wxString_in_helper(obj2
);
14318 if (arg3
== NULL
) SWIG_fail
;
14324 arg4
= wxString_in_helper(obj3
);
14325 if (arg4
== NULL
) SWIG_fail
;
14331 arg5
= wxString_in_helper(obj4
);
14332 if (arg5
== NULL
) SWIG_fail
;
14338 arg6
= static_cast<long >(SWIG_As_long(obj5
));
14339 if (SWIG_arg_fail(6)) SWIG_fail
;
14345 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
14349 if (!wxPyCheckForApp()) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14395 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
= NULL
;
14397 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14398 wxString
*arg2
= 0 ;
14399 bool temp2
= false ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self",(char *) "message", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14408 if (SWIG_arg_fail(1)) SWIG_fail
;
14410 arg2
= wxString_in_helper(obj1
);
14411 if (arg2
== NULL
) SWIG_fail
;
14415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14416 (arg1
)->SetMessage((wxString
const &)*arg2
);
14418 wxPyEndAllowThreads(__tstate
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14421 Py_INCREF(Py_None
); resultobj
= Py_None
;
14436 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
= NULL
;
14438 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14439 wxString
*arg2
= 0 ;
14440 bool temp2
= false ;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 char *kwnames
[] = {
14444 (char *) "self",(char *) "path", NULL
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14449 if (SWIG_arg_fail(1)) SWIG_fail
;
14451 arg2
= wxString_in_helper(obj1
);
14452 if (arg2
== NULL
) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 (arg1
)->SetPath((wxString
const &)*arg2
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 Py_INCREF(Py_None
); resultobj
= Py_None
;
14477 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
= NULL
;
14479 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14480 wxString
*arg2
= 0 ;
14481 bool temp2
= false ;
14482 PyObject
* obj0
= 0 ;
14483 PyObject
* obj1
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self",(char *) "dir", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14490 if (SWIG_arg_fail(1)) SWIG_fail
;
14492 arg2
= wxString_in_helper(obj1
);
14493 if (arg2
== NULL
) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14500 wxPyEndAllowThreads(__tstate
);
14501 if (PyErr_Occurred()) SWIG_fail
;
14503 Py_INCREF(Py_None
); resultobj
= Py_None
;
14518 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
= NULL
;
14520 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14521 wxString
*arg2
= 0 ;
14522 bool temp2
= false ;
14523 PyObject
* obj0
= 0 ;
14524 PyObject
* obj1
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self",(char *) "name", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14531 if (SWIG_arg_fail(1)) SWIG_fail
;
14533 arg2
= wxString_in_helper(obj1
);
14534 if (arg2
== NULL
) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 (arg1
)->SetFilename((wxString
const &)*arg2
);
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 Py_INCREF(Py_None
); resultobj
= Py_None
;
14559 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
= NULL
;
14561 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14562 wxString
*arg2
= 0 ;
14563 bool temp2
= false ;
14564 PyObject
* obj0
= 0 ;
14565 PyObject
* obj1
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "self",(char *) "wildCard", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14572 if (SWIG_arg_fail(1)) SWIG_fail
;
14574 arg2
= wxString_in_helper(obj1
);
14575 if (arg2
== NULL
) SWIG_fail
;
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14585 Py_INCREF(Py_None
); resultobj
= Py_None
;
14600 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14601 PyObject
*resultobj
= NULL
;
14602 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 PyObject
* obj1
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self",(char *) "style", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14612 if (SWIG_arg_fail(1)) SWIG_fail
;
14614 arg2
= static_cast<long >(SWIG_As_long(obj1
));
14615 if (SWIG_arg_fail(2)) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->SetStyle(arg2
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= NULL
;
14633 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self",(char *) "filterIndex", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14643 if (SWIG_arg_fail(1)) SWIG_fail
;
14645 arg2
= static_cast<int >(SWIG_As_int(obj1
));
14646 if (SWIG_arg_fail(2)) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 (arg1
)->SetFilterIndex(arg2
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 Py_INCREF(Py_None
); resultobj
= Py_None
;
14662 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
= NULL
;
14664 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14673 if (SWIG_arg_fail(1)) SWIG_fail
;
14675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14676 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14694 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14695 PyObject
*resultobj
= NULL
;
14696 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14698 PyObject
* obj0
= 0 ;
14699 char *kwnames
[] = {
14700 (char *) "self", NULL
14703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14705 if (SWIG_arg_fail(1)) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14726 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
= NULL
;
14728 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14737 if (SWIG_arg_fail(1)) SWIG_fail
;
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14742 wxPyEndAllowThreads(__tstate
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14758 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
= NULL
;
14760 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14769 if (SWIG_arg_fail(1)) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14790 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
= NULL
;
14792 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14801 if (SWIG_arg_fail(1)) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14822 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14823 PyObject
*resultobj
= NULL
;
14824 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14826 PyObject
* obj0
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14833 if (SWIG_arg_fail(1)) SWIG_fail
;
14835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14836 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= SWIG_From_long(static_cast<long >(result
));
14850 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
= NULL
;
14852 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14854 PyObject
* obj0
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14861 if (SWIG_arg_fail(1)) SWIG_fail
;
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14866 wxPyEndAllowThreads(__tstate
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14870 resultobj
= SWIG_From_int(static_cast<int >(result
));
14878 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
= NULL
;
14880 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 char *kwnames
[] = {
14884 (char *) "self", NULL
14887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14889 if (SWIG_arg_fail(1)) SWIG_fail
;
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14894 wxPyEndAllowThreads(__tstate
);
14895 if (PyErr_Occurred()) SWIG_fail
;
14897 resultobj
= result
;
14904 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
= NULL
;
14906 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14908 PyObject
* obj0
= 0 ;
14909 char *kwnames
[] = {
14910 (char *) "self", NULL
14913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14915 if (SWIG_arg_fail(1)) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= result
;
14930 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14933 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14935 return Py_BuildValue((char *)"");
14937 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
= NULL
;
14939 wxWindow
*arg1
= (wxWindow
*) 0 ;
14940 wxString
*arg2
= 0 ;
14941 wxString
*arg3
= 0 ;
14942 int arg4
= (int) 0 ;
14943 wxString
*arg5
= (wxString
*) NULL
;
14944 long arg6
= (long) wxCHOICEDLG_STYLE
;
14945 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14946 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14947 wxMultiChoiceDialog
*result
;
14948 bool temp2
= false ;
14949 bool temp3
= false ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 PyObject
* obj2
= 0 ;
14954 PyObject
* obj3
= 0 ;
14955 PyObject
* obj4
= 0 ;
14956 PyObject
* obj5
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14963 if (SWIG_arg_fail(1)) SWIG_fail
;
14965 arg2
= wxString_in_helper(obj1
);
14966 if (arg2
== NULL
) SWIG_fail
;
14970 arg3
= wxString_in_helper(obj2
);
14971 if (arg3
== NULL
) SWIG_fail
;
14976 arg4
= PyList_Size(obj3
);
14977 arg5
= wxString_LIST_helper(obj3
);
14978 if (arg5
== NULL
) SWIG_fail
;
14983 arg6
= static_cast<long >(SWIG_As_long(obj4
));
14984 if (SWIG_arg_fail(6)) SWIG_fail
;
14990 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14994 if (!wxPyCheckForApp()) SWIG_fail
;
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
15011 if (arg5
) delete [] arg5
;
15024 if (arg5
) delete [] arg5
;
15030 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
= NULL
;
15032 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15033 wxArrayInt
*arg2
= 0 ;
15034 bool temp2
= false ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char *kwnames
[] = {
15038 (char *) "self",(char *) "selections", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15043 if (SWIG_arg_fail(1)) SWIG_fail
;
15045 if (! PySequence_Check(obj1
)) {
15046 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
15049 arg2
= new wxArrayInt
;
15051 int i
, len
=PySequence_Length(obj1
);
15052 for (i
=0; i
<len
; i
++) {
15053 PyObject
* item
= PySequence_GetItem(obj1
, i
);
15054 PyObject
* number
= PyNumber_Int(item
);
15055 arg2
->Add(PyInt_AS_LONG(number
));
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 Py_INCREF(Py_None
); resultobj
= Py_None
;
15069 if (temp2
) delete arg2
;
15074 if (temp2
) delete arg2
;
15080 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
= NULL
;
15082 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
15090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15091 if (SWIG_arg_fail(1)) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= result
;
15106 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15109 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
15111 return Py_BuildValue((char *)"");
15113 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
= NULL
;
15115 wxWindow
*arg1
= (wxWindow
*) 0 ;
15116 wxString
*arg2
= 0 ;
15117 wxString
*arg3
= 0 ;
15119 wxString
*arg5
= (wxString
*) 0 ;
15120 long arg6
= (long) wxCHOICEDLG_STYLE
;
15121 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
15122 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
15123 wxSingleChoiceDialog
*result
;
15124 bool temp2
= false ;
15125 bool temp3
= false ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 PyObject
* obj2
= 0 ;
15130 PyObject
* obj3
= 0 ;
15131 PyObject
* obj4
= 0 ;
15132 PyObject
* obj5
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15139 if (SWIG_arg_fail(1)) SWIG_fail
;
15141 arg2
= wxString_in_helper(obj1
);
15142 if (arg2
== NULL
) SWIG_fail
;
15146 arg3
= wxString_in_helper(obj2
);
15147 if (arg3
== NULL
) SWIG_fail
;
15151 arg4
= PyList_Size(obj3
);
15152 arg5
= wxString_LIST_helper(obj3
);
15153 if (arg5
== NULL
) SWIG_fail
;
15157 arg6
= static_cast<long >(SWIG_As_long(obj4
));
15158 if (SWIG_arg_fail(6)) SWIG_fail
;
15164 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
15168 if (!wxPyCheckForApp()) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
15185 if (arg5
) delete [] arg5
;
15198 if (arg5
) delete [] arg5
;
15204 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
= NULL
;
15206 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
15214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15215 if (SWIG_arg_fail(1)) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (int)(arg1
)->GetSelection();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= SWIG_From_int(static_cast<int >(result
));
15232 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
= NULL
;
15234 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
15242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15243 if (SWIG_arg_fail(1)) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (arg1
)->GetStringSelection();
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15264 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15265 PyObject
*resultobj
= NULL
;
15266 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
15268 PyObject
* obj0
= 0 ;
15269 PyObject
* obj1
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "self",(char *) "sel", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
15276 if (SWIG_arg_fail(1)) SWIG_fail
;
15278 arg2
= static_cast<int >(SWIG_As_int(obj1
));
15279 if (SWIG_arg_fail(2)) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 (arg1
)->SetSelection(arg2
);
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 Py_INCREF(Py_None
); resultobj
= Py_None
;
15295 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
15297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15298 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
15300 return Py_BuildValue((char *)"");
15302 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
= NULL
;
15304 wxWindow
*arg1
= (wxWindow
*) 0 ;
15305 wxString
*arg2
= 0 ;
15306 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
15307 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15308 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15309 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15310 long arg5
= (long) wxTextEntryDialogStyle
;
15311 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15312 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15313 wxTextEntryDialog
*result
;
15314 bool temp2
= false ;
15315 bool temp3
= false ;
15316 bool temp4
= false ;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 PyObject
* obj2
= 0 ;
15321 PyObject
* obj3
= 0 ;
15322 PyObject
* obj4
= 0 ;
15323 PyObject
* obj5
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15330 if (SWIG_arg_fail(1)) SWIG_fail
;
15332 arg2
= wxString_in_helper(obj1
);
15333 if (arg2
== NULL
) SWIG_fail
;
15338 arg3
= wxString_in_helper(obj2
);
15339 if (arg3
== NULL
) SWIG_fail
;
15345 arg4
= wxString_in_helper(obj3
);
15346 if (arg4
== NULL
) SWIG_fail
;
15352 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15353 if (SWIG_arg_fail(5)) SWIG_fail
;
15359 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15363 if (!wxPyCheckForApp()) SWIG_fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15401 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
= NULL
;
15403 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15405 PyObject
* obj0
= 0 ;
15406 char *kwnames
[] = {
15407 (char *) "self", NULL
15410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15412 if (SWIG_arg_fail(1)) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (arg1
)->GetValue();
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15433 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
= NULL
;
15435 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15436 wxString
*arg2
= 0 ;
15437 bool temp2
= false ;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "value", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15446 if (SWIG_arg_fail(1)) SWIG_fail
;
15448 arg2
= wxString_in_helper(obj1
);
15449 if (arg2
== NULL
) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 (arg1
)->SetValue((wxString
const &)*arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15459 Py_INCREF(Py_None
); resultobj
= Py_None
;
15474 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15477 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15479 return Py_BuildValue((char *)"");
15481 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15482 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15487 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15488 PyObject
*pyobj
= NULL
;
15492 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15494 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15501 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
= NULL
;
15503 wxWindow
*arg1
= (wxWindow
*) 0 ;
15504 wxString
*arg2
= 0 ;
15505 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15506 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15507 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15508 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15509 long arg5
= (long) wxTextEntryDialogStyle
;
15510 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15511 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15512 wxPasswordEntryDialog
*result
;
15513 bool temp2
= false ;
15514 bool temp3
= false ;
15515 bool temp4
= false ;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 PyObject
* obj2
= 0 ;
15520 PyObject
* obj3
= 0 ;
15521 PyObject
* obj4
= 0 ;
15522 PyObject
* obj5
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15529 if (SWIG_arg_fail(1)) SWIG_fail
;
15531 arg2
= wxString_in_helper(obj1
);
15532 if (arg2
== NULL
) SWIG_fail
;
15537 arg3
= wxString_in_helper(obj2
);
15538 if (arg3
== NULL
) SWIG_fail
;
15544 arg4
= wxString_in_helper(obj3
);
15545 if (arg4
== NULL
) SWIG_fail
;
15551 arg5
= static_cast<long >(SWIG_As_long(obj4
));
15552 if (SWIG_arg_fail(5)) SWIG_fail
;
15558 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15565 wxPyEndAllowThreads(__tstate
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15599 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15602 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15604 return Py_BuildValue((char *)"");
15606 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
= NULL
;
15608 wxFontData
*result
;
15609 char *kwnames
[] = {
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (wxFontData
*)new wxFontData();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15628 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
= NULL
;
15630 wxFontData
*arg1
= (wxFontData
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15638 if (SWIG_arg_fail(1)) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 Py_INCREF(Py_None
); resultobj
= Py_None
;
15653 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
= NULL
;
15655 wxFontData
*arg1
= (wxFontData
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 PyObject
* obj1
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "enable", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15665 if (SWIG_arg_fail(1)) SWIG_fail
;
15667 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15668 if (SWIG_arg_fail(2)) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 (arg1
)->EnableEffects(arg2
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
= NULL
;
15686 wxFontData
*arg1
= (wxFontData
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15695 if (SWIG_arg_fail(1)) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (bool)(arg1
)->GetAllowSymbols();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15712 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
= NULL
;
15714 wxFontData
*arg1
= (wxFontData
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15723 if (SWIG_arg_fail(1)) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (arg1
)->GetColour();
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 wxColour
* resultptr
;
15733 resultptr
= new wxColour(static_cast<wxColour
& >(result
));
15734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15742 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
= NULL
;
15744 wxFontData
*arg1
= (wxFontData
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15753 if (SWIG_arg_fail(1)) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (arg1
)->GetChosenFont();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15762 wxFont
* resultptr
;
15763 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15772 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15773 PyObject
*resultobj
= NULL
;
15774 wxFontData
*arg1
= (wxFontData
*) 0 ;
15776 PyObject
* obj0
= 0 ;
15777 char *kwnames
[] = {
15778 (char *) "self", NULL
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15783 if (SWIG_arg_fail(1)) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (bool)(arg1
)->GetEnableEffects();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15800 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
= NULL
;
15802 wxFontData
*arg1
= (wxFontData
*) 0 ;
15804 PyObject
* obj0
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15811 if (SWIG_arg_fail(1)) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (arg1
)->GetInitialFont();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15820 wxFont
* resultptr
;
15821 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
15822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15830 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
= NULL
;
15832 wxFontData
*arg1
= (wxFontData
*) 0 ;
15834 PyObject
* obj0
= 0 ;
15835 char *kwnames
[] = {
15836 (char *) "self", NULL
15839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15841 if (SWIG_arg_fail(1)) SWIG_fail
;
15843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15844 result
= (bool)(arg1
)->GetShowHelp();
15846 wxPyEndAllowThreads(__tstate
);
15847 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15858 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
= NULL
;
15860 wxFontData
*arg1
= (wxFontData
*) 0 ;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self",(char *) "allowSymbols", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15870 if (SWIG_arg_fail(1)) SWIG_fail
;
15872 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
15873 if (SWIG_arg_fail(2)) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->SetAllowSymbols(arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
= NULL
;
15891 wxFontData
*arg1
= (wxFontData
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "font", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15901 if (SWIG_arg_fail(1)) SWIG_fail
;
15903 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15904 if (SWIG_arg_fail(2)) SWIG_fail
;
15905 if (arg2
== NULL
) {
15906 SWIG_null_ref("wxFont");
15908 if (SWIG_arg_fail(2)) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 Py_INCREF(Py_None
); resultobj
= Py_None
;
15924 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
= NULL
;
15926 wxFontData
*arg1
= (wxFontData
*) 0 ;
15927 wxColour
*arg2
= 0 ;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self",(char *) "colour", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail
;
15940 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 (arg1
)->SetColour((wxColour
const &)*arg2
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 Py_INCREF(Py_None
); resultobj
= Py_None
;
15956 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
= NULL
;
15958 wxFontData
*arg1
= (wxFontData
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "font", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15968 if (SWIG_arg_fail(1)) SWIG_fail
;
15970 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15971 if (SWIG_arg_fail(2)) SWIG_fail
;
15972 if (arg2
== NULL
) {
15973 SWIG_null_ref("wxFont");
15975 if (SWIG_arg_fail(2)) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 Py_INCREF(Py_None
); resultobj
= Py_None
;
15991 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
= NULL
;
15993 wxFontData
*arg1
= (wxFontData
*) 0 ;
15996 PyObject
* obj0
= 0 ;
15997 PyObject
* obj1
= 0 ;
15998 PyObject
* obj2
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self",(char *) "min",(char *) "max", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16005 if (SWIG_arg_fail(1)) SWIG_fail
;
16007 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16008 if (SWIG_arg_fail(2)) SWIG_fail
;
16011 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16012 if (SWIG_arg_fail(3)) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 (arg1
)->SetRange(arg2
,arg3
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 Py_INCREF(Py_None
); resultobj
= Py_None
;
16028 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
= NULL
;
16030 wxFontData
*arg1
= (wxFontData
*) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self",(char *) "showHelp", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16040 if (SWIG_arg_fail(1)) SWIG_fail
;
16042 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
16043 if (SWIG_arg_fail(2)) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 (arg1
)->SetShowHelp(arg2
);
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 Py_INCREF(Py_None
); resultobj
= Py_None
;
16059 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
16061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16062 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
16064 return Py_BuildValue((char *)"");
16066 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
= NULL
;
16068 wxWindow
*arg1
= (wxWindow
*) 0 ;
16069 wxFontData
*arg2
= 0 ;
16070 wxFontDialog
*result
;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "parent",(char *) "data", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
16078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16079 if (SWIG_arg_fail(1)) SWIG_fail
;
16081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
16082 if (SWIG_arg_fail(2)) SWIG_fail
;
16083 if (arg2
== NULL
) {
16084 SWIG_null_ref("wxFontData");
16086 if (SWIG_arg_fail(2)) SWIG_fail
;
16089 if (!wxPyCheckForApp()) SWIG_fail
;
16090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16091 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
16103 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16104 PyObject
*resultobj
= NULL
;
16105 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
16106 wxFontData
*result
;
16107 PyObject
* obj0
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
16113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
16114 if (SWIG_arg_fail(1)) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16118 wxFontData
&_result_ref
= (arg1
)->GetFontData();
16119 result
= (wxFontData
*) &_result_ref
;
16122 wxPyEndAllowThreads(__tstate
);
16123 if (PyErr_Occurred()) SWIG_fail
;
16125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
16132 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
16134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16135 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
16137 return Py_BuildValue((char *)"");
16139 static PyObject
*_wrap_GetFontFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
= NULL
;
16141 wxWindow
*arg1
= (wxWindow
*) NULL
;
16142 wxFont
const &arg2_defvalue
= wxNullFont
;
16143 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
16144 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16145 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16147 bool temp3
= false ;
16148 PyObject
* obj0
= 0 ;
16149 PyObject
* obj1
= 0 ;
16150 PyObject
* obj2
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16158 if (SWIG_arg_fail(1)) SWIG_fail
;
16162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
16163 if (SWIG_arg_fail(2)) SWIG_fail
;
16164 if (arg2
== NULL
) {
16165 SWIG_null_ref("wxFont");
16167 if (SWIG_arg_fail(2)) SWIG_fail
;
16172 arg3
= wxString_in_helper(obj2
);
16173 if (arg3
== NULL
) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16185 wxFont
* resultptr
;
16186 resultptr
= new wxFont(static_cast<wxFont
& >(result
));
16187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
16203 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
= NULL
;
16205 wxWindow
*arg1
= (wxWindow
*) 0 ;
16206 wxString
*arg2
= 0 ;
16207 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
16208 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16209 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
16210 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16211 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16212 wxMessageDialog
*result
;
16213 bool temp2
= false ;
16214 bool temp3
= false ;
16216 PyObject
* obj0
= 0 ;
16217 PyObject
* obj1
= 0 ;
16218 PyObject
* obj2
= 0 ;
16219 PyObject
* obj3
= 0 ;
16220 PyObject
* obj4
= 0 ;
16221 char *kwnames
[] = {
16222 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
16225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16227 if (SWIG_arg_fail(1)) SWIG_fail
;
16229 arg2
= wxString_in_helper(obj1
);
16230 if (arg2
== NULL
) SWIG_fail
;
16235 arg3
= wxString_in_helper(obj2
);
16236 if (arg3
== NULL
) SWIG_fail
;
16242 arg4
= static_cast<long >(SWIG_As_long(obj3
));
16243 if (SWIG_arg_fail(4)) SWIG_fail
;
16249 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16253 if (!wxPyCheckForApp()) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
16283 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
16285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16286 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
16288 return Py_BuildValue((char *)"");
16290 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
= NULL
;
16292 wxString
*arg1
= 0 ;
16293 wxString
*arg2
= 0 ;
16294 int arg3
= (int) 100 ;
16295 wxWindow
*arg4
= (wxWindow
*) NULL
;
16296 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
16297 wxProgressDialog
*result
;
16298 bool temp1
= false ;
16299 bool temp2
= false ;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 PyObject
* obj2
= 0 ;
16303 PyObject
* obj3
= 0 ;
16304 PyObject
* obj4
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16311 arg1
= wxString_in_helper(obj0
);
16312 if (arg1
== NULL
) SWIG_fail
;
16316 arg2
= wxString_in_helper(obj1
);
16317 if (arg2
== NULL
) SWIG_fail
;
16322 arg3
= static_cast<int >(SWIG_As_int(obj2
));
16323 if (SWIG_arg_fail(3)) SWIG_fail
;
16327 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16328 if (SWIG_arg_fail(4)) SWIG_fail
;
16332 arg5
= static_cast<int >(SWIG_As_int(obj4
));
16333 if (SWIG_arg_fail(5)) SWIG_fail
;
16337 if (!wxPyCheckForApp()) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
16367 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
= NULL
;
16369 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16371 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16372 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16374 bool temp3
= false ;
16375 PyObject
* obj0
= 0 ;
16376 PyObject
* obj1
= 0 ;
16377 PyObject
* obj2
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "value",(char *) "newmsg", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16384 if (SWIG_arg_fail(1)) SWIG_fail
;
16386 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16387 if (SWIG_arg_fail(2)) SWIG_fail
;
16391 arg3
= wxString_in_helper(obj2
);
16392 if (arg3
== NULL
) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16420 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
= NULL
;
16422 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
16429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
16430 if (SWIG_arg_fail(1)) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 Py_INCREF(Py_None
); resultobj
= Py_None
;
16445 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
16447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16448 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
16450 return Py_BuildValue((char *)"");
16452 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
= NULL
;
16454 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16455 int arg2
= (int) 0 ;
16456 wxFindDialogEvent
*result
;
16457 PyObject
* obj0
= 0 ;
16458 PyObject
* obj1
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "commandType",(char *) "id", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16466 arg1
= static_cast<wxEventType
>(SWIG_As_int(obj0
));
16467 if (SWIG_arg_fail(1)) SWIG_fail
;
16472 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16473 if (SWIG_arg_fail(2)) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16490 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
= NULL
;
16492 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16494 PyObject
* obj0
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16501 if (SWIG_arg_fail(1)) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (int)(arg1
)->GetFlags();
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16510 resultobj
= SWIG_From_int(static_cast<int >(result
));
16518 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
= NULL
;
16520 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16522 PyObject
* obj0
= 0 ;
16523 char *kwnames
[] = {
16524 (char *) "self", NULL
16527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16529 if (SWIG_arg_fail(1)) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 wxString
const &_result_ref
= (arg1
)->GetFindString();
16534 result
= (wxString
*) &_result_ref
;
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16544 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16553 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
= NULL
;
16555 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16564 if (SWIG_arg_fail(1)) SWIG_fail
;
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16569 result
= (wxString
*) &_result_ref
;
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16577 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16579 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16588 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
= NULL
;
16590 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16591 wxFindReplaceDialog
*result
;
16592 PyObject
* obj0
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "self", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16599 if (SWIG_arg_fail(1)) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16614 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
= NULL
;
16616 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 PyObject
* obj1
= 0 ;
16620 char *kwnames
[] = {
16621 (char *) "self",(char *) "flags", NULL
16624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16626 if (SWIG_arg_fail(1)) SWIG_fail
;
16628 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16629 if (SWIG_arg_fail(2)) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 (arg1
)->SetFlags(arg2
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 Py_INCREF(Py_None
); resultobj
= Py_None
;
16645 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
= NULL
;
16647 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16648 wxString
*arg2
= 0 ;
16649 bool temp2
= false ;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self",(char *) "str", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail
;
16660 arg2
= wxString_in_helper(obj1
);
16661 if (arg2
== NULL
) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 (arg1
)->SetFindString((wxString
const &)*arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16686 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
= NULL
;
16688 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16689 wxString
*arg2
= 0 ;
16690 bool temp2
= false ;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self",(char *) "str", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16699 if (SWIG_arg_fail(1)) SWIG_fail
;
16701 arg2
= wxString_in_helper(obj1
);
16702 if (arg2
== NULL
) SWIG_fail
;
16706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16707 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 Py_INCREF(Py_None
); resultobj
= Py_None
;
16727 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16730 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16732 return Py_BuildValue((char *)"");
16734 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
= NULL
;
16736 int arg1
= (int) 0 ;
16737 wxFindReplaceData
*result
;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "flags", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16746 arg1
= static_cast<int >(SWIG_As_int(obj0
));
16747 if (SWIG_arg_fail(1)) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16764 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
= NULL
;
16766 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16767 PyObject
* obj0
= 0 ;
16768 char *kwnames
[] = {
16769 (char *) "self", NULL
16772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16774 if (SWIG_arg_fail(1)) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 Py_INCREF(Py_None
); resultobj
= Py_None
;
16789 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
= NULL
;
16791 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16793 PyObject
* obj0
= 0 ;
16794 char *kwnames
[] = {
16795 (char *) "self", NULL
16798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16800 if (SWIG_arg_fail(1)) SWIG_fail
;
16802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 wxString
const &_result_ref
= (arg1
)->GetFindString();
16805 result
= (wxString
*) &_result_ref
;
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16815 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16824 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
= NULL
;
16826 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16835 if (SWIG_arg_fail(1)) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16839 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16840 result
= (wxString
*) &_result_ref
;
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16850 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16859 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
= NULL
;
16861 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16870 if (SWIG_arg_fail(1)) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (int)(arg1
)->GetFlags();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= SWIG_From_int(static_cast<int >(result
));
16887 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
= NULL
;
16889 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 PyObject
* obj1
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self",(char *) "flags", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16899 if (SWIG_arg_fail(1)) SWIG_fail
;
16901 arg2
= static_cast<int >(SWIG_As_int(obj1
));
16902 if (SWIG_arg_fail(2)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 (arg1
)->SetFlags(arg2
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16918 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
= NULL
;
16920 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16921 wxString
*arg2
= 0 ;
16922 bool temp2
= false ;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self",(char *) "str", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16931 if (SWIG_arg_fail(1)) SWIG_fail
;
16933 arg2
= wxString_in_helper(obj1
);
16934 if (arg2
== NULL
) SWIG_fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 (arg1
)->SetFindString((wxString
const &)*arg2
);
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 Py_INCREF(Py_None
); resultobj
= Py_None
;
16959 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
= NULL
;
16961 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16962 wxString
*arg2
= 0 ;
16963 bool temp2
= false ;
16964 PyObject
* obj0
= 0 ;
16965 PyObject
* obj1
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "self",(char *) "str", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16972 if (SWIG_arg_fail(1)) SWIG_fail
;
16974 arg2
= wxString_in_helper(obj1
);
16975 if (arg2
== NULL
) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 Py_INCREF(Py_None
); resultobj
= Py_None
;
17000 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
17002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17003 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
17005 return Py_BuildValue((char *)"");
17007 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
= NULL
;
17009 wxWindow
*arg1
= (wxWindow
*) 0 ;
17010 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17011 wxString
*arg3
= 0 ;
17012 int arg4
= (int) 0 ;
17013 wxFindReplaceDialog
*result
;
17014 bool temp3
= false ;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 PyObject
* obj2
= 0 ;
17018 PyObject
* obj3
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17026 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17027 if (SWIG_arg_fail(2)) SWIG_fail
;
17029 arg3
= wxString_in_helper(obj2
);
17030 if (arg3
== NULL
) SWIG_fail
;
17035 arg4
= static_cast<int >(SWIG_As_int(obj3
));
17036 if (SWIG_arg_fail(4)) SWIG_fail
;
17040 if (!wxPyCheckForApp()) SWIG_fail
;
17041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17042 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
17044 wxPyEndAllowThreads(__tstate
);
17045 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17062 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
= NULL
;
17064 wxFindReplaceDialog
*result
;
17065 char *kwnames
[] = {
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
17071 if (!wxPyCheckForApp()) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
17075 wxPyEndAllowThreads(__tstate
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
17085 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
= NULL
;
17087 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17088 wxWindow
*arg2
= (wxWindow
*) 0 ;
17089 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
17090 wxString
*arg4
= 0 ;
17091 int arg5
= (int) 0 ;
17093 bool temp4
= false ;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 PyObject
* obj2
= 0 ;
17097 PyObject
* obj3
= 0 ;
17098 PyObject
* obj4
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17105 if (SWIG_arg_fail(1)) SWIG_fail
;
17106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17107 if (SWIG_arg_fail(2)) SWIG_fail
;
17108 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17109 if (SWIG_arg_fail(3)) SWIG_fail
;
17111 arg4
= wxString_in_helper(obj3
);
17112 if (arg4
== NULL
) SWIG_fail
;
17117 arg5
= static_cast<int >(SWIG_As_int(obj4
));
17118 if (SWIG_arg_fail(5)) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17145 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
= NULL
;
17147 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17148 wxFindReplaceData
*result
;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
17155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17156 if (SWIG_arg_fail(1)) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (wxFindReplaceData
*)(arg1
)->GetData();
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
17171 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
= NULL
;
17173 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
17174 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
17175 PyObject
* obj0
= 0 ;
17176 PyObject
* obj1
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self",(char *) "data", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
17183 if (SWIG_arg_fail(1)) SWIG_fail
;
17184 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
17185 if (SWIG_arg_fail(2)) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 (arg1
)->SetData(arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 Py_INCREF(Py_None
); resultobj
= Py_None
;
17200 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
17202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17203 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
17205 return Py_BuildValue((char *)"");
17207 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
= NULL
;
17209 wxWindow
*arg1
= (wxWindow
*) 0 ;
17210 int arg2
= (int) (int)-1 ;
17211 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17212 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17213 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17214 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17215 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17216 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17217 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17218 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17219 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17220 wxMDIParentFrame
*result
;
17221 bool temp3
= false ;
17224 bool temp7
= false ;
17225 PyObject
* obj0
= 0 ;
17226 PyObject
* obj1
= 0 ;
17227 PyObject
* obj2
= 0 ;
17228 PyObject
* obj3
= 0 ;
17229 PyObject
* obj4
= 0 ;
17230 PyObject
* obj5
= 0 ;
17231 PyObject
* obj6
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17238 if (SWIG_arg_fail(1)) SWIG_fail
;
17241 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17242 if (SWIG_arg_fail(2)) SWIG_fail
;
17247 arg3
= wxString_in_helper(obj2
);
17248 if (arg3
== NULL
) SWIG_fail
;
17255 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17261 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17266 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17267 if (SWIG_arg_fail(6)) SWIG_fail
;
17272 arg7
= wxString_in_helper(obj6
);
17273 if (arg7
== NULL
) SWIG_fail
;
17278 if (!wxPyCheckForApp()) SWIG_fail
;
17279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17280 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17308 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
= NULL
;
17310 wxMDIParentFrame
*result
;
17311 char *kwnames
[] = {
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
17317 if (!wxPyCheckForApp()) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
17331 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
= NULL
;
17333 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17334 wxWindow
*arg2
= (wxWindow
*) 0 ;
17335 int arg3
= (int) (int)-1 ;
17336 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17337 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17338 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17339 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17340 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17341 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17342 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
17343 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17344 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17346 bool temp4
= false ;
17349 bool temp8
= false ;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 PyObject
* obj2
= 0 ;
17353 PyObject
* obj3
= 0 ;
17354 PyObject
* obj4
= 0 ;
17355 PyObject
* obj5
= 0 ;
17356 PyObject
* obj6
= 0 ;
17357 PyObject
* obj7
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17364 if (SWIG_arg_fail(1)) SWIG_fail
;
17365 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17366 if (SWIG_arg_fail(2)) SWIG_fail
;
17369 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17370 if (SWIG_arg_fail(3)) SWIG_fail
;
17375 arg4
= wxString_in_helper(obj3
);
17376 if (arg4
== NULL
) SWIG_fail
;
17383 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17389 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17394 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17395 if (SWIG_arg_fail(7)) SWIG_fail
;
17400 arg8
= wxString_in_helper(obj7
);
17401 if (arg8
== NULL
) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17437 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
= NULL
;
17439 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17440 PyObject
* obj0
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
17446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17447 if (SWIG_arg_fail(1)) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 (arg1
)->ActivateNext();
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 Py_INCREF(Py_None
); resultobj
= Py_None
;
17462 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
= NULL
;
17464 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17465 PyObject
* obj0
= 0 ;
17466 char *kwnames
[] = {
17467 (char *) "self", NULL
17470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17472 if (SWIG_arg_fail(1)) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 (arg1
)->ActivatePrevious();
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 Py_INCREF(Py_None
); resultobj
= Py_None
;
17487 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
= NULL
;
17489 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17497 if (SWIG_arg_fail(1)) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 (arg1
)->ArrangeIcons();
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 Py_INCREF(Py_None
); resultobj
= Py_None
;
17512 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
= NULL
;
17514 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17522 if (SWIG_arg_fail(1)) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 Py_INCREF(Py_None
); resultobj
= Py_None
;
17537 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
= NULL
;
17539 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17540 wxMDIChildFrame
*result
;
17541 PyObject
* obj0
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "self", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17548 if (SWIG_arg_fail(1)) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= wxPyMake_wxObject(result
, 0);
17565 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
= NULL
;
17567 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17568 wxMDIClientWindow
*result
;
17569 PyObject
* obj0
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17576 if (SWIG_arg_fail(1)) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= wxPyMake_wxObject(result
, 0);
17593 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
= NULL
;
17595 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17604 if (SWIG_arg_fail(1)) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (wxWindow
*)(arg1
)->GetToolBar();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= wxPyMake_wxObject(result
, 0);
17621 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17622 PyObject
*resultobj
= NULL
;
17623 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17625 PyObject
* obj0
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
17631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17632 if (SWIG_arg_fail(1)) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= wxPyMake_wxObject(result
, 0);
17649 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
= NULL
;
17651 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17652 wxMenu
*arg2
= (wxMenu
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 PyObject
* obj1
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self",(char *) "menu", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
17660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17661 if (SWIG_arg_fail(1)) SWIG_fail
;
17662 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
17663 if (SWIG_arg_fail(2)) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->SetWindowMenu(arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 Py_INCREF(Py_None
); resultobj
= Py_None
;
17678 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
= NULL
;
17680 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17681 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "toolbar", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
17689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17690 if (SWIG_arg_fail(1)) SWIG_fail
;
17691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
17692 if (SWIG_arg_fail(2)) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 (arg1
)->SetToolBar(arg2
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 Py_INCREF(Py_None
); resultobj
= Py_None
;
17707 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
= NULL
;
17709 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17710 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 char *kwnames
[] = {
17714 (char *) "self",(char *) "orient", NULL
17717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) goto fail
;
17718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17719 if (SWIG_arg_fail(1)) SWIG_fail
;
17722 arg2
= static_cast<wxOrientation
>(SWIG_As_int(obj1
));
17723 if (SWIG_arg_fail(2)) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 (arg1
)->Tile(arg2
);
17730 wxPyEndAllowThreads(__tstate
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 Py_INCREF(Py_None
); resultobj
= Py_None
;
17740 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17742 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17743 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17745 return Py_BuildValue((char *)"");
17747 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
= NULL
;
17749 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17750 int arg2
= (int) (int)-1 ;
17751 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17752 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17753 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17754 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17755 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17756 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17757 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17758 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17759 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17760 wxMDIChildFrame
*result
;
17761 bool temp3
= false ;
17764 bool temp7
= false ;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 PyObject
* obj2
= 0 ;
17768 PyObject
* obj3
= 0 ;
17769 PyObject
* obj4
= 0 ;
17770 PyObject
* obj5
= 0 ;
17771 PyObject
* obj6
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17778 if (SWIG_arg_fail(1)) SWIG_fail
;
17781 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
17782 if (SWIG_arg_fail(2)) SWIG_fail
;
17787 arg3
= wxString_in_helper(obj2
);
17788 if (arg3
== NULL
) SWIG_fail
;
17795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17806 arg6
= static_cast<long >(SWIG_As_long(obj5
));
17807 if (SWIG_arg_fail(6)) SWIG_fail
;
17812 arg7
= wxString_in_helper(obj6
);
17813 if (arg7
== NULL
) SWIG_fail
;
17818 if (!wxPyCheckForApp()) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17848 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
= NULL
;
17850 wxMDIChildFrame
*result
;
17851 char *kwnames
[] = {
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17857 if (!wxPyCheckForApp()) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17871 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
= NULL
;
17873 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17874 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17875 int arg3
= (int) (int)-1 ;
17876 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17877 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17878 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17879 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17880 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17881 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17882 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17883 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17884 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17886 bool temp4
= false ;
17889 bool temp8
= false ;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 PyObject
* obj2
= 0 ;
17893 PyObject
* obj3
= 0 ;
17894 PyObject
* obj4
= 0 ;
17895 PyObject
* obj5
= 0 ;
17896 PyObject
* obj6
= 0 ;
17897 PyObject
* obj7
= 0 ;
17898 char *kwnames
[] = {
17899 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17904 if (SWIG_arg_fail(1)) SWIG_fail
;
17905 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17906 if (SWIG_arg_fail(2)) SWIG_fail
;
17909 arg3
= static_cast<int const >(SWIG_As_int(obj2
));
17910 if (SWIG_arg_fail(3)) SWIG_fail
;
17915 arg4
= wxString_in_helper(obj3
);
17916 if (arg4
== NULL
) SWIG_fail
;
17923 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17929 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17934 arg7
= static_cast<long >(SWIG_As_long(obj6
));
17935 if (SWIG_arg_fail(7)) SWIG_fail
;
17940 arg8
= wxString_in_helper(obj7
);
17941 if (arg8
== NULL
) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17977 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
= NULL
;
17979 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17980 PyObject
* obj0
= 0 ;
17981 char *kwnames
[] = {
17982 (char *) "self", NULL
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17987 if (SWIG_arg_fail(1)) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->Activate();
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 Py_INCREF(Py_None
); resultobj
= Py_None
;
18002 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
= NULL
;
18004 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18005 bool arg2
= (bool) true ;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self",(char *) "maximize", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
18013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18014 if (SWIG_arg_fail(1)) SWIG_fail
;
18017 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
18018 if (SWIG_arg_fail(2)) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->Maximize(arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
= NULL
;
18037 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
18062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18063 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
18065 return Py_BuildValue((char *)"");
18067 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
= NULL
;
18069 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
18070 long arg2
= (long) 0 ;
18071 wxMDIClientWindow
*result
;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "parent",(char *) "style", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18080 if (SWIG_arg_fail(1)) SWIG_fail
;
18083 arg2
= static_cast<long >(SWIG_As_long(obj1
));
18084 if (SWIG_arg_fail(2)) SWIG_fail
;
18088 if (!wxPyCheckForApp()) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18102 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
= NULL
;
18104 wxMDIClientWindow
*result
;
18105 char *kwnames
[] = {
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
18111 if (!wxPyCheckForApp()) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
18125 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18126 PyObject
*resultobj
= NULL
;
18127 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
18128 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
18129 long arg3
= (long) 0 ;
18131 PyObject
* obj0
= 0 ;
18132 PyObject
* obj1
= 0 ;
18133 PyObject
* obj2
= 0 ;
18134 char *kwnames
[] = {
18135 (char *) "self",(char *) "parent",(char *) "style", NULL
18138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
18140 if (SWIG_arg_fail(1)) SWIG_fail
;
18141 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
18142 if (SWIG_arg_fail(2)) SWIG_fail
;
18145 arg3
= static_cast<long >(SWIG_As_long(obj2
));
18146 if (SWIG_arg_fail(3)) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 result
= (bool)(arg1
)->Create(arg2
,arg3
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18165 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
18167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18168 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
18170 return Py_BuildValue((char *)"");
18172 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
= NULL
;
18174 wxWindow
*arg1
= (wxWindow
*) 0 ;
18175 int arg2
= (int) (int)-1 ;
18176 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18177 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18178 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18179 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18180 long arg5
= (long) 0 ;
18181 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18182 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18183 wxPyWindow
*result
;
18186 bool temp6
= false ;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 PyObject
* obj2
= 0 ;
18190 PyObject
* obj3
= 0 ;
18191 PyObject
* obj4
= 0 ;
18192 PyObject
* obj5
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18199 if (SWIG_arg_fail(1)) SWIG_fail
;
18202 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
18203 if (SWIG_arg_fail(2)) SWIG_fail
;
18209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18215 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18220 arg5
= static_cast<long >(SWIG_As_long(obj4
));
18221 if (SWIG_arg_fail(5)) SWIG_fail
;
18226 arg6
= wxString_in_helper(obj5
);
18227 if (arg6
== NULL
) SWIG_fail
;
18232 if (!wxPyCheckForApp()) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18254 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
= NULL
;
18256 wxPyWindow
*result
;
18257 char *kwnames
[] = {
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
18263 if (!wxPyCheckForApp()) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (wxPyWindow
*)new wxPyWindow();
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
18277 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
= NULL
;
18279 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18280 PyObject
*arg2
= (PyObject
*) 0 ;
18281 PyObject
*arg3
= (PyObject
*) 0 ;
18282 PyObject
* obj0
= 0 ;
18283 PyObject
* obj1
= 0 ;
18284 PyObject
* obj2
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "self",(char *) "_class", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18291 if (SWIG_arg_fail(1)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
= NULL
;
18310 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "size", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail
;
18324 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18340 static PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
= NULL
;
18342 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18343 wxDC
*arg2
= (wxDC
*) 0 ;
18345 PyObject
* obj0
= 0 ;
18346 PyObject
* obj1
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "dc", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18353 if (SWIG_arg_fail(1)) SWIG_fail
;
18354 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
18355 if (SWIG_arg_fail(2)) SWIG_fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18372 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
= NULL
;
18374 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 PyObject
* obj1
= 0 ;
18381 PyObject
* obj2
= 0 ;
18382 PyObject
* obj3
= 0 ;
18383 PyObject
* obj4
= 0 ;
18384 char *kwnames
[] = {
18385 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18390 if (SWIG_arg_fail(1)) SWIG_fail
;
18392 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18393 if (SWIG_arg_fail(2)) SWIG_fail
;
18396 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18397 if (SWIG_arg_fail(3)) SWIG_fail
;
18400 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18401 if (SWIG_arg_fail(4)) SWIG_fail
;
18404 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18405 if (SWIG_arg_fail(5)) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 Py_INCREF(Py_None
); resultobj
= Py_None
;
18421 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
= NULL
;
18423 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18428 int arg6
= (int) wxSIZE_AUTO
;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 PyObject
* obj2
= 0 ;
18432 PyObject
* obj3
= 0 ;
18433 PyObject
* obj4
= 0 ;
18434 PyObject
* obj5
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18441 if (SWIG_arg_fail(1)) SWIG_fail
;
18443 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18444 if (SWIG_arg_fail(2)) SWIG_fail
;
18447 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18448 if (SWIG_arg_fail(3)) SWIG_fail
;
18451 arg4
= static_cast<int >(SWIG_As_int(obj3
));
18452 if (SWIG_arg_fail(4)) SWIG_fail
;
18455 arg5
= static_cast<int >(SWIG_As_int(obj4
));
18456 if (SWIG_arg_fail(5)) SWIG_fail
;
18460 arg6
= static_cast<int >(SWIG_As_int(obj5
));
18461 if (SWIG_arg_fail(6)) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 Py_INCREF(Py_None
); resultobj
= Py_None
;
18478 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
= NULL
;
18480 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 PyObject
* obj2
= 0 ;
18486 char *kwnames
[] = {
18487 (char *) "self",(char *) "width",(char *) "height", NULL
18490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18492 if (SWIG_arg_fail(1)) SWIG_fail
;
18494 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18495 if (SWIG_arg_fail(2)) SWIG_fail
;
18498 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18499 if (SWIG_arg_fail(3)) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 Py_INCREF(Py_None
); resultobj
= Py_None
;
18515 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
= NULL
;
18517 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 PyObject
* obj2
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "x",(char *) "y", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18529 if (SWIG_arg_fail(1)) SWIG_fail
;
18531 arg2
= static_cast<int >(SWIG_As_int(obj1
));
18532 if (SWIG_arg_fail(2)) SWIG_fail
;
18535 arg3
= static_cast<int >(SWIG_As_int(obj2
));
18536 if (SWIG_arg_fail(3)) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 Py_INCREF(Py_None
); resultobj
= Py_None
;
18552 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
= NULL
;
18554 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18555 int *arg2
= (int *) 0 ;
18556 int *arg3
= (int *) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18567 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18570 if (SWIG_arg_fail(1)) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18579 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18580 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18581 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18582 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18589 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
= NULL
;
18591 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18592 int *arg2
= (int *) 0 ;
18593 int *arg3
= (int *) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18604 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18607 if (SWIG_arg_fail(1)) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 Py_INCREF(Py_None
); resultobj
= Py_None
;
18616 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18617 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18618 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18619 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18626 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
= NULL
;
18628 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18629 int *arg2
= (int *) 0 ;
18630 int *arg3
= (int *) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self", NULL
18640 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18641 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18644 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18649 wxPyEndAllowThreads(__tstate
);
18650 if (PyErr_Occurred()) SWIG_fail
;
18652 Py_INCREF(Py_None
); resultobj
= Py_None
;
18653 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18654 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18655 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18656 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18663 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
= NULL
;
18665 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18674 if (SWIG_arg_fail(1)) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18683 wxSize
* resultptr
;
18684 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18685 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18693 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
= NULL
;
18695 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18697 PyObject
* obj0
= 0 ;
18698 char *kwnames
[] = {
18699 (char *) "self", NULL
18702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18704 if (SWIG_arg_fail(1)) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18713 wxSize
* resultptr
;
18714 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18723 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
= NULL
;
18725 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18733 if (SWIG_arg_fail(1)) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 (arg1
)->base_InitDialog();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 Py_INCREF(Py_None
); resultobj
= Py_None
;
18748 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
= NULL
;
18750 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18759 if (SWIG_arg_fail(1)) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (bool)(arg1
)->base_TransferDataToWindow();
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18776 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
= NULL
;
18778 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18787 if (SWIG_arg_fail(1)) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18804 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
= NULL
;
18806 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18815 if (SWIG_arg_fail(1)) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= (bool)(arg1
)->base_Validate();
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18832 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
= NULL
;
18834 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18836 PyObject
* obj0
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "self", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18843 if (SWIG_arg_fail(1)) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18860 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
= NULL
;
18862 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18864 PyObject
* obj0
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18871 if (SWIG_arg_fail(1)) SWIG_fail
;
18873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18874 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18888 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
= NULL
;
18890 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18899 if (SWIG_arg_fail(1)) SWIG_fail
;
18901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18902 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 wxSize
* resultptr
;
18909 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
18910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18918 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
= NULL
;
18920 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18921 wxWindow
*arg2
= (wxWindow
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 PyObject
* obj1
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self",(char *) "child", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18930 if (SWIG_arg_fail(1)) SWIG_fail
;
18931 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18932 if (SWIG_arg_fail(2)) SWIG_fail
;
18934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18935 (arg1
)->base_AddChild(arg2
);
18937 wxPyEndAllowThreads(__tstate
);
18938 if (PyErr_Occurred()) SWIG_fail
;
18940 Py_INCREF(Py_None
); resultobj
= Py_None
;
18947 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
= NULL
;
18949 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18950 wxWindow
*arg2
= (wxWindow
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "child", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18959 if (SWIG_arg_fail(1)) SWIG_fail
;
18960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18961 if (SWIG_arg_fail(2)) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->base_RemoveChild(arg2
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18976 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
= NULL
;
18978 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18987 if (SWIG_arg_fail(1)) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19004 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
= NULL
;
19006 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19007 wxVisualAttributes result
;
19008 PyObject
* obj0
= 0 ;
19009 char *kwnames
[] = {
19010 (char *) "self", NULL
19013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19015 if (SWIG_arg_fail(1)) SWIG_fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= (arg1
)->base_GetDefaultAttributes();
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 wxVisualAttributes
* resultptr
;
19025 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19034 static PyObject
*_wrap_PyWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
= NULL
;
19036 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
19044 if (SWIG_arg_fail(1)) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 (arg1
)->base_OnInternalIdle();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19052 Py_INCREF(Py_None
); resultobj
= Py_None
;
19059 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
19061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19062 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
19064 return Py_BuildValue((char *)"");
19066 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19067 PyObject
*resultobj
= NULL
;
19068 wxWindow
*arg1
= (wxWindow
*) 0 ;
19069 int arg2
= (int) (int)-1 ;
19070 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19071 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19072 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19073 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19074 long arg5
= (long) 0 ;
19075 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19076 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19080 bool temp6
= false ;
19081 PyObject
* obj0
= 0 ;
19082 PyObject
* obj1
= 0 ;
19083 PyObject
* obj2
= 0 ;
19084 PyObject
* obj3
= 0 ;
19085 PyObject
* obj4
= 0 ;
19086 PyObject
* obj5
= 0 ;
19087 char *kwnames
[] = {
19088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19093 if (SWIG_arg_fail(1)) SWIG_fail
;
19096 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19097 if (SWIG_arg_fail(2)) SWIG_fail
;
19103 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19109 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19114 arg5
= static_cast<long >(SWIG_As_long(obj4
));
19115 if (SWIG_arg_fail(5)) SWIG_fail
;
19120 arg6
= wxString_in_helper(obj5
);
19121 if (arg6
== NULL
) SWIG_fail
;
19126 if (!wxPyCheckForApp()) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19128 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19148 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
= NULL
;
19151 char *kwnames
[] = {
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
19157 if (!wxPyCheckForApp()) SWIG_fail
;
19158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19159 result
= (wxPyPanel
*)new wxPyPanel();
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
19171 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
= NULL
;
19173 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19174 PyObject
*arg2
= (PyObject
*) 0 ;
19175 PyObject
*arg3
= (PyObject
*) 0 ;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 PyObject
* obj2
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "self",(char *) "_class", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19185 if (SWIG_arg_fail(1)) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 Py_INCREF(Py_None
); resultobj
= Py_None
;
19202 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
= NULL
;
19204 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self",(char *) "size", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19215 if (SWIG_arg_fail(1)) SWIG_fail
;
19218 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 Py_INCREF(Py_None
); resultobj
= Py_None
;
19234 static PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
= NULL
;
19236 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19237 wxDC
*arg2
= (wxDC
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "dc", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19247 if (SWIG_arg_fail(1)) SWIG_fail
;
19248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19249 if (SWIG_arg_fail(2)) SWIG_fail
;
19251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19266 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
= NULL
;
19268 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 PyObject
* obj2
= 0 ;
19276 PyObject
* obj3
= 0 ;
19277 PyObject
* obj4
= 0 ;
19278 char *kwnames
[] = {
19279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19284 if (SWIG_arg_fail(1)) SWIG_fail
;
19286 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19287 if (SWIG_arg_fail(2)) SWIG_fail
;
19290 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19291 if (SWIG_arg_fail(3)) SWIG_fail
;
19294 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19295 if (SWIG_arg_fail(4)) SWIG_fail
;
19298 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19299 if (SWIG_arg_fail(5)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
= NULL
;
19317 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19322 int arg6
= (int) wxSIZE_AUTO
;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 PyObject
* obj2
= 0 ;
19326 PyObject
* obj3
= 0 ;
19327 PyObject
* obj4
= 0 ;
19328 PyObject
* obj5
= 0 ;
19329 char *kwnames
[] = {
19330 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19335 if (SWIG_arg_fail(1)) SWIG_fail
;
19337 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19338 if (SWIG_arg_fail(2)) SWIG_fail
;
19341 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19342 if (SWIG_arg_fail(3)) SWIG_fail
;
19345 arg4
= static_cast<int >(SWIG_As_int(obj3
));
19346 if (SWIG_arg_fail(4)) SWIG_fail
;
19349 arg5
= static_cast<int >(SWIG_As_int(obj4
));
19350 if (SWIG_arg_fail(5)) SWIG_fail
;
19354 arg6
= static_cast<int >(SWIG_As_int(obj5
));
19355 if (SWIG_arg_fail(6)) SWIG_fail
;
19359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19362 wxPyEndAllowThreads(__tstate
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19365 Py_INCREF(Py_None
); resultobj
= Py_None
;
19372 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19373 PyObject
*resultobj
= NULL
;
19374 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 PyObject
* obj2
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "self",(char *) "width",(char *) "height", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19386 if (SWIG_arg_fail(1)) SWIG_fail
;
19388 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19389 if (SWIG_arg_fail(2)) SWIG_fail
;
19392 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19393 if (SWIG_arg_fail(3)) SWIG_fail
;
19396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19397 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19402 Py_INCREF(Py_None
); resultobj
= Py_None
;
19409 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
= NULL
;
19411 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 PyObject
* obj2
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self",(char *) "x",(char *) "y", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19423 if (SWIG_arg_fail(1)) SWIG_fail
;
19425 arg2
= static_cast<int >(SWIG_As_int(obj1
));
19426 if (SWIG_arg_fail(2)) SWIG_fail
;
19429 arg3
= static_cast<int >(SWIG_As_int(obj2
));
19430 if (SWIG_arg_fail(3)) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
= NULL
;
19448 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19449 int *arg2
= (int *) 0 ;
19450 int *arg3
= (int *) 0 ;
19455 PyObject
* obj0
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self", NULL
19460 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19461 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19464 if (SWIG_arg_fail(1)) SWIG_fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 Py_INCREF(Py_None
); resultobj
= Py_None
;
19473 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19474 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19475 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19476 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19483 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
= NULL
;
19485 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19486 int *arg2
= (int *) 0 ;
19487 int *arg3
= (int *) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19498 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19501 if (SWIG_arg_fail(1)) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19509 Py_INCREF(Py_None
); resultobj
= Py_None
;
19510 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19511 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19512 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19513 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19520 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
= NULL
;
19522 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19523 int *arg2
= (int *) 0 ;
19524 int *arg3
= (int *) 0 ;
19529 PyObject
* obj0
= 0 ;
19530 char *kwnames
[] = {
19531 (char *) "self", NULL
19534 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19535 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19538 if (SWIG_arg_fail(1)) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 Py_INCREF(Py_None
); resultobj
= Py_None
;
19547 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19548 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19549 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19550 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19557 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
= NULL
;
19559 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19568 if (SWIG_arg_fail(1)) SWIG_fail
;
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19573 wxPyEndAllowThreads(__tstate
);
19574 if (PyErr_Occurred()) SWIG_fail
;
19577 wxSize
* resultptr
;
19578 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19587 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
= NULL
;
19589 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19591 PyObject
* obj0
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19598 if (SWIG_arg_fail(1)) SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19607 wxSize
* resultptr
;
19608 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19617 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
= NULL
;
19619 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19620 PyObject
* obj0
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19627 if (SWIG_arg_fail(1)) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 (arg1
)->base_InitDialog();
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 Py_INCREF(Py_None
); resultobj
= Py_None
;
19642 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= NULL
;
19644 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "self", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19653 if (SWIG_arg_fail(1)) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (bool)(arg1
)->base_TransferDataToWindow();
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19670 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
= NULL
;
19672 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19674 PyObject
* obj0
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19681 if (SWIG_arg_fail(1)) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19684 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19698 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
= NULL
;
19700 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19702 PyObject
* obj0
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19709 if (SWIG_arg_fail(1)) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (bool)(arg1
)->base_Validate();
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19726 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
= NULL
;
19728 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19737 if (SWIG_arg_fail(1)) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19754 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
= NULL
;
19756 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19765 if (SWIG_arg_fail(1)) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19782 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
= NULL
;
19784 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19793 if (SWIG_arg_fail(1)) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19802 wxSize
* resultptr
;
19803 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
19804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19812 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
= NULL
;
19814 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19815 wxWindow
*arg2
= (wxWindow
*) 0 ;
19816 PyObject
* obj0
= 0 ;
19817 PyObject
* obj1
= 0 ;
19818 char *kwnames
[] = {
19819 (char *) "self",(char *) "child", NULL
19822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19824 if (SWIG_arg_fail(1)) SWIG_fail
;
19825 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19826 if (SWIG_arg_fail(2)) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 (arg1
)->base_AddChild(arg2
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 Py_INCREF(Py_None
); resultobj
= Py_None
;
19841 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
= NULL
;
19843 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19844 wxWindow
*arg2
= (wxWindow
*) 0 ;
19845 PyObject
* obj0
= 0 ;
19846 PyObject
* obj1
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self",(char *) "child", NULL
19851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19853 if (SWIG_arg_fail(1)) SWIG_fail
;
19854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19855 if (SWIG_arg_fail(2)) SWIG_fail
;
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 (arg1
)->base_RemoveChild(arg2
);
19860 wxPyEndAllowThreads(__tstate
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 Py_INCREF(Py_None
); resultobj
= Py_None
;
19870 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
= NULL
;
19872 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19874 PyObject
* obj0
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19881 if (SWIG_arg_fail(1)) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19898 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19899 PyObject
*resultobj
= NULL
;
19900 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19901 wxVisualAttributes result
;
19902 PyObject
* obj0
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19909 if (SWIG_arg_fail(1)) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (arg1
)->base_GetDefaultAttributes();
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19918 wxVisualAttributes
* resultptr
;
19919 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
19920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19928 static PyObject
*_wrap_PyPanel_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
= NULL
;
19930 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19931 PyObject
* obj0
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
19937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19938 if (SWIG_arg_fail(1)) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 (arg1
)->base_OnInternalIdle();
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 Py_INCREF(Py_None
); resultobj
= Py_None
;
19953 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19956 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19958 return Py_BuildValue((char *)"");
19960 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
= NULL
;
19962 wxWindow
*arg1
= (wxWindow
*) 0 ;
19963 int arg2
= (int) (int)-1 ;
19964 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19965 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19966 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19967 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19968 long arg5
= (long) 0 ;
19969 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19970 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19971 wxPyScrolledWindow
*result
;
19974 bool temp6
= false ;
19975 PyObject
* obj0
= 0 ;
19976 PyObject
* obj1
= 0 ;
19977 PyObject
* obj2
= 0 ;
19978 PyObject
* obj3
= 0 ;
19979 PyObject
* obj4
= 0 ;
19980 PyObject
* obj5
= 0 ;
19981 char *kwnames
[] = {
19982 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19987 if (SWIG_arg_fail(1)) SWIG_fail
;
19990 arg2
= static_cast<int const >(SWIG_As_int(obj1
));
19991 if (SWIG_arg_fail(2)) SWIG_fail
;
19997 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20003 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20008 arg5
= static_cast<long >(SWIG_As_long(obj4
));
20009 if (SWIG_arg_fail(5)) SWIG_fail
;
20014 arg6
= wxString_in_helper(obj5
);
20015 if (arg6
== NULL
) SWIG_fail
;
20020 if (!wxPyCheckForApp()) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
20042 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
= NULL
;
20044 wxPyScrolledWindow
*result
;
20045 char *kwnames
[] = {
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
20051 if (!wxPyCheckForApp()) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
20065 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
= NULL
;
20067 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20068 PyObject
*arg2
= (PyObject
*) 0 ;
20069 PyObject
*arg3
= (PyObject
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 PyObject
* obj1
= 0 ;
20072 PyObject
* obj2
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self",(char *) "self",(char *) "_class", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20079 if (SWIG_arg_fail(1)) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 Py_INCREF(Py_None
); resultobj
= Py_None
;
20096 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
= NULL
;
20098 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self",(char *) "size", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20109 if (SWIG_arg_fail(1)) SWIG_fail
;
20112 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 Py_INCREF(Py_None
); resultobj
= Py_None
;
20128 static PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
= NULL
;
20130 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20131 wxDC
*arg2
= (wxDC
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self",(char *) "dc", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail
;
20142 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
20143 if (SWIG_arg_fail(2)) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20160 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
= NULL
;
20162 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20167 PyObject
* obj0
= 0 ;
20168 PyObject
* obj1
= 0 ;
20169 PyObject
* obj2
= 0 ;
20170 PyObject
* obj3
= 0 ;
20171 PyObject
* obj4
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20178 if (SWIG_arg_fail(1)) SWIG_fail
;
20180 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20181 if (SWIG_arg_fail(2)) SWIG_fail
;
20184 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20185 if (SWIG_arg_fail(3)) SWIG_fail
;
20188 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20189 if (SWIG_arg_fail(4)) SWIG_fail
;
20192 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20193 if (SWIG_arg_fail(5)) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 Py_INCREF(Py_None
); resultobj
= Py_None
;
20209 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
= NULL
;
20211 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20216 int arg6
= (int) wxSIZE_AUTO
;
20217 PyObject
* obj0
= 0 ;
20218 PyObject
* obj1
= 0 ;
20219 PyObject
* obj2
= 0 ;
20220 PyObject
* obj3
= 0 ;
20221 PyObject
* obj4
= 0 ;
20222 PyObject
* obj5
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20229 if (SWIG_arg_fail(1)) SWIG_fail
;
20231 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20232 if (SWIG_arg_fail(2)) SWIG_fail
;
20235 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20236 if (SWIG_arg_fail(3)) SWIG_fail
;
20239 arg4
= static_cast<int >(SWIG_As_int(obj3
));
20240 if (SWIG_arg_fail(4)) SWIG_fail
;
20243 arg5
= static_cast<int >(SWIG_As_int(obj4
));
20244 if (SWIG_arg_fail(5)) SWIG_fail
;
20248 arg6
= static_cast<int >(SWIG_As_int(obj5
));
20249 if (SWIG_arg_fail(6)) SWIG_fail
;
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20259 Py_INCREF(Py_None
); resultobj
= Py_None
;
20266 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20267 PyObject
*resultobj
= NULL
;
20268 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20271 PyObject
* obj0
= 0 ;
20272 PyObject
* obj1
= 0 ;
20273 PyObject
* obj2
= 0 ;
20274 char *kwnames
[] = {
20275 (char *) "self",(char *) "width",(char *) "height", NULL
20278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20280 if (SWIG_arg_fail(1)) SWIG_fail
;
20282 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20283 if (SWIG_arg_fail(2)) SWIG_fail
;
20286 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20287 if (SWIG_arg_fail(3)) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20303 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
= NULL
;
20305 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 PyObject
* obj2
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self",(char *) "x",(char *) "y", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20317 if (SWIG_arg_fail(1)) SWIG_fail
;
20319 arg2
= static_cast<int >(SWIG_As_int(obj1
));
20320 if (SWIG_arg_fail(2)) SWIG_fail
;
20323 arg3
= static_cast<int >(SWIG_As_int(obj2
));
20324 if (SWIG_arg_fail(3)) SWIG_fail
;
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 Py_INCREF(Py_None
); resultobj
= Py_None
;
20340 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
= NULL
;
20342 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20343 int *arg2
= (int *) 0 ;
20344 int *arg3
= (int *) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20355 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
20357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 Py_INCREF(Py_None
); resultobj
= Py_None
;
20367 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20368 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20369 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20370 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20377 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
= NULL
;
20379 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20380 int *arg2
= (int *) 0 ;
20381 int *arg3
= (int *) 0 ;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self", NULL
20391 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20392 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
20394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20395 if (SWIG_arg_fail(1)) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20404 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20405 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20406 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20407 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20414 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
= NULL
;
20416 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20417 int *arg2
= (int *) 0 ;
20418 int *arg3
= (int *) 0 ;
20423 PyObject
* obj0
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self", NULL
20428 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
20429 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
20430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
20431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20432 if (SWIG_arg_fail(1)) SWIG_fail
;
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20440 Py_INCREF(Py_None
); resultobj
= Py_None
;
20441 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
20442 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
20443 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
20444 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
20451 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20452 PyObject
*resultobj
= NULL
;
20453 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
20461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20462 if (SWIG_arg_fail(1)) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 wxSize
* resultptr
;
20472 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20481 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
= NULL
;
20483 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20485 PyObject
* obj0
= 0 ;
20486 char *kwnames
[] = {
20487 (char *) "self", NULL
20490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
20491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20492 if (SWIG_arg_fail(1)) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 wxSize
* resultptr
;
20502 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20511 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
= NULL
;
20513 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20514 PyObject
* obj0
= 0 ;
20515 char *kwnames
[] = {
20516 (char *) "self", NULL
20519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
20520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20521 if (SWIG_arg_fail(1)) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->base_InitDialog();
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
= NULL
;
20538 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20547 if (SWIG_arg_fail(1)) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 result
= (bool)(arg1
)->base_TransferDataToWindow();
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20564 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
= NULL
;
20566 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20575 if (SWIG_arg_fail(1)) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (bool)(arg1
)->base_TransferDataFromWindow();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20592 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
= NULL
;
20594 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20603 if (SWIG_arg_fail(1)) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (bool)(arg1
)->base_Validate();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20620 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
= NULL
;
20622 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20631 if (SWIG_arg_fail(1)) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20648 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
= NULL
;
20650 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20652 PyObject
* obj0
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20659 if (SWIG_arg_fail(1)) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20676 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
= NULL
;
20678 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20680 PyObject
* obj0
= 0 ;
20681 char *kwnames
[] = {
20682 (char *) "self", NULL
20685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20687 if (SWIG_arg_fail(1)) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20696 wxSize
* resultptr
;
20697 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
20698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20706 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
= NULL
;
20708 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20709 wxWindow
*arg2
= (wxWindow
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self",(char *) "child", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20718 if (SWIG_arg_fail(1)) SWIG_fail
;
20719 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20720 if (SWIG_arg_fail(2)) SWIG_fail
;
20722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 (arg1
)->base_AddChild(arg2
);
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 Py_INCREF(Py_None
); resultobj
= Py_None
;
20735 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
= NULL
;
20737 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20738 wxWindow
*arg2
= (wxWindow
*) 0 ;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self",(char *) "child", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20747 if (SWIG_arg_fail(1)) SWIG_fail
;
20748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20749 if (SWIG_arg_fail(2)) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 (arg1
)->base_RemoveChild(arg2
);
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20757 Py_INCREF(Py_None
); resultobj
= Py_None
;
20764 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
= NULL
;
20766 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20768 PyObject
* obj0
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "self", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20775 if (SWIG_arg_fail(1)) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20792 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
= NULL
;
20794 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20795 wxVisualAttributes result
;
20796 PyObject
* obj0
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "self", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20803 if (SWIG_arg_fail(1)) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (arg1
)->base_GetDefaultAttributes();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20812 wxVisualAttributes
* resultptr
;
20813 resultptr
= new wxVisualAttributes(static_cast<wxVisualAttributes
& >(result
));
20814 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20822 static PyObject
*_wrap_PyScrolledWindow_base_OnInternalIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
= NULL
;
20824 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_OnInternalIdle",kwnames
,&obj0
)) goto fail
;
20831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20832 if (SWIG_arg_fail(1)) SWIG_fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 (arg1
)->base_OnInternalIdle();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 Py_INCREF(Py_None
); resultobj
= Py_None
;
20847 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20850 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20852 return Py_BuildValue((char *)"");
20854 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20855 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20860 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20861 PyObject
*pyobj
= NULL
;
20865 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20867 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20874 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20875 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20880 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20881 PyObject
*pyobj
= NULL
;
20885 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20887 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20894 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20895 PyObject
*resultobj
= NULL
;
20896 wxPrintData
*result
;
20898 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (wxPrintData
*)new wxPrintData();
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20913 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20914 PyObject
*resultobj
= NULL
;
20915 wxPrintData
*arg1
= 0 ;
20916 wxPrintData
*result
;
20917 PyObject
* obj0
= 0 ;
20919 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20922 if (SWIG_arg_fail(1)) SWIG_fail
;
20923 if (arg1
== NULL
) {
20924 SWIG_null_ref("wxPrintData");
20926 if (SWIG_arg_fail(1)) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20942 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20947 argc
= PyObject_Length(args
);
20948 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20949 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20952 return _wrap_new_PrintData__SWIG_0(self
,args
);
20958 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20966 return _wrap_new_PrintData__SWIG_1(self
,args
);
20970 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20975 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
= NULL
;
20977 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20978 PyObject
* obj0
= 0 ;
20979 char *kwnames
[] = {
20980 (char *) "self", NULL
20983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20985 if (SWIG_arg_fail(1)) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 Py_INCREF(Py_None
); resultobj
= Py_None
;
21000 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
= NULL
;
21002 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 char *kwnames
[] = {
21006 (char *) "self", NULL
21009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21011 if (SWIG_arg_fail(1)) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (int)(arg1
)->GetNoCopies();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= SWIG_From_int(static_cast<int >(result
));
21028 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
= NULL
;
21030 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
21038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21039 if (SWIG_arg_fail(1)) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (bool)(arg1
)->GetCollate();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21056 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
= NULL
;
21058 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
21066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21067 if (SWIG_arg_fail(1)) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (int)(arg1
)->GetOrientation();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= SWIG_From_int(static_cast<int >(result
));
21084 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
= NULL
;
21086 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "self", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
21094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21095 if (SWIG_arg_fail(1)) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (bool)(arg1
)->Ok();
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21112 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
= NULL
;
21114 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21116 PyObject
* obj0
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "self", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
21122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21123 if (SWIG_arg_fail(1)) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
21128 result
= (wxString
*) &_result_ref
;
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21136 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21138 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21147 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
= NULL
;
21149 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
21157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21158 if (SWIG_arg_fail(1)) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (bool)(arg1
)->GetColour();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21175 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
= NULL
;
21177 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21178 wxDuplexMode result
;
21179 PyObject
* obj0
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
21185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21186 if (SWIG_arg_fail(1)) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_From_int((result
));
21201 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
= NULL
;
21203 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21204 wxPaperSize result
;
21205 PyObject
* obj0
= 0 ;
21206 char *kwnames
[] = {
21207 (char *) "self", NULL
21210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
21211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21212 if (SWIG_arg_fail(1)) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= (wxPaperSize
)(arg1
)->GetPaperId();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= SWIG_From_int((result
));
21227 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
= NULL
;
21229 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
21237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21238 if (SWIG_arg_fail(1)) SWIG_fail
;
21240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21242 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
21243 result
= (wxSize
*) &_result_ref
;
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
21256 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
= NULL
;
21258 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
21266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21267 if (SWIG_arg_fail(1)) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (int)(arg1
)->GetQuality();
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21276 resultobj
= SWIG_From_int(static_cast<int >(result
));
21284 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
= NULL
;
21286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21288 PyObject
* obj0
= 0 ;
21289 char *kwnames
[] = {
21290 (char *) "self", NULL
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
21294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21295 if (SWIG_arg_fail(1)) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (wxPrintBin
)(arg1
)->GetBin();
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_From_int((result
));
21310 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
= NULL
;
21312 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21313 wxPrintMode result
;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
21320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21321 if (SWIG_arg_fail(1)) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_From_int((result
));
21336 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
= NULL
;
21338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self",(char *) "v", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21348 if (SWIG_arg_fail(1)) SWIG_fail
;
21350 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21351 if (SWIG_arg_fail(2)) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 (arg1
)->SetNoCopies(arg2
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 Py_INCREF(Py_None
); resultobj
= Py_None
;
21367 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
= NULL
;
21369 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 PyObject
* obj1
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self",(char *) "flag", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21379 if (SWIG_arg_fail(1)) SWIG_fail
;
21381 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21382 if (SWIG_arg_fail(2)) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 (arg1
)->SetCollate(arg2
);
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21391 Py_INCREF(Py_None
); resultobj
= Py_None
;
21398 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21399 PyObject
*resultobj
= NULL
;
21400 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21403 PyObject
* obj1
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self",(char *) "orient", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
21409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21410 if (SWIG_arg_fail(1)) SWIG_fail
;
21412 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21413 if (SWIG_arg_fail(2)) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 (arg1
)->SetOrientation(arg2
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
= NULL
;
21431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21432 wxString
*arg2
= 0 ;
21433 bool temp2
= false ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self",(char *) "name", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
21441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21442 if (SWIG_arg_fail(1)) SWIG_fail
;
21444 arg2
= wxString_in_helper(obj1
);
21445 if (arg2
== NULL
) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 Py_INCREF(Py_None
); resultobj
= Py_None
;
21470 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
= NULL
;
21472 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self",(char *) "colour", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21482 if (SWIG_arg_fail(1)) SWIG_fail
;
21484 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21485 if (SWIG_arg_fail(2)) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 (arg1
)->SetColour(arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
= NULL
;
21503 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21504 wxDuplexMode arg2
;
21505 PyObject
* obj0
= 0 ;
21506 PyObject
* obj1
= 0 ;
21507 char *kwnames
[] = {
21508 (char *) "self",(char *) "duplex", NULL
21511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
21512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21513 if (SWIG_arg_fail(1)) SWIG_fail
;
21515 arg2
= static_cast<wxDuplexMode
>(SWIG_As_int(obj1
));
21516 if (SWIG_arg_fail(2)) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21520 (arg1
)->SetDuplex(arg2
);
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21532 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
= NULL
;
21534 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self",(char *) "sizeId", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21544 if (SWIG_arg_fail(1)) SWIG_fail
;
21546 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
21547 if (SWIG_arg_fail(2)) SWIG_fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 (arg1
)->SetPaperId(arg2
);
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 Py_INCREF(Py_None
); resultobj
= Py_None
;
21563 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21564 PyObject
*resultobj
= NULL
;
21565 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 PyObject
* obj1
= 0 ;
21570 char *kwnames
[] = {
21571 (char *) "self",(char *) "sz", NULL
21574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21576 if (SWIG_arg_fail(1)) SWIG_fail
;
21579 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21585 wxPyEndAllowThreads(__tstate
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21588 Py_INCREF(Py_None
); resultobj
= Py_None
;
21595 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
= NULL
;
21597 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21599 PyObject
* obj0
= 0 ;
21600 PyObject
* obj1
= 0 ;
21601 char *kwnames
[] = {
21602 (char *) "self",(char *) "quality", NULL
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21607 if (SWIG_arg_fail(1)) SWIG_fail
;
21609 arg2
= static_cast<int >(SWIG_As_int(obj1
));
21610 if (SWIG_arg_fail(2)) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 (arg1
)->SetQuality(arg2
);
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 Py_INCREF(Py_None
); resultobj
= Py_None
;
21626 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21627 PyObject
*resultobj
= NULL
;
21628 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self",(char *) "bin", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21638 if (SWIG_arg_fail(1)) SWIG_fail
;
21640 arg2
= static_cast<wxPrintBin
>(SWIG_As_int(obj1
));
21641 if (SWIG_arg_fail(2)) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 (arg1
)->SetBin(arg2
);
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 Py_INCREF(Py_None
); resultobj
= Py_None
;
21657 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
= NULL
;
21659 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21661 PyObject
* obj0
= 0 ;
21662 PyObject
* obj1
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "printMode", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21669 if (SWIG_arg_fail(1)) SWIG_fail
;
21671 arg2
= static_cast<wxPrintMode
>(SWIG_As_int(obj1
));
21672 if (SWIG_arg_fail(2)) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->SetPrintMode(arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21688 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
= NULL
;
21690 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21699 if (SWIG_arg_fail(1)) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21720 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
= NULL
;
21722 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21723 wxString
*arg2
= 0 ;
21724 bool temp2
= false ;
21725 PyObject
* obj0
= 0 ;
21726 PyObject
* obj1
= 0 ;
21727 char *kwnames
[] = {
21728 (char *) "self",(char *) "filename", NULL
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21733 if (SWIG_arg_fail(1)) SWIG_fail
;
21735 arg2
= wxString_in_helper(obj1
);
21736 if (arg2
== NULL
) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 (arg1
)->SetFilename((wxString
const &)*arg2
);
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 Py_INCREF(Py_None
); resultobj
= Py_None
;
21761 static PyObject
*_wrap_PrintData_GetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
= NULL
;
21763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrivData",kwnames
,&obj0
)) goto fail
;
21771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21772 if (SWIG_arg_fail(1)) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21775 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 resultobj
= result
;
21787 static PyObject
*_wrap_PrintData_SetPrivData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
= NULL
;
21789 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21790 PyObject
*arg2
= (PyObject
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "data", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 wxPrintData_SetPrivData(arg1
,arg2
);
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 Py_INCREF(Py_None
); resultobj
= Py_None
;
21815 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21818 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21820 return Py_BuildValue((char *)"");
21822 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21823 PyObject
*resultobj
= NULL
;
21824 wxPageSetupDialogData
*result
;
21826 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21841 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21842 PyObject
*resultobj
= NULL
;
21843 wxPageSetupDialogData
*arg1
= 0 ;
21844 wxPageSetupDialogData
*result
;
21845 PyObject
* obj0
= 0 ;
21847 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21850 if (SWIG_arg_fail(1)) SWIG_fail
;
21851 if (arg1
== NULL
) {
21852 SWIG_null_ref("wxPageSetupDialogData");
21854 if (SWIG_arg_fail(1)) SWIG_fail
;
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21860 wxPyEndAllowThreads(__tstate
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21870 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
21871 PyObject
*resultobj
= NULL
;
21872 wxPrintData
*arg1
= 0 ;
21873 wxPageSetupDialogData
*result
;
21874 PyObject
* obj0
= 0 ;
21876 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21879 if (SWIG_arg_fail(1)) SWIG_fail
;
21880 if (arg1
== NULL
) {
21881 SWIG_null_ref("wxPrintData");
21883 if (SWIG_arg_fail(1)) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21899 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21904 argc
= PyObject_Length(args
);
21905 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21906 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21909 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21915 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21923 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21930 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
21938 return _wrap_new_PageSetupDialogData__SWIG_2(self
,args
);
21942 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21947 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
= NULL
;
21949 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21957 if (SWIG_arg_fail(1)) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 Py_INCREF(Py_None
); resultobj
= Py_None
;
21972 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
= NULL
;
21974 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21976 PyObject
* obj0
= 0 ;
21977 PyObject
* obj1
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self",(char *) "flag", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21984 if (SWIG_arg_fail(1)) SWIG_fail
;
21986 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
21987 if (SWIG_arg_fail(2)) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 (arg1
)->EnableHelp(arg2
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21996 Py_INCREF(Py_None
); resultobj
= Py_None
;
22003 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22004 PyObject
*resultobj
= NULL
;
22005 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "self",(char *) "flag", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22015 if (SWIG_arg_fail(1)) SWIG_fail
;
22017 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22018 if (SWIG_arg_fail(2)) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 (arg1
)->EnableMargins(arg2
);
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22027 Py_INCREF(Py_None
); resultobj
= Py_None
;
22034 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22035 PyObject
*resultobj
= NULL
;
22036 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22038 PyObject
* obj0
= 0 ;
22039 PyObject
* obj1
= 0 ;
22040 char *kwnames
[] = {
22041 (char *) "self",(char *) "flag", NULL
22044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22046 if (SWIG_arg_fail(1)) SWIG_fail
;
22048 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22049 if (SWIG_arg_fail(2)) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 (arg1
)->EnableOrientation(arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 Py_INCREF(Py_None
); resultobj
= Py_None
;
22065 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
= NULL
;
22067 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self",(char *) "flag", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22077 if (SWIG_arg_fail(1)) SWIG_fail
;
22079 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22080 if (SWIG_arg_fail(2)) SWIG_fail
;
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 (arg1
)->EnablePaper(arg2
);
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 Py_INCREF(Py_None
); resultobj
= Py_None
;
22096 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
= NULL
;
22098 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 char *kwnames
[] = {
22103 (char *) "self",(char *) "flag", NULL
22106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22108 if (SWIG_arg_fail(1)) SWIG_fail
;
22110 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22111 if (SWIG_arg_fail(2)) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 (arg1
)->EnablePrinter(arg2
);
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 Py_INCREF(Py_None
); resultobj
= Py_None
;
22127 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
= NULL
;
22129 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "self", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22138 if (SWIG_arg_fail(1)) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 result
= (bool)(arg1
)->GetDefaultMinMargins();
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22155 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
= NULL
;
22157 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22166 if (SWIG_arg_fail(1)) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= (bool)(arg1
)->GetEnableMargins();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22183 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
= NULL
;
22185 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22187 PyObject
* obj0
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22194 if (SWIG_arg_fail(1)) SWIG_fail
;
22196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22197 result
= (bool)(arg1
)->GetEnableOrientation();
22199 wxPyEndAllowThreads(__tstate
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22211 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
= NULL
;
22213 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22215 PyObject
* obj0
= 0 ;
22216 char *kwnames
[] = {
22217 (char *) "self", NULL
22220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22222 if (SWIG_arg_fail(1)) SWIG_fail
;
22224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22225 result
= (bool)(arg1
)->GetEnablePaper();
22227 wxPyEndAllowThreads(__tstate
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22239 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
= NULL
;
22241 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22243 PyObject
* obj0
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22250 if (SWIG_arg_fail(1)) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (bool)(arg1
)->GetEnablePrinter();
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22267 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
= NULL
;
22269 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22278 if (SWIG_arg_fail(1)) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (bool)(arg1
)->GetEnableHelp();
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22295 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
= NULL
;
22297 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22306 if (SWIG_arg_fail(1)) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (bool)(arg1
)->GetDefaultInfo();
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22323 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
= NULL
;
22325 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22334 if (SWIG_arg_fail(1)) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= (arg1
)->GetMarginTopLeft();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 wxPoint
* resultptr
;
22344 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22353 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22354 PyObject
*resultobj
= NULL
;
22355 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22364 if (SWIG_arg_fail(1)) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (arg1
)->GetMarginBottomRight();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22373 wxPoint
* resultptr
;
22374 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22383 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
= NULL
;
22385 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22387 PyObject
* obj0
= 0 ;
22388 char *kwnames
[] = {
22389 (char *) "self", NULL
22392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22394 if (SWIG_arg_fail(1)) SWIG_fail
;
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 result
= (arg1
)->GetMinMarginTopLeft();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22403 wxPoint
* resultptr
;
22404 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22413 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
= NULL
;
22415 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22424 if (SWIG_arg_fail(1)) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= (arg1
)->GetMinMarginBottomRight();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 wxPoint
* resultptr
;
22434 resultptr
= new wxPoint(static_cast<wxPoint
& >(result
));
22435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22443 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
= NULL
;
22445 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22446 wxPaperSize result
;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22454 if (SWIG_arg_fail(1)) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_From_int((result
));
22469 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
= NULL
;
22471 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22480 if (SWIG_arg_fail(1)) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= (arg1
)->GetPaperSize();
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22489 wxSize
* resultptr
;
22490 resultptr
= new wxSize(static_cast<wxSize
& >(result
));
22491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22499 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
= NULL
;
22501 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22502 wxPrintData
*result
;
22503 PyObject
* obj0
= 0 ;
22504 char *kwnames
[] = {
22505 (char *) "self", NULL
22508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22510 if (SWIG_arg_fail(1)) SWIG_fail
;
22512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22514 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22515 result
= (wxPrintData
*) &_result_ref
;
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22528 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
= NULL
;
22530 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22532 PyObject
* obj0
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22539 if (SWIG_arg_fail(1)) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (bool)(arg1
)->Ok();
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22556 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
= NULL
;
22558 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22560 PyObject
* obj0
= 0 ;
22561 PyObject
* obj1
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self",(char *) "flag", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22568 if (SWIG_arg_fail(1)) SWIG_fail
;
22570 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22571 if (SWIG_arg_fail(2)) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 (arg1
)->SetDefaultInfo(arg2
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 Py_INCREF(Py_None
); resultobj
= Py_None
;
22587 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
= NULL
;
22589 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "flag", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22599 if (SWIG_arg_fail(1)) SWIG_fail
;
22601 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
22602 if (SWIG_arg_fail(2)) SWIG_fail
;
22605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22606 (arg1
)->SetDefaultMinMargins(arg2
);
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 Py_INCREF(Py_None
); resultobj
= Py_None
;
22618 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22619 PyObject
*resultobj
= NULL
;
22620 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22621 wxPoint
*arg2
= 0 ;
22623 PyObject
* obj0
= 0 ;
22624 PyObject
* obj1
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self",(char *) "pt", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22631 if (SWIG_arg_fail(1)) SWIG_fail
;
22634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 Py_INCREF(Py_None
); resultobj
= Py_None
;
22650 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
= NULL
;
22652 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22653 wxPoint
*arg2
= 0 ;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "pt", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22666 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22682 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
= NULL
;
22684 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22685 wxPoint
*arg2
= 0 ;
22687 PyObject
* obj0
= 0 ;
22688 PyObject
* obj1
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self",(char *) "pt", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22695 if (SWIG_arg_fail(1)) SWIG_fail
;
22698 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 Py_INCREF(Py_None
); resultobj
= Py_None
;
22714 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22715 PyObject
*resultobj
= NULL
;
22716 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22717 wxPoint
*arg2
= 0 ;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 char *kwnames
[] = {
22722 (char *) "self",(char *) "pt", NULL
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22727 if (SWIG_arg_fail(1)) SWIG_fail
;
22730 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 Py_INCREF(Py_None
); resultobj
= Py_None
;
22746 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
= NULL
;
22748 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22750 PyObject
* obj0
= 0 ;
22751 PyObject
* obj1
= 0 ;
22752 char *kwnames
[] = {
22753 (char *) "self",(char *) "id", NULL
22756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22758 if (SWIG_arg_fail(1)) SWIG_fail
;
22760 arg2
= static_cast<wxPaperSize
>(SWIG_As_int(obj1
));
22761 if (SWIG_arg_fail(2)) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 (arg1
)->SetPaperId(arg2
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 Py_INCREF(Py_None
); resultobj
= Py_None
;
22777 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
= NULL
;
22779 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self",(char *) "size", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22790 if (SWIG_arg_fail(1)) SWIG_fail
;
22793 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 Py_INCREF(Py_None
); resultobj
= Py_None
;
22809 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
= NULL
;
22811 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22812 wxPrintData
*arg2
= 0 ;
22813 PyObject
* obj0
= 0 ;
22814 PyObject
* obj1
= 0 ;
22815 char *kwnames
[] = {
22816 (char *) "self",(char *) "printData", NULL
22819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22821 if (SWIG_arg_fail(1)) SWIG_fail
;
22823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22824 if (SWIG_arg_fail(2)) SWIG_fail
;
22825 if (arg2
== NULL
) {
22826 SWIG_null_ref("wxPrintData");
22828 if (SWIG_arg_fail(2)) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 Py_INCREF(Py_None
); resultobj
= Py_None
;
22844 static PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
= NULL
;
22846 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculateIdFromPaperSize",kwnames
,&obj0
)) goto fail
;
22853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22854 if (SWIG_arg_fail(1)) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 (arg1
)->CalculateIdFromPaperSize();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 Py_INCREF(Py_None
); resultobj
= Py_None
;
22869 static PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
= NULL
;
22871 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_CalculatePaperSizeFromId",kwnames
,&obj0
)) goto fail
;
22878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22879 if (SWIG_arg_fail(1)) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 (arg1
)->CalculatePaperSizeFromId();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 Py_INCREF(Py_None
); resultobj
= Py_None
;
22894 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22897 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22899 return Py_BuildValue((char *)"");
22901 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22902 PyObject
*resultobj
= NULL
;
22903 wxWindow
*arg1
= (wxWindow
*) 0 ;
22904 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22905 wxPageSetupDialog
*result
;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char *kwnames
[] = {
22909 (char *) "parent",(char *) "data", NULL
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22914 if (SWIG_arg_fail(1)) SWIG_fail
;
22916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22917 if (SWIG_arg_fail(2)) SWIG_fail
;
22920 if (!wxPyCheckForApp()) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22934 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22935 PyObject
*resultobj
= NULL
;
22936 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22937 wxPageSetupDialogData
*result
;
22938 PyObject
* obj0
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22945 if (SWIG_arg_fail(1)) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22950 result
= (wxPageSetupDialogData
*) &_result_ref
;
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22963 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
= NULL
;
22965 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22966 wxPageSetupDialogData
*result
;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22974 if (SWIG_arg_fail(1)) SWIG_fail
;
22976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22979 result
= (wxPageSetupDialogData
*) &_result_ref
;
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22992 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
= NULL
;
22994 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22996 PyObject
* obj0
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
23002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
23003 if (SWIG_arg_fail(1)) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (int)(arg1
)->ShowModal();
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= SWIG_From_int(static_cast<int >(result
));
23020 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
23022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23023 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
23025 return Py_BuildValue((char *)"");
23027 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
23028 PyObject
*resultobj
= NULL
;
23029 wxPrintDialogData
*result
;
23031 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 result
= (wxPrintDialogData
*)new wxPrintDialogData();
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23046 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
23047 PyObject
*resultobj
= NULL
;
23048 wxPrintData
*arg1
= 0 ;
23049 wxPrintDialogData
*result
;
23050 PyObject
* obj0
= 0 ;
23052 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23055 if (SWIG_arg_fail(1)) SWIG_fail
;
23056 if (arg1
== NULL
) {
23057 SWIG_null_ref("wxPrintData");
23059 if (SWIG_arg_fail(1)) SWIG_fail
;
23062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23063 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
23065 wxPyEndAllowThreads(__tstate
);
23066 if (PyErr_Occurred()) SWIG_fail
;
23068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23075 static PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*, PyObject
*args
) {
23076 PyObject
*resultobj
= NULL
;
23077 wxPrintDialogData
*arg1
= 0 ;
23078 wxPrintDialogData
*result
;
23079 PyObject
* obj0
= 0 ;
23081 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
23083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23084 if (SWIG_arg_fail(1)) SWIG_fail
;
23085 if (arg1
== NULL
) {
23086 SWIG_null_ref("wxPrintDialogData");
23088 if (SWIG_arg_fail(1)) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23104 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23109 argc
= PyObject_Length(args
);
23110 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23111 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23114 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23120 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23128 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23135 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23143 return _wrap_new_PrintDialogData__SWIG_2(self
,args
);
23147 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23152 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
= NULL
;
23154 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "self", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23162 if (SWIG_arg_fail(1)) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23170 Py_INCREF(Py_None
); resultobj
= Py_None
;
23177 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23178 PyObject
*resultobj
= NULL
;
23179 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23181 PyObject
* obj0
= 0 ;
23182 char *kwnames
[] = {
23183 (char *) "self", NULL
23186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23188 if (SWIG_arg_fail(1)) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= SWIG_From_int(static_cast<int >(result
));
23205 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
= NULL
;
23207 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23209 PyObject
* obj0
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23216 if (SWIG_arg_fail(1)) SWIG_fail
;
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= SWIG_From_int(static_cast<int >(result
));
23233 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
= NULL
;
23235 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23237 PyObject
* obj0
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23244 if (SWIG_arg_fail(1)) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_From_int(static_cast<int >(result
));
23261 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
= NULL
;
23263 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23265 PyObject
* obj0
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23272 if (SWIG_arg_fail(1)) SWIG_fail
;
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_From_int(static_cast<int >(result
));
23289 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
= NULL
;
23291 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23293 PyObject
* obj0
= 0 ;
23294 char *kwnames
[] = {
23295 (char *) "self", NULL
23298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23300 if (SWIG_arg_fail(1)) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= SWIG_From_int(static_cast<int >(result
));
23317 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23318 PyObject
*resultobj
= NULL
;
23319 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23321 PyObject
* obj0
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23328 if (SWIG_arg_fail(1)) SWIG_fail
;
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23345 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= NULL
;
23347 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23356 if (SWIG_arg_fail(1)) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23373 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
= NULL
;
23375 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23384 if (SWIG_arg_fail(1)) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23401 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= NULL
;
23403 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23405 PyObject
* obj0
= 0 ;
23406 char *kwnames
[] = {
23407 (char *) "self", NULL
23410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23412 if (SWIG_arg_fail(1)) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23429 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
= NULL
;
23431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self",(char *) "v", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23441 if (SWIG_arg_fail(1)) SWIG_fail
;
23443 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23444 if (SWIG_arg_fail(2)) SWIG_fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 (arg1
)->SetFromPage(arg2
);
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 Py_INCREF(Py_None
); resultobj
= Py_None
;
23460 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
= NULL
;
23462 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self",(char *) "v", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23472 if (SWIG_arg_fail(1)) SWIG_fail
;
23474 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23475 if (SWIG_arg_fail(2)) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 (arg1
)->SetToPage(arg2
);
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23484 Py_INCREF(Py_None
); resultobj
= Py_None
;
23491 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
= NULL
;
23493 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self",(char *) "v", NULL
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23503 if (SWIG_arg_fail(1)) SWIG_fail
;
23505 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23506 if (SWIG_arg_fail(2)) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 (arg1
)->SetMinPage(arg2
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 Py_INCREF(Py_None
); resultobj
= Py_None
;
23522 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
= NULL
;
23524 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 PyObject
* obj1
= 0 ;
23528 char *kwnames
[] = {
23529 (char *) "self",(char *) "v", NULL
23532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23534 if (SWIG_arg_fail(1)) SWIG_fail
;
23536 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23537 if (SWIG_arg_fail(2)) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 (arg1
)->SetMaxPage(arg2
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 Py_INCREF(Py_None
); resultobj
= Py_None
;
23553 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
= NULL
;
23555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "self",(char *) "v", NULL
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23565 if (SWIG_arg_fail(1)) SWIG_fail
;
23567 arg2
= static_cast<int >(SWIG_As_int(obj1
));
23568 if (SWIG_arg_fail(2)) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 (arg1
)->SetNoCopies(arg2
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 Py_INCREF(Py_None
); resultobj
= Py_None
;
23584 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23585 PyObject
*resultobj
= NULL
;
23586 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23588 PyObject
* obj0
= 0 ;
23589 PyObject
* obj1
= 0 ;
23590 char *kwnames
[] = {
23591 (char *) "self",(char *) "flag", NULL
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23596 if (SWIG_arg_fail(1)) SWIG_fail
;
23598 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23599 if (SWIG_arg_fail(2)) SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 (arg1
)->SetAllPages(arg2
);
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 Py_INCREF(Py_None
); resultobj
= Py_None
;
23615 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
= NULL
;
23617 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 char *kwnames
[] = {
23622 (char *) "self",(char *) "flag", NULL
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23627 if (SWIG_arg_fail(1)) SWIG_fail
;
23629 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23630 if (SWIG_arg_fail(2)) SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 (arg1
)->SetSelection(arg2
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 Py_INCREF(Py_None
); resultobj
= Py_None
;
23646 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
= NULL
;
23648 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23650 PyObject
* obj0
= 0 ;
23651 PyObject
* obj1
= 0 ;
23652 char *kwnames
[] = {
23653 (char *) "self",(char *) "flag", NULL
23656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23658 if (SWIG_arg_fail(1)) SWIG_fail
;
23660 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23661 if (SWIG_arg_fail(2)) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 (arg1
)->SetCollate(arg2
);
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 Py_INCREF(Py_None
); resultobj
= Py_None
;
23677 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
= NULL
;
23679 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 PyObject
* obj1
= 0 ;
23683 char *kwnames
[] = {
23684 (char *) "self",(char *) "flag", NULL
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23689 if (SWIG_arg_fail(1)) SWIG_fail
;
23691 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23692 if (SWIG_arg_fail(2)) SWIG_fail
;
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 (arg1
)->SetPrintToFile(arg2
);
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 Py_INCREF(Py_None
); resultobj
= Py_None
;
23708 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23709 PyObject
*resultobj
= NULL
;
23710 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self",(char *) "flag", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23720 if (SWIG_arg_fail(1)) SWIG_fail
;
23722 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23723 if (SWIG_arg_fail(2)) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 (arg1
)->EnablePrintToFile(arg2
);
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 Py_INCREF(Py_None
); resultobj
= Py_None
;
23739 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
= NULL
;
23741 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "flag", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23751 if (SWIG_arg_fail(1)) SWIG_fail
;
23753 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23754 if (SWIG_arg_fail(2)) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23758 (arg1
)->EnableSelection(arg2
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 Py_INCREF(Py_None
); resultobj
= Py_None
;
23770 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
= NULL
;
23772 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self",(char *) "flag", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23782 if (SWIG_arg_fail(1)) SWIG_fail
;
23784 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23785 if (SWIG_arg_fail(2)) SWIG_fail
;
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 (arg1
)->EnablePageNumbers(arg2
);
23791 wxPyEndAllowThreads(__tstate
);
23792 if (PyErr_Occurred()) SWIG_fail
;
23794 Py_INCREF(Py_None
); resultobj
= Py_None
;
23801 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23802 PyObject
*resultobj
= NULL
;
23803 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23805 PyObject
* obj0
= 0 ;
23806 PyObject
* obj1
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self",(char *) "flag", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23813 if (SWIG_arg_fail(1)) SWIG_fail
;
23815 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
23816 if (SWIG_arg_fail(2)) SWIG_fail
;
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 (arg1
)->EnableHelp(arg2
);
23822 wxPyEndAllowThreads(__tstate
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23825 Py_INCREF(Py_None
); resultobj
= Py_None
;
23832 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
= NULL
;
23834 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23843 if (SWIG_arg_fail(1)) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23860 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
= NULL
;
23862 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23871 if (SWIG_arg_fail(1)) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23888 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
= NULL
;
23890 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23916 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
= NULL
;
23918 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23920 PyObject
* obj0
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23927 if (SWIG_arg_fail(1)) SWIG_fail
;
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23944 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
= NULL
;
23946 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23948 PyObject
* obj0
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "self", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23955 if (SWIG_arg_fail(1)) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23972 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
= NULL
;
23974 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23975 wxPrintData
*result
;
23976 PyObject
* obj0
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23983 if (SWIG_arg_fail(1)) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23988 result
= (wxPrintData
*) &_result_ref
;
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24001 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
= NULL
;
24003 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
24004 wxPrintData
*arg2
= 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "printData", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
24012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24013 if (SWIG_arg_fail(1)) SWIG_fail
;
24015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
24016 if (SWIG_arg_fail(2)) SWIG_fail
;
24017 if (arg2
== NULL
) {
24018 SWIG_null_ref("wxPrintData");
24020 if (SWIG_arg_fail(2)) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 Py_INCREF(Py_None
); resultobj
= Py_None
;
24036 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
24038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24039 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
24041 return Py_BuildValue((char *)"");
24043 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
= NULL
;
24045 wxWindow
*arg1
= (wxWindow
*) 0 ;
24046 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
24047 wxPrintDialog
*result
;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "parent",(char *) "data", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24056 if (SWIG_arg_fail(1)) SWIG_fail
;
24058 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24059 if (SWIG_arg_fail(2)) SWIG_fail
;
24062 if (!wxPyCheckForApp()) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24076 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24077 PyObject
*resultobj
= NULL
;
24078 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 char *kwnames
[] = {
24082 (char *) "self", NULL
24085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24087 if (SWIG_arg_fail(1)) SWIG_fail
;
24089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24090 result
= (int)(arg1
)->ShowModal();
24092 wxPyEndAllowThreads(__tstate
);
24093 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= SWIG_From_int(static_cast<int >(result
));
24104 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
= NULL
;
24106 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24107 wxPrintDialogData
*result
;
24108 PyObject
* obj0
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24115 if (SWIG_arg_fail(1)) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24120 result
= (wxPrintDialogData
*) &_result_ref
;
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24133 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
= NULL
;
24135 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24136 wxPrintData
*result
;
24137 PyObject
* obj0
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24144 if (SWIG_arg_fail(1)) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24149 result
= (wxPrintData
*) &_result_ref
;
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24162 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
= NULL
;
24164 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24166 PyObject
* obj0
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24173 if (SWIG_arg_fail(1)) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 result
= (wxDC
*)(arg1
)->GetPrintDC();
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24182 resultobj
= wxPyMake_wxObject(result
, 1);
24190 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24193 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24195 return Py_BuildValue((char *)"");
24197 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
= NULL
;
24199 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24201 PyObject
* obj0
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "data", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24209 if (SWIG_arg_fail(1)) SWIG_fail
;
24212 if (!wxPyCheckForApp()) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 result
= (wxPrinter
*)new wxPrinter(arg1
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24226 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
= NULL
;
24228 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24229 PyObject
* obj0
= 0 ;
24230 char *kwnames
[] = {
24231 (char *) "self", NULL
24234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24236 if (SWIG_arg_fail(1)) SWIG_fail
;
24238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 wxPyEndAllowThreads(__tstate
);
24242 if (PyErr_Occurred()) SWIG_fail
;
24244 Py_INCREF(Py_None
); resultobj
= Py_None
;
24251 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
= NULL
;
24253 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24254 wxWindow
*arg2
= (wxWindow
*) 0 ;
24255 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24259 PyObject
* obj2
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self",(char *) "parent",(char *) "printout", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24266 if (SWIG_arg_fail(1)) SWIG_fail
;
24267 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24268 if (SWIG_arg_fail(2)) SWIG_fail
;
24269 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24270 if (SWIG_arg_fail(3)) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= wxPyMake_wxObject(result
, 0);
24287 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
= NULL
;
24289 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24290 wxWindow
*arg2
= (wxWindow
*) 0 ;
24291 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24292 wxString
*arg4
= 0 ;
24293 bool temp4
= false ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 PyObject
* obj2
= 0 ;
24297 PyObject
* obj3
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24304 if (SWIG_arg_fail(1)) SWIG_fail
;
24305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24306 if (SWIG_arg_fail(2)) SWIG_fail
;
24307 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24308 if (SWIG_arg_fail(3)) SWIG_fail
;
24310 arg4
= wxString_in_helper(obj3
);
24311 if (arg4
== NULL
) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 Py_INCREF(Py_None
); resultobj
= Py_None
;
24336 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
= NULL
;
24338 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24339 wxWindow
*arg2
= (wxWindow
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "parent", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24349 if (SWIG_arg_fail(1)) SWIG_fail
;
24350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24351 if (SWIG_arg_fail(2)) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (bool)(arg1
)->Setup(arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24368 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
= NULL
;
24370 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24371 wxWindow
*arg2
= (wxWindow
*) 0 ;
24372 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24373 bool arg4
= (bool) true ;
24375 PyObject
* obj0
= 0 ;
24376 PyObject
* obj1
= 0 ;
24377 PyObject
* obj2
= 0 ;
24378 PyObject
* obj3
= 0 ;
24379 char *kwnames
[] = {
24380 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24385 if (SWIG_arg_fail(1)) SWIG_fail
;
24386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24387 if (SWIG_arg_fail(2)) SWIG_fail
;
24388 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24389 if (SWIG_arg_fail(3)) SWIG_fail
;
24392 arg4
= static_cast<bool >(SWIG_As_bool(obj3
));
24393 if (SWIG_arg_fail(4)) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24412 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24413 PyObject
*resultobj
= NULL
;
24414 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24415 wxWindow
*arg2
= (wxWindow
*) 0 ;
24417 PyObject
* obj0
= 0 ;
24418 PyObject
* obj1
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self",(char *) "parent", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24425 if (SWIG_arg_fail(1)) SWIG_fail
;
24426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24427 if (SWIG_arg_fail(2)) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= wxPyMake_wxObject(result
, 0);
24444 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
= NULL
;
24446 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24447 wxPrintDialogData
*result
;
24448 PyObject
* obj0
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24455 if (SWIG_arg_fail(1)) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24460 result
= (wxPrintDialogData
*) &_result_ref
;
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24473 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24474 PyObject
*resultobj
= NULL
;
24475 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24477 PyObject
* obj0
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24484 if (SWIG_arg_fail(1)) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (bool)(arg1
)->GetAbort();
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24501 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
= NULL
;
24503 wxPrinterError result
;
24504 char *kwnames
[] = {
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (wxPrinterError
)wxPrinter::GetLastError();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_From_int((result
));
24523 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24526 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24528 return Py_BuildValue((char *)"");
24530 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
= NULL
;
24532 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24533 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24534 wxPyPrintout
*result
;
24535 bool temp1
= false ;
24536 PyObject
* obj0
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "title", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24544 arg1
= wxString_in_helper(obj0
);
24545 if (arg1
== NULL
) SWIG_fail
;
24550 if (!wxPyCheckForApp()) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= wxPyMake_wxObject(result
, 1);
24574 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
= NULL
;
24576 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24577 PyObject
*arg2
= (PyObject
*) 0 ;
24578 PyObject
*arg3
= (PyObject
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self",(char *) "self",(char *) "_class", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24588 if (SWIG_arg_fail(1)) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24598 Py_INCREF(Py_None
); resultobj
= Py_None
;
24605 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24606 PyObject
*resultobj
= NULL
;
24607 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24609 PyObject
* obj0
= 0 ;
24610 char *kwnames
[] = {
24611 (char *) "self", NULL
24614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24616 if (SWIG_arg_fail(1)) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24637 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
= NULL
;
24639 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24648 if (SWIG_arg_fail(1)) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 result
= (wxDC
*)(arg1
)->GetDC();
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24657 resultobj
= wxPyMake_wxObject(result
, 0);
24665 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24666 PyObject
*resultobj
= NULL
;
24667 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24668 wxDC
*arg2
= (wxDC
*) 0 ;
24669 PyObject
* obj0
= 0 ;
24670 PyObject
* obj1
= 0 ;
24671 char *kwnames
[] = {
24672 (char *) "self",(char *) "dc", NULL
24675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24677 if (SWIG_arg_fail(1)) SWIG_fail
;
24678 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24679 if (SWIG_arg_fail(2)) SWIG_fail
;
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 (arg1
)->SetDC(arg2
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 Py_INCREF(Py_None
); resultobj
= Py_None
;
24694 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
= NULL
;
24696 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24699 PyObject
* obj0
= 0 ;
24700 PyObject
* obj1
= 0 ;
24701 PyObject
* obj2
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "w",(char *) "h", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24708 if (SWIG_arg_fail(1)) SWIG_fail
;
24710 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24711 if (SWIG_arg_fail(2)) SWIG_fail
;
24714 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24715 if (SWIG_arg_fail(3)) SWIG_fail
;
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 Py_INCREF(Py_None
); resultobj
= Py_None
;
24731 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
= NULL
;
24733 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24734 int *arg2
= (int *) 0 ;
24735 int *arg3
= (int *) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 char *kwnames
[] = {
24742 (char *) "self", NULL
24745 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24746 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24749 if (SWIG_arg_fail(1)) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 Py_INCREF(Py_None
); resultobj
= Py_None
;
24758 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24759 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24760 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24761 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24768 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24769 PyObject
*resultobj
= NULL
;
24770 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24773 PyObject
* obj0
= 0 ;
24774 PyObject
* obj1
= 0 ;
24775 PyObject
* obj2
= 0 ;
24776 char *kwnames
[] = {
24777 (char *) "self",(char *) "w",(char *) "h", NULL
24780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24782 if (SWIG_arg_fail(1)) SWIG_fail
;
24784 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24785 if (SWIG_arg_fail(2)) SWIG_fail
;
24788 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24789 if (SWIG_arg_fail(3)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 Py_INCREF(Py_None
); resultobj
= Py_None
;
24805 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
= NULL
;
24807 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24808 int *arg2
= (int *) 0 ;
24809 int *arg3
= (int *) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self", NULL
24819 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24820 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24823 if (SWIG_arg_fail(1)) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 Py_INCREF(Py_None
); resultobj
= Py_None
;
24832 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24833 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24834 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24835 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24842 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24843 PyObject
*resultobj
= NULL
;
24844 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 PyObject
* obj2
= 0 ;
24850 char *kwnames
[] = {
24851 (char *) "self",(char *) "x",(char *) "y", NULL
24854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24856 if (SWIG_arg_fail(1)) SWIG_fail
;
24858 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24859 if (SWIG_arg_fail(2)) SWIG_fail
;
24862 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24863 if (SWIG_arg_fail(3)) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 (arg1
)->SetPPIScreen(arg2
,arg3
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 Py_INCREF(Py_None
); resultobj
= Py_None
;
24879 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
= NULL
;
24881 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24882 int *arg2
= (int *) 0 ;
24883 int *arg3
= (int *) 0 ;
24888 PyObject
* obj0
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self", NULL
24893 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24894 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24897 if (SWIG_arg_fail(1)) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 (arg1
)->GetPPIScreen(arg2
,arg3
);
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24907 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24908 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24909 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24916 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
= NULL
;
24918 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24921 PyObject
* obj0
= 0 ;
24922 PyObject
* obj1
= 0 ;
24923 PyObject
* obj2
= 0 ;
24924 char *kwnames
[] = {
24925 (char *) "self",(char *) "x",(char *) "y", NULL
24928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24930 if (SWIG_arg_fail(1)) SWIG_fail
;
24932 arg2
= static_cast<int >(SWIG_As_int(obj1
));
24933 if (SWIG_arg_fail(2)) SWIG_fail
;
24936 arg3
= static_cast<int >(SWIG_As_int(obj2
));
24937 if (SWIG_arg_fail(3)) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 Py_INCREF(Py_None
); resultobj
= Py_None
;
24953 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
= NULL
;
24955 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24956 int *arg2
= (int *) 0 ;
24957 int *arg3
= (int *) 0 ;
24962 PyObject
* obj0
= 0 ;
24963 char *kwnames
[] = {
24964 (char *) "self", NULL
24967 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24968 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24971 if (SWIG_arg_fail(1)) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 Py_INCREF(Py_None
); resultobj
= Py_None
;
24980 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24981 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24982 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24983 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24990 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24991 PyObject
*resultobj
= NULL
;
24992 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24994 PyObject
* obj0
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
25000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25001 if (SWIG_arg_fail(1)) SWIG_fail
;
25003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25004 result
= (bool)(arg1
)->IsPreview();
25006 wxPyEndAllowThreads(__tstate
);
25007 if (PyErr_Occurred()) SWIG_fail
;
25010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25018 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
= NULL
;
25020 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25022 PyObject
* obj0
= 0 ;
25023 PyObject
* obj1
= 0 ;
25024 char *kwnames
[] = {
25025 (char *) "self",(char *) "p", NULL
25028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25030 if (SWIG_arg_fail(1)) SWIG_fail
;
25032 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
25033 if (SWIG_arg_fail(2)) SWIG_fail
;
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 (arg1
)->SetIsPreview(arg2
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 Py_INCREF(Py_None
); resultobj
= Py_None
;
25049 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
= NULL
;
25051 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 PyObject
* obj2
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25064 if (SWIG_arg_fail(1)) SWIG_fail
;
25066 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25067 if (SWIG_arg_fail(2)) SWIG_fail
;
25070 arg3
= static_cast<int >(SWIG_As_int(obj2
));
25071 if (SWIG_arg_fail(3)) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25089 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
= NULL
;
25091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25092 PyObject
* obj0
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25099 if (SWIG_arg_fail(1)) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->base_OnEndDocument();
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
= NULL
;
25116 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "self", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25124 if (SWIG_arg_fail(1)) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 (arg1
)->base_OnBeginPrinting();
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25132 Py_INCREF(Py_None
); resultobj
= Py_None
;
25139 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25140 PyObject
*resultobj
= NULL
;
25141 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25142 PyObject
* obj0
= 0 ;
25143 char *kwnames
[] = {
25144 (char *) "self", NULL
25147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25149 if (SWIG_arg_fail(1)) SWIG_fail
;
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 (arg1
)->base_OnEndPrinting();
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 Py_INCREF(Py_None
); resultobj
= Py_None
;
25164 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
= NULL
;
25166 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25167 PyObject
* obj0
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25174 if (SWIG_arg_fail(1)) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 (arg1
)->base_OnPreparePrinting();
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 Py_INCREF(Py_None
); resultobj
= Py_None
;
25189 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
= NULL
;
25191 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25194 PyObject
* obj0
= 0 ;
25195 PyObject
* obj1
= 0 ;
25196 char *kwnames
[] = {
25197 (char *) "self",(char *) "page", NULL
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25202 if (SWIG_arg_fail(1)) SWIG_fail
;
25204 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25205 if (SWIG_arg_fail(2)) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= (bool)(arg1
)->base_HasPage(arg2
);
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25223 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
= NULL
;
25225 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25226 int *arg2
= (int *) 0 ;
25227 int *arg3
= (int *) 0 ;
25228 int *arg4
= (int *) 0 ;
25229 int *arg5
= (int *) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self", NULL
25243 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25244 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25245 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25246 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25249 if (SWIG_arg_fail(1)) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 Py_INCREF(Py_None
); resultobj
= Py_None
;
25258 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25259 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25260 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25261 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25262 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25263 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25264 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25265 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25272 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25275 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25277 return Py_BuildValue((char *)"");
25279 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
= NULL
;
25281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25282 wxWindow
*arg2
= (wxWindow
*) 0 ;
25283 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25284 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25285 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25286 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25287 long arg5
= (long) 0 ;
25288 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25289 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25290 wxPreviewCanvas
*result
;
25293 bool temp6
= false ;
25294 PyObject
* obj0
= 0 ;
25295 PyObject
* obj1
= 0 ;
25296 PyObject
* obj2
= 0 ;
25297 PyObject
* obj3
= 0 ;
25298 PyObject
* obj4
= 0 ;
25299 PyObject
* obj5
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25306 if (SWIG_arg_fail(1)) SWIG_fail
;
25307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25308 if (SWIG_arg_fail(2)) SWIG_fail
;
25312 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25318 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25323 arg5
= static_cast<long >(SWIG_As_long(obj4
));
25324 if (SWIG_arg_fail(5)) SWIG_fail
;
25329 arg6
= wxString_in_helper(obj5
);
25330 if (arg6
== NULL
) SWIG_fail
;
25335 if (!wxPyCheckForApp()) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25357 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25360 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25362 return Py_BuildValue((char *)"");
25364 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
= NULL
;
25366 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25367 wxFrame
*arg2
= (wxFrame
*) 0 ;
25368 wxString
*arg3
= 0 ;
25369 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25370 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25371 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25372 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25373 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25374 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25375 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25376 wxPreviewFrame
*result
;
25377 bool temp3
= false ;
25380 bool temp7
= false ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 PyObject
* obj2
= 0 ;
25384 PyObject
* obj3
= 0 ;
25385 PyObject
* obj4
= 0 ;
25386 PyObject
* obj5
= 0 ;
25387 PyObject
* obj6
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25394 if (SWIG_arg_fail(1)) SWIG_fail
;
25395 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25396 if (SWIG_arg_fail(2)) SWIG_fail
;
25398 arg3
= wxString_in_helper(obj2
);
25399 if (arg3
== NULL
) SWIG_fail
;
25405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25416 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25417 if (SWIG_arg_fail(6)) SWIG_fail
;
25422 arg7
= wxString_in_helper(obj6
);
25423 if (arg7
== NULL
) SWIG_fail
;
25428 if (!wxPyCheckForApp()) SWIG_fail
;
25429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25430 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25432 wxPyEndAllowThreads(__tstate
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25458 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25459 PyObject
*resultobj
= NULL
;
25460 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25461 PyObject
* obj0
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25468 if (SWIG_arg_fail(1)) SWIG_fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 (arg1
)->Initialize();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 Py_INCREF(Py_None
); resultobj
= Py_None
;
25483 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
= NULL
;
25485 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25493 if (SWIG_arg_fail(1)) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 (arg1
)->CreateControlBar();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 Py_INCREF(Py_None
); resultobj
= Py_None
;
25508 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
= NULL
;
25510 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25518 if (SWIG_arg_fail(1)) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 (arg1
)->CreateCanvas();
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 Py_INCREF(Py_None
); resultobj
= Py_None
;
25533 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
= NULL
;
25535 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25536 wxPreviewControlBar
*result
;
25537 PyObject
* obj0
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25544 if (SWIG_arg_fail(1)) SWIG_fail
;
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25547 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25559 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25562 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25564 return Py_BuildValue((char *)"");
25566 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
= NULL
;
25568 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25570 wxWindow
*arg3
= (wxWindow
*) 0 ;
25571 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25572 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25573 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25574 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25575 long arg6
= (long) wxTAB_TRAVERSAL
;
25576 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25577 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25578 wxPreviewControlBar
*result
;
25581 bool temp7
= false ;
25582 PyObject
* obj0
= 0 ;
25583 PyObject
* obj1
= 0 ;
25584 PyObject
* obj2
= 0 ;
25585 PyObject
* obj3
= 0 ;
25586 PyObject
* obj4
= 0 ;
25587 PyObject
* obj5
= 0 ;
25588 PyObject
* obj6
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 arg2
= static_cast<long >(SWIG_As_long(obj1
));
25598 if (SWIG_arg_fail(2)) SWIG_fail
;
25600 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25601 if (SWIG_arg_fail(3)) SWIG_fail
;
25605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25616 arg6
= static_cast<long >(SWIG_As_long(obj5
));
25617 if (SWIG_arg_fail(6)) SWIG_fail
;
25622 arg7
= wxString_in_helper(obj6
);
25623 if (arg7
== NULL
) SWIG_fail
;
25628 if (!wxPyCheckForApp()) SWIG_fail
;
25629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25630 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25632 wxPyEndAllowThreads(__tstate
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25650 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
= NULL
;
25652 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "self", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25661 if (SWIG_arg_fail(1)) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (int)(arg1
)->GetZoomControl();
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_From_int(static_cast<int >(result
));
25678 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
= NULL
;
25680 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 char *kwnames
[] = {
25685 (char *) "self",(char *) "zoom", NULL
25688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25690 if (SWIG_arg_fail(1)) SWIG_fail
;
25692 arg2
= static_cast<int >(SWIG_As_int(obj1
));
25693 if (SWIG_arg_fail(2)) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 (arg1
)->SetZoomControl(arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 Py_INCREF(Py_None
); resultobj
= Py_None
;
25709 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
= NULL
;
25711 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25712 wxPrintPreview
*result
;
25713 PyObject
* obj0
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "self", NULL
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25720 if (SWIG_arg_fail(1)) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25735 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25736 PyObject
*resultobj
= NULL
;
25737 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25738 PyObject
* obj0
= 0 ;
25739 char *kwnames
[] = {
25740 (char *) "self", NULL
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25745 if (SWIG_arg_fail(1)) SWIG_fail
;
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 Py_INCREF(Py_None
); resultobj
= Py_None
;
25760 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25761 PyObject
*resultobj
= NULL
;
25762 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25763 PyObject
* obj0
= 0 ;
25764 char *kwnames
[] = {
25765 (char *) "self", NULL
25768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25770 if (SWIG_arg_fail(1)) SWIG_fail
;
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 (arg1
)->OnPrevious();
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25778 Py_INCREF(Py_None
); resultobj
= Py_None
;
25785 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
= NULL
;
25787 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25788 PyObject
* obj0
= 0 ;
25789 char *kwnames
[] = {
25790 (char *) "self", NULL
25793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25795 if (SWIG_arg_fail(1)) SWIG_fail
;
25797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 wxPyEndAllowThreads(__tstate
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25803 Py_INCREF(Py_None
); resultobj
= Py_None
;
25810 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
= NULL
;
25812 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self", NULL
25818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25820 if (SWIG_arg_fail(1)) SWIG_fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25828 Py_INCREF(Py_None
); resultobj
= Py_None
;
25835 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
= NULL
;
25837 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25838 PyObject
* obj0
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25845 if (SWIG_arg_fail(1)) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 Py_INCREF(Py_None
); resultobj
= Py_None
;
25860 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25863 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25865 return Py_BuildValue((char *)"");
25867 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25868 PyObject
*resultobj
= NULL
;
25869 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25870 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25871 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25872 wxPrintPreview
*result
;
25873 PyObject
* obj0
= 0 ;
25874 PyObject
* obj1
= 0 ;
25875 PyObject
* obj2
= 0 ;
25877 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25879 if (SWIG_arg_fail(1)) SWIG_fail
;
25880 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25881 if (SWIG_arg_fail(2)) SWIG_fail
;
25883 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25884 if (SWIG_arg_fail(3)) SWIG_fail
;
25887 if (!wxPyCheckForApp()) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25901 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25902 PyObject
*resultobj
= NULL
;
25903 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25904 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25905 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25906 wxPrintPreview
*result
;
25907 PyObject
* obj0
= 0 ;
25908 PyObject
* obj1
= 0 ;
25909 PyObject
* obj2
= 0 ;
25911 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25913 if (SWIG_arg_fail(1)) SWIG_fail
;
25914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25915 if (SWIG_arg_fail(2)) SWIG_fail
;
25916 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25917 if (SWIG_arg_fail(3)) SWIG_fail
;
25919 if (!wxPyCheckForApp()) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25933 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25938 argc
= PyObject_Length(args
);
25939 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25940 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25942 if ((argc
>= 2) && (argc
<= 3)) {
25946 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25956 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25965 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25969 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25977 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25986 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25996 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26006 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26014 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
26020 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
26025 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
= NULL
;
26027 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self",(char *) "pageNum", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26038 if (SWIG_arg_fail(1)) SWIG_fail
;
26040 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26041 if (SWIG_arg_fail(2)) SWIG_fail
;
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
26047 wxPyEndAllowThreads(__tstate
);
26048 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26059 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
= NULL
;
26061 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26063 PyObject
* obj0
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26070 if (SWIG_arg_fail(1)) SWIG_fail
;
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 result
= (int)(arg1
)->GetCurrentPage();
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_From_int(static_cast<int >(result
));
26087 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
= NULL
;
26089 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26090 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26091 PyObject
* obj0
= 0 ;
26092 PyObject
* obj1
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "printout", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail
;
26100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26101 if (SWIG_arg_fail(2)) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 (arg1
)->SetPrintout(arg2
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 Py_INCREF(Py_None
); resultobj
= Py_None
;
26116 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
= NULL
;
26118 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26119 wxPyPrintout
*result
;
26120 PyObject
* obj0
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26127 if (SWIG_arg_fail(1)) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= wxPyMake_wxObject(result
, 0);
26144 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26145 PyObject
*resultobj
= NULL
;
26146 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26147 wxPyPrintout
*result
;
26148 PyObject
* obj0
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= wxPyMake_wxObject(result
, 0);
26172 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
= NULL
;
26174 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26175 wxFrame
*arg2
= (wxFrame
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 char *kwnames
[] = {
26179 (char *) "self",(char *) "frame", NULL
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26184 if (SWIG_arg_fail(1)) SWIG_fail
;
26185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26186 if (SWIG_arg_fail(2)) SWIG_fail
;
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 (arg1
)->SetFrame(arg2
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 Py_INCREF(Py_None
); resultobj
= Py_None
;
26201 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
= NULL
;
26203 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26204 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 PyObject
* obj1
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self",(char *) "canvas", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail
;
26214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26215 if (SWIG_arg_fail(2)) SWIG_fail
;
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 (arg1
)->SetCanvas(arg2
);
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26223 Py_INCREF(Py_None
); resultobj
= Py_None
;
26230 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26231 PyObject
*resultobj
= NULL
;
26232 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 char *kwnames
[] = {
26236 (char *) "self", NULL
26239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26241 if (SWIG_arg_fail(1)) SWIG_fail
;
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 result
= (wxFrame
*)(arg1
)->GetFrame();
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26250 resultobj
= wxPyMake_wxObject(result
, 0);
26258 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
= NULL
;
26260 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26261 wxPreviewCanvas
*result
;
26262 PyObject
* obj0
= 0 ;
26263 char *kwnames
[] = {
26264 (char *) "self", NULL
26267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26269 if (SWIG_arg_fail(1)) SWIG_fail
;
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26284 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
= NULL
;
26286 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26287 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26290 PyObject
* obj0
= 0 ;
26291 PyObject
* obj1
= 0 ;
26292 PyObject
* obj2
= 0 ;
26293 char *kwnames
[] = {
26294 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26299 if (SWIG_arg_fail(1)) SWIG_fail
;
26300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26301 if (SWIG_arg_fail(2)) SWIG_fail
;
26303 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26304 if (SWIG_arg_fail(3)) SWIG_fail
;
26305 if (arg3
== NULL
) {
26306 SWIG_null_ref("wxDC");
26308 if (SWIG_arg_fail(3)) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26326 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
= NULL
;
26328 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26329 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26332 PyObject
* obj0
= 0 ;
26333 PyObject
* obj1
= 0 ;
26334 PyObject
* obj2
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26341 if (SWIG_arg_fail(1)) SWIG_fail
;
26342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26343 if (SWIG_arg_fail(2)) SWIG_fail
;
26345 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26346 if (SWIG_arg_fail(3)) SWIG_fail
;
26347 if (arg3
== NULL
) {
26348 SWIG_null_ref("wxDC");
26350 if (SWIG_arg_fail(3)) SWIG_fail
;
26353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26354 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26356 wxPyEndAllowThreads(__tstate
);
26357 if (PyErr_Occurred()) SWIG_fail
;
26360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26368 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
= NULL
;
26370 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "pageNum", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26381 if (SWIG_arg_fail(1)) SWIG_fail
;
26383 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26384 if (SWIG_arg_fail(2)) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= (bool)(arg1
)->RenderPage(arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26402 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
= NULL
;
26404 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26405 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self",(char *) "canvas", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26414 if (SWIG_arg_fail(1)) SWIG_fail
;
26415 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26416 if (SWIG_arg_fail(2)) SWIG_fail
;
26418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26419 (arg1
)->AdjustScrollbars(arg2
);
26421 wxPyEndAllowThreads(__tstate
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 Py_INCREF(Py_None
); resultobj
= Py_None
;
26431 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
= NULL
;
26433 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26434 wxPrintDialogData
*result
;
26435 PyObject
* obj0
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26442 if (SWIG_arg_fail(1)) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26447 result
= (wxPrintDialogData
*) &_result_ref
;
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26460 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
= NULL
;
26462 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self",(char *) "percent", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26472 if (SWIG_arg_fail(1)) SWIG_fail
;
26474 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26475 if (SWIG_arg_fail(2)) SWIG_fail
;
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 (arg1
)->SetZoom(arg2
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 Py_INCREF(Py_None
); resultobj
= Py_None
;
26491 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
= NULL
;
26493 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26502 if (SWIG_arg_fail(1)) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= (int)(arg1
)->GetZoom();
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26511 resultobj
= SWIG_From_int(static_cast<int >(result
));
26519 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
= NULL
;
26521 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26523 PyObject
* obj0
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26530 if (SWIG_arg_fail(1)) SWIG_fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= (int)(arg1
)->GetMaxPage();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= SWIG_From_int(static_cast<int >(result
));
26547 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
= NULL
;
26549 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26558 if (SWIG_arg_fail(1)) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 result
= (int)(arg1
)->GetMinPage();
26563 wxPyEndAllowThreads(__tstate
);
26564 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= SWIG_From_int(static_cast<int >(result
));
26575 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
= NULL
;
26577 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26579 PyObject
* obj0
= 0 ;
26580 char *kwnames
[] = {
26581 (char *) "self", NULL
26584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26586 if (SWIG_arg_fail(1)) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (bool)(arg1
)->Ok();
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26603 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
= NULL
;
26605 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26607 PyObject
* obj0
= 0 ;
26608 PyObject
* obj1
= 0 ;
26609 char *kwnames
[] = {
26610 (char *) "self",(char *) "ok", NULL
26613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26615 if (SWIG_arg_fail(1)) SWIG_fail
;
26617 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26618 if (SWIG_arg_fail(2)) SWIG_fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->SetOk(arg2
);
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 Py_INCREF(Py_None
); resultobj
= Py_None
;
26634 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
= NULL
;
26636 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self",(char *) "interactive", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26647 if (SWIG_arg_fail(1)) SWIG_fail
;
26649 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
26650 if (SWIG_arg_fail(2)) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= (bool)(arg1
)->Print(arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26668 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
= NULL
;
26670 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26671 PyObject
* obj0
= 0 ;
26672 char *kwnames
[] = {
26673 (char *) "self", NULL
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26678 if (SWIG_arg_fail(1)) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 (arg1
)->DetermineScaling();
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26686 Py_INCREF(Py_None
); resultobj
= Py_None
;
26693 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26696 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26698 return Py_BuildValue((char *)"");
26700 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26701 PyObject
*resultobj
= NULL
;
26702 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26703 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26704 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26705 wxPyPrintPreview
*result
;
26706 PyObject
* obj0
= 0 ;
26707 PyObject
* obj1
= 0 ;
26708 PyObject
* obj2
= 0 ;
26710 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26712 if (SWIG_arg_fail(1)) SWIG_fail
;
26713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26714 if (SWIG_arg_fail(2)) SWIG_fail
;
26716 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26717 if (SWIG_arg_fail(3)) SWIG_fail
;
26720 if (!wxPyCheckForApp()) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26734 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26735 PyObject
*resultobj
= NULL
;
26736 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26737 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26738 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26739 wxPyPrintPreview
*result
;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 PyObject
* obj2
= 0 ;
26744 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26746 if (SWIG_arg_fail(1)) SWIG_fail
;
26747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26748 if (SWIG_arg_fail(2)) SWIG_fail
;
26749 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26750 if (SWIG_arg_fail(3)) SWIG_fail
;
26752 if (!wxPyCheckForApp()) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26766 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26771 argc
= PyObject_Length(args
);
26772 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26773 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26775 if ((argc
>= 2) && (argc
<= 3)) {
26779 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26789 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26798 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26802 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26810 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26819 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26829 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26839 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26847 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26853 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26858 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26859 PyObject
*resultobj
= NULL
;
26860 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26861 PyObject
*arg2
= (PyObject
*) 0 ;
26862 PyObject
*arg3
= (PyObject
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 PyObject
* obj1
= 0 ;
26865 PyObject
* obj2
= 0 ;
26866 char *kwnames
[] = {
26867 (char *) "self",(char *) "self",(char *) "_class", NULL
26870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26872 if (SWIG_arg_fail(1)) SWIG_fail
;
26876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26877 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 Py_INCREF(Py_None
); resultobj
= Py_None
;
26889 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
= NULL
;
26891 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 char *kwnames
[] = {
26897 (char *) "self",(char *) "pageNum", NULL
26900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26902 if (SWIG_arg_fail(1)) SWIG_fail
;
26904 arg2
= static_cast<int >(SWIG_As_int(obj1
));
26905 if (SWIG_arg_fail(2)) SWIG_fail
;
26908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26911 wxPyEndAllowThreads(__tstate
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26923 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26924 PyObject
*resultobj
= NULL
;
26925 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26926 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 PyObject
* obj2
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26938 if (SWIG_arg_fail(1)) SWIG_fail
;
26939 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26940 if (SWIG_arg_fail(2)) SWIG_fail
;
26942 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26943 if (SWIG_arg_fail(3)) SWIG_fail
;
26944 if (arg3
== NULL
) {
26945 SWIG_null_ref("wxDC");
26947 if (SWIG_arg_fail(3)) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26965 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
= NULL
;
26967 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26968 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 PyObject
* obj2
= 0 ;
26974 char *kwnames
[] = {
26975 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26980 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26982 if (SWIG_arg_fail(2)) SWIG_fail
;
26984 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26985 if (SWIG_arg_fail(3)) SWIG_fail
;
26986 if (arg3
== NULL
) {
26987 SWIG_null_ref("wxDC");
26989 if (SWIG_arg_fail(3)) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27007 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
= NULL
;
27009 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 PyObject
* obj1
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self",(char *) "pageNum", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
27019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27020 if (SWIG_arg_fail(1)) SWIG_fail
;
27022 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27023 if (SWIG_arg_fail(2)) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (bool)(arg1
)->base_RenderPage(arg2
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27041 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
= NULL
;
27043 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self",(char *) "percent", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
27052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27053 if (SWIG_arg_fail(1)) SWIG_fail
;
27055 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27056 if (SWIG_arg_fail(2)) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->base_SetZoom(arg2
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 Py_INCREF(Py_None
); resultobj
= Py_None
;
27072 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
= NULL
;
27074 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 char *kwnames
[] = {
27080 (char *) "self",(char *) "interactive", NULL
27083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27085 if (SWIG_arg_fail(1)) SWIG_fail
;
27087 arg2
= static_cast<bool >(SWIG_As_bool(obj1
));
27088 if (SWIG_arg_fail(2)) SWIG_fail
;
27091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27092 result
= (bool)(arg1
)->base_Print(arg2
);
27094 wxPyEndAllowThreads(__tstate
);
27095 if (PyErr_Occurred()) SWIG_fail
;
27098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27106 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
= NULL
;
27108 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27109 PyObject
* obj0
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27116 if (SWIG_arg_fail(1)) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 (arg1
)->base_DetermineScaling();
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27124 Py_INCREF(Py_None
); resultobj
= Py_None
;
27131 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27134 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27136 return Py_BuildValue((char *)"");
27138 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
= NULL
;
27140 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27141 wxFrame
*arg2
= (wxFrame
*) 0 ;
27142 wxString
*arg3
= 0 ;
27143 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27144 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27145 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27146 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27147 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27148 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27149 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27150 wxPyPreviewFrame
*result
;
27151 bool temp3
= false ;
27154 bool temp7
= false ;
27155 PyObject
* obj0
= 0 ;
27156 PyObject
* obj1
= 0 ;
27157 PyObject
* obj2
= 0 ;
27158 PyObject
* obj3
= 0 ;
27159 PyObject
* obj4
= 0 ;
27160 PyObject
* obj5
= 0 ;
27161 PyObject
* obj6
= 0 ;
27162 char *kwnames
[] = {
27163 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27168 if (SWIG_arg_fail(1)) SWIG_fail
;
27169 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27170 if (SWIG_arg_fail(2)) SWIG_fail
;
27172 arg3
= wxString_in_helper(obj2
);
27173 if (arg3
== NULL
) SWIG_fail
;
27179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27190 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27191 if (SWIG_arg_fail(6)) SWIG_fail
;
27196 arg7
= wxString_in_helper(obj6
);
27197 if (arg7
== NULL
) SWIG_fail
;
27202 if (!wxPyCheckForApp()) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27232 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
= NULL
;
27234 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27235 PyObject
*arg2
= (PyObject
*) 0 ;
27236 PyObject
*arg3
= (PyObject
*) 0 ;
27237 PyObject
* obj0
= 0 ;
27238 PyObject
* obj1
= 0 ;
27239 PyObject
* obj2
= 0 ;
27240 char *kwnames
[] = {
27241 (char *) "self",(char *) "self",(char *) "_class", NULL
27244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27246 if (SWIG_arg_fail(1)) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 Py_INCREF(Py_None
); resultobj
= Py_None
;
27263 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
= NULL
;
27265 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27266 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 PyObject
* obj1
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self",(char *) "canvas", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27275 if (SWIG_arg_fail(1)) SWIG_fail
;
27276 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27277 if (SWIG_arg_fail(2)) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->SetPreviewCanvas(arg2
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
= NULL
;
27294 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27295 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "bar", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27304 if (SWIG_arg_fail(1)) SWIG_fail
;
27305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27306 if (SWIG_arg_fail(2)) SWIG_fail
;
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 (arg1
)->SetControlBar(arg2
);
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 Py_INCREF(Py_None
); resultobj
= Py_None
;
27321 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
= NULL
;
27323 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail
;
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 (arg1
)->base_Initialize();
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 Py_INCREF(Py_None
); resultobj
= Py_None
;
27346 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
= NULL
;
27348 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27349 PyObject
* obj0
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27356 if (SWIG_arg_fail(1)) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 (arg1
)->base_CreateCanvas();
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27364 Py_INCREF(Py_None
); resultobj
= Py_None
;
27371 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27372 PyObject
*resultobj
= NULL
;
27373 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27374 PyObject
* obj0
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27381 if (SWIG_arg_fail(1)) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 (arg1
)->base_CreateControlBar();
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 Py_INCREF(Py_None
); resultobj
= Py_None
;
27396 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27399 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27401 return Py_BuildValue((char *)"");
27403 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27404 PyObject
*resultobj
= NULL
;
27405 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27407 wxWindow
*arg3
= (wxWindow
*) 0 ;
27408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27412 long arg6
= (long) 0 ;
27413 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27415 wxPyPreviewControlBar
*result
;
27418 bool temp7
= false ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 PyObject
* obj2
= 0 ;
27422 PyObject
* obj3
= 0 ;
27423 PyObject
* obj4
= 0 ;
27424 PyObject
* obj5
= 0 ;
27425 PyObject
* obj6
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27432 if (SWIG_arg_fail(1)) SWIG_fail
;
27434 arg2
= static_cast<long >(SWIG_As_long(obj1
));
27435 if (SWIG_arg_fail(2)) SWIG_fail
;
27437 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27438 if (SWIG_arg_fail(3)) SWIG_fail
;
27442 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27448 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27453 arg6
= static_cast<long >(SWIG_As_long(obj5
));
27454 if (SWIG_arg_fail(6)) SWIG_fail
;
27459 arg7
= wxString_in_helper(obj6
);
27460 if (arg7
== NULL
) SWIG_fail
;
27465 if (!wxPyCheckForApp()) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27487 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
= NULL
;
27489 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27490 PyObject
*arg2
= (PyObject
*) 0 ;
27491 PyObject
*arg3
= (PyObject
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 PyObject
* obj1
= 0 ;
27494 PyObject
* obj2
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self",(char *) "self",(char *) "_class", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27501 if (SWIG_arg_fail(1)) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 Py_INCREF(Py_None
); resultobj
= Py_None
;
27518 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
= NULL
;
27520 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27521 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27522 PyObject
* obj0
= 0 ;
27523 PyObject
* obj1
= 0 ;
27524 char *kwnames
[] = {
27525 (char *) "self",(char *) "preview", NULL
27528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27530 if (SWIG_arg_fail(1)) SWIG_fail
;
27531 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27532 if (SWIG_arg_fail(2)) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 (arg1
)->SetPrintPreview(arg2
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27540 Py_INCREF(Py_None
); resultobj
= Py_None
;
27547 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
= NULL
;
27549 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27550 PyObject
* obj0
= 0 ;
27551 char *kwnames
[] = {
27552 (char *) "self", NULL
27555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27557 if (SWIG_arg_fail(1)) SWIG_fail
;
27559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27560 (arg1
)->base_CreateButtons();
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27565 Py_INCREF(Py_None
); resultobj
= Py_None
;
27572 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
= NULL
;
27574 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 char *kwnames
[] = {
27579 (char *) "self",(char *) "zoom", NULL
27582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27584 if (SWIG_arg_fail(1)) SWIG_fail
;
27586 arg2
= static_cast<int >(SWIG_As_int(obj1
));
27587 if (SWIG_arg_fail(2)) SWIG_fail
;
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27591 (arg1
)->base_SetZoomControl(arg2
);
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27596 Py_INCREF(Py_None
); resultobj
= Py_None
;
27603 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27606 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27608 return Py_BuildValue((char *)"");
27610 static PyMethodDef SwigMethods
[] = {
27611 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27619 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27630 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27634 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27635 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27642 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27644 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27646 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27650 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27655 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27662 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27672 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27686 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27699 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27702 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27703 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27707 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27709 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27712 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27729 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27732 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27740 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27752 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27758 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27759 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27766 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27767 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27773 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27778 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27784 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27788 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27789 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27797 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27806 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27809 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27815 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27824 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27830 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27835 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27841 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27845 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleBegin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
) _wrap_VScrolledWindow_GetVisibleEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27865 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27891 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27899 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27901 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27908 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27910 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27919 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27922 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27930 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27948 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27952 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27957 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27961 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27963 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27979 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27982 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27985 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27989 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27998 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
28007 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
28013 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
28028 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
28035 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
28039 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PyWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28066 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PyPanel_base_OnInternalIdle", (PyCFunction
) _wrap_PyPanel_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28093 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PyScrolledWindow_base_OnInternalIdle", (PyCFunction
) _wrap_PyScrolledWindow_base_OnInternalIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28120 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28121 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintData_GetPrivData", (PyCFunction
) _wrap_PrintData_GetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28150 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28151 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
) _wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28184 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28189 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28190 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28221 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28227 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28238 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28261 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28263 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28269 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28279 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28280 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28303 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28304 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28313 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28321 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28327 { NULL
, NULL
, 0, NULL
}
28331 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28333 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28334 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28336 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28337 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28339 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28340 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28342 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28343 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28345 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28346 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28348 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28349 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28351 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28352 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28354 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28355 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28357 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28358 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28360 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28361 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28363 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28364 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28366 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28367 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28369 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28370 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28372 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28373 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28375 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28376 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28378 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28381 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28382 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28384 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28385 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28387 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28388 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28390 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28391 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28393 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28394 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28396 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28397 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28399 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
28400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
28402 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28403 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28405 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28406 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28408 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28411 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28412 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28414 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28415 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28417 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28418 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28420 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28421 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28423 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28424 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28426 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28427 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28429 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28432 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28433 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28435 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28436 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28438 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28439 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28441 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28442 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28444 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28445 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28447 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28448 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28450 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28451 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28453 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28454 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28456 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28457 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28459 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28460 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28462 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28463 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28465 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28466 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28468 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28471 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28474 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28477 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28478 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28480 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28481 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28483 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28484 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28486 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28487 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28489 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28492 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28495 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28498 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28501 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28504 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28507 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28510 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28513 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28514 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28516 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28517 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28519 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28522 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28525 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28528 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28529 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28531 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28534 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28535 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28537 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28538 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28540 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28541 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28543 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28544 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28546 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28549 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28550 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28552 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28553 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28555 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28558 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28559 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28561 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28564 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28567 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28570 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28571 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28573 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28576 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28577 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28579 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28582 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28585 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28588 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28591 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28594 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28595 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28597 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28600 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28603 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28606 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28609 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28612 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28615 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28616 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28618 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28619 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28621 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28622 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28624 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28625 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28627 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28628 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28630 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28631 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28633 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28634 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28636 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28637 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28639 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28640 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28642 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28643 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28645 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28648 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28651 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28652 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28654 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28655 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28657 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28660 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28661 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28663 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28664 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28666 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28667 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28669 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28670 return (void *)((wxObject
*) ((wxSizer
*) x
));
28672 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28673 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28675 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28678 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28681 static void *_p_wxEventTo_p_wxObject(void *x
) {
28682 return (void *)((wxObject
*) ((wxEvent
*) x
));
28684 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28685 return (void *)((wxObject
*) ((wxFontData
*) x
));
28687 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28688 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28690 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28691 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28693 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28694 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28696 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28699 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28702 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28705 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28708 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28711 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28714 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28717 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28720 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28723 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28726 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28729 static void *_p_wxControlTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28732 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28735 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28738 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28741 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28744 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28747 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28750 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) ((wxColourData
*) x
));
28753 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28756 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28759 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28762 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28765 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28768 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28771 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28774 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28777 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28780 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28783 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28786 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28789 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28790 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28792 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28793 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28795 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28796 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28798 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
28799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
28801 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28802 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28804 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28807 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28808 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28810 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28811 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28813 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28814 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28816 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28817 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28819 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28820 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28822 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28823 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28825 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28826 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28828 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28829 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28831 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28832 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28834 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28837 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28838 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28840 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28841 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28843 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28844 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28846 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28847 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28849 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28852 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
28855 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28858 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28861 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28864 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28867 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28870 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28873 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28876 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
28879 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28882 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28885 static void *_p_wxImageTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) ((wxImage
*) x
));
28888 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28891 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28894 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28897 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28900 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28903 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28906 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28909 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28912 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28915 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28918 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28921 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28924 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28927 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28930 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28933 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28936 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28939 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28942 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28945 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28948 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28951 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28954 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28957 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28960 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28963 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28966 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28969 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28972 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28975 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28978 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28981 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28984 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28987 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28990 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28993 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28996 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28999 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29002 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29005 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29008 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29011 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29014 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29017 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
29020 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29023 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29026 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29029 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29032 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29035 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
29038 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
29041 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29044 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29047 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29048 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29050 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
29051 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29053 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
29054 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29056 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
29057 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29059 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29060 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29062 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29063 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29065 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29066 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29068 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29069 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29071 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29072 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29074 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29075 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29077 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29078 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29080 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29081 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29083 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29084 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29086 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29087 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29089 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29090 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29092 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29093 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29095 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29096 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29098 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29099 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29101 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29102 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29104 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29105 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29107 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29108 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29110 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29111 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29113 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29114 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29116 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29117 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29119 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29120 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29122 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29123 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29125 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29126 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29128 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29129 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29131 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29132 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29134 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29135 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29137 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29138 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29140 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29141 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29143 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29144 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29146 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29149 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29150 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29152 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29153 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29155 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29156 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29158 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29159 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29161 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29162 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29164 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29165 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29167 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29168 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29170 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29171 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29173 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29174 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29176 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29177 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29179 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29180 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29182 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29183 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29185 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29186 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29188 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29189 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29191 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29192 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29194 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29195 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29197 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29198 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29200 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29201 return (void *)((wxWindow
*) ((wxControl
*) x
));
29203 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29204 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29206 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29207 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29209 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29210 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29212 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29213 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29215 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29216 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29218 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29219 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29221 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29222 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29224 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29225 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29227 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29228 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29230 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29231 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29233 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29234 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29236 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29237 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29239 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29240 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29242 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29243 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29245 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29246 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29248 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29249 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29251 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29252 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29254 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29255 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29257 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29258 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29260 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29261 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29263 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29264 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29266 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29267 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29269 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29270 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29272 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29273 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29275 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29276 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29278 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29279 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29281 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29282 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29284 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29285 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29287 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29288 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29290 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29291 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29293 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29294 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29296 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29297 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29299 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29300 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29302 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29303 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29305 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29306 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29308 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29309 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29311 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29312 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29314 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29315 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29317 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29318 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29320 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29321 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29323 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29324 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29326 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
29327 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
29329 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29330 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29332 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29333 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29335 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29336 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29338 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29339 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29341 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29342 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29344 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29345 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29347 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29348 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29350 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29351 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29353 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29354 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29356 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, 0};
29357 static swig_type_info _swigt__p_form_ops_t
= {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0};
29358 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, 0};
29359 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0};
29360 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0};
29361 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0};
29362 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, 0};
29363 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, 0};
29364 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, 0};
29365 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, 0};
29366 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, 0};
29367 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, 0};
29368 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0};
29369 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0};
29370 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0};
29371 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0};
29372 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0};
29373 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0};
29374 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0};
29375 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0};
29376 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0};
29377 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, 0};
29378 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, 0};
29379 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, 0};
29380 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0};
29381 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, 0};
29382 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0};
29383 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0};
29384 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0};
29385 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0};
29386 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0};
29387 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0};
29388 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0};
29389 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0};
29390 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0};
29391 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0};
29392 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0};
29393 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0};
29394 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0};
29395 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0};
29396 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0};
29397 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0};
29398 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0};
29399 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0};
29400 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0};
29401 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0};
29402 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0};
29403 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0};
29404 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0};
29405 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0};
29406 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0};
29407 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0};
29408 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0};
29409 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0};
29410 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0};
29411 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0};
29412 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0};
29413 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, 0};
29414 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, 0};
29415 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, 0};
29416 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, 0};
29417 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, 0};
29418 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, 0};
29419 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, 0};
29420 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, 0};
29421 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, 0};
29422 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, 0};
29423 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, 0};
29424 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, 0};
29425 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, 0};
29426 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, 0};
29427 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, 0};
29428 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, 0};
29429 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, 0};
29430 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, 0};
29431 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, 0};
29432 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, 0};
29433 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, 0};
29434 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, 0};
29435 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0};
29436 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0};
29437 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0};
29438 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0};
29439 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0};
29440 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0};
29441 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0};
29442 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0};
29443 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0};
29444 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0};
29445 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0};
29446 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0};
29447 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0};
29448 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0};
29449 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0};
29450 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0};
29451 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0};
29452 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0};
29453 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0};
29454 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0};
29455 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0};
29456 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0};
29457 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0};
29458 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0};
29459 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0};
29460 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0};
29461 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0};
29462 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0};
29463 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, 0};
29464 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, 0};
29465 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, 0};
29466 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0};
29467 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, 0};
29468 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, 0};
29469 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, 0};
29470 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, 0};
29471 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, 0};
29472 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, 0};
29473 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, 0};
29474 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, 0};
29475 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, 0};
29476 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, 0};
29477 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, 0};
29478 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, 0};
29479 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, 0};
29480 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, 0};
29481 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, 0};
29482 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, 0};
29483 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, 0};
29484 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, 0};
29485 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, 0};
29486 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, 0};
29487 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, 0};
29488 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, 0};
29489 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, 0};
29490 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, 0};
29491 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, 0};
29492 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, 0};
29493 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, 0};
29494 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, 0};
29495 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, 0};
29496 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, 0};
29497 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, 0};
29498 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0};
29499 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, 0};
29500 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, 0};
29501 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, 0};
29502 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, 0};
29503 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, 0};
29504 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0};
29505 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, 0};
29506 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, 0};
29507 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, 0};
29508 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, 0};
29509 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, 0};
29510 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, 0};
29511 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, 0};
29512 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, 0};
29513 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, 0};
29514 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, 0};
29515 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, 0};
29516 static swig_type_info _swigt__ptrdiff_t
= {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0};
29517 static swig_type_info _swigt__std__ptrdiff_t
= {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0};
29518 static swig_type_info _swigt__unsigned_int
= {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0};
29520 static swig_type_info
*swig_type_initial
[] = {
29522 &_swigt__p_form_ops_t
,
29524 &_swigt__p_unsigned_char
,
29525 &_swigt__p_unsigned_int
,
29526 &_swigt__p_unsigned_long
,
29527 &_swigt__p_wxANIHandler
,
29528 &_swigt__p_wxAcceleratorTable
,
29529 &_swigt__p_wxActivateEvent
,
29530 &_swigt__p_wxArrayInt
,
29531 &_swigt__p_wxBMPHandler
,
29532 &_swigt__p_wxBitmap
,
29533 &_swigt__p_wxBoxSizer
,
29534 &_swigt__p_wxCURHandler
,
29535 &_swigt__p_wxCalculateLayoutEvent
,
29536 &_swigt__p_wxChildFocusEvent
,
29537 &_swigt__p_wxCloseEvent
,
29538 &_swigt__p_wxColour
,
29539 &_swigt__p_wxColourData
,
29540 &_swigt__p_wxColourDialog
,
29541 &_swigt__p_wxCommandEvent
,
29542 &_swigt__p_wxContextMenuEvent
,
29543 &_swigt__p_wxControl
,
29544 &_swigt__p_wxControlWithItems
,
29546 &_swigt__p_wxDateEvent
,
29547 &_swigt__p_wxDialog
,
29548 &_swigt__p_wxDirDialog
,
29549 &_swigt__p_wxDisplayChangedEvent
,
29550 &_swigt__p_wxDropFilesEvent
,
29551 &_swigt__p_wxDuplexMode
,
29552 &_swigt__p_wxEraseEvent
,
29553 &_swigt__p_wxEvent
,
29554 &_swigt__p_wxEvtHandler
,
29555 &_swigt__p_wxFSFile
,
29556 &_swigt__p_wxFileDialog
,
29557 &_swigt__p_wxFileSystem
,
29558 &_swigt__p_wxFindDialogEvent
,
29559 &_swigt__p_wxFindReplaceData
,
29560 &_swigt__p_wxFindReplaceDialog
,
29561 &_swigt__p_wxFlexGridSizer
,
29562 &_swigt__p_wxFocusEvent
,
29564 &_swigt__p_wxFontData
,
29565 &_swigt__p_wxFontDialog
,
29566 &_swigt__p_wxFrame
,
29567 &_swigt__p_wxGBSizerItem
,
29568 &_swigt__p_wxGIFHandler
,
29569 &_swigt__p_wxGridBagSizer
,
29570 &_swigt__p_wxGridSizer
,
29571 &_swigt__p_wxICOHandler
,
29573 &_swigt__p_wxIconBundle
,
29574 &_swigt__p_wxIconizeEvent
,
29575 &_swigt__p_wxIdleEvent
,
29576 &_swigt__p_wxImage
,
29577 &_swigt__p_wxImageHandler
,
29578 &_swigt__p_wxIndividualLayoutConstraint
,
29579 &_swigt__p_wxInitDialogEvent
,
29580 &_swigt__p_wxJPEGHandler
,
29581 &_swigt__p_wxKeyEvent
,
29582 &_swigt__p_wxLayoutAlgorithm
,
29583 &_swigt__p_wxLayoutConstraints
,
29584 &_swigt__p_wxMDIChildFrame
,
29585 &_swigt__p_wxMDIClientWindow
,
29586 &_swigt__p_wxMDIParentFrame
,
29587 &_swigt__p_wxMaximizeEvent
,
29589 &_swigt__p_wxMenuBar
,
29590 &_swigt__p_wxMenuEvent
,
29591 &_swigt__p_wxMenuItem
,
29592 &_swigt__p_wxMessageDialog
,
29593 &_swigt__p_wxMiniFrame
,
29594 &_swigt__p_wxMouseCaptureChangedEvent
,
29595 &_swigt__p_wxMouseEvent
,
29596 &_swigt__p_wxMoveEvent
,
29597 &_swigt__p_wxMultiChoiceDialog
,
29598 &_swigt__p_wxNavigationKeyEvent
,
29599 &_swigt__p_wxNcPaintEvent
,
29600 &_swigt__p_wxNotifyEvent
,
29601 &_swigt__p_wxObject
,
29602 &_swigt__p_wxPCXHandler
,
29603 &_swigt__p_wxPNGHandler
,
29604 &_swigt__p_wxPNMHandler
,
29605 &_swigt__p_wxPageSetupDialog
,
29606 &_swigt__p_wxPageSetupDialogData
,
29607 &_swigt__p_wxPaintEvent
,
29608 &_swigt__p_wxPaletteChangedEvent
,
29609 &_swigt__p_wxPanel
,
29610 &_swigt__p_wxPaperSize
,
29611 &_swigt__p_wxPasswordEntryDialog
,
29612 &_swigt__p_wxPoint
,
29613 &_swigt__p_wxPopupWindow
,
29614 &_swigt__p_wxPreviewCanvas
,
29615 &_swigt__p_wxPreviewControlBar
,
29616 &_swigt__p_wxPreviewFrame
,
29617 &_swigt__p_wxPrintData
,
29618 &_swigt__p_wxPrintDialog
,
29619 &_swigt__p_wxPrintDialogData
,
29620 &_swigt__p_wxPrintPreview
,
29621 &_swigt__p_wxPrinter
,
29622 &_swigt__p_wxProgressDialog
,
29623 &_swigt__p_wxPyApp
,
29624 &_swigt__p_wxPyCommandEvent
,
29625 &_swigt__p_wxPyEvent
,
29626 &_swigt__p_wxPyHtmlListBox
,
29627 &_swigt__p_wxPyImageHandler
,
29628 &_swigt__p_wxPyPanel
,
29629 &_swigt__p_wxPyPopupTransientWindow
,
29630 &_swigt__p_wxPyPreviewControlBar
,
29631 &_swigt__p_wxPyPreviewFrame
,
29632 &_swigt__p_wxPyPrintPreview
,
29633 &_swigt__p_wxPyPrintout
,
29634 &_swigt__p_wxPyScrolledWindow
,
29635 &_swigt__p_wxPySizer
,
29636 &_swigt__p_wxPyTaskBarIcon
,
29637 &_swigt__p_wxPyVListBox
,
29638 &_swigt__p_wxPyVScrolledWindow
,
29639 &_swigt__p_wxPyValidator
,
29640 &_swigt__p_wxPyWindow
,
29641 &_swigt__p_wxQueryLayoutInfoEvent
,
29642 &_swigt__p_wxQueryNewPaletteEvent
,
29644 &_swigt__p_wxRegion
,
29645 &_swigt__p_wxSashEvent
,
29646 &_swigt__p_wxSashLayoutWindow
,
29647 &_swigt__p_wxSashWindow
,
29648 &_swigt__p_wxScrollEvent
,
29649 &_swigt__p_wxScrollWinEvent
,
29650 &_swigt__p_wxScrolledWindow
,
29651 &_swigt__p_wxSetCursorEvent
,
29652 &_swigt__p_wxShowEvent
,
29653 &_swigt__p_wxSingleChoiceDialog
,
29655 &_swigt__p_wxSizeEvent
,
29656 &_swigt__p_wxSizer
,
29657 &_swigt__p_wxSizerItem
,
29658 &_swigt__p_wxSplashScreen
,
29659 &_swigt__p_wxSplashScreenWindow
,
29660 &_swigt__p_wxSplitterEvent
,
29661 &_swigt__p_wxSplitterWindow
,
29662 &_swigt__p_wxStaticBoxSizer
,
29663 &_swigt__p_wxStatusBar
,
29664 &_swigt__p_wxStdDialogButtonSizer
,
29665 &_swigt__p_wxString
,
29666 &_swigt__p_wxSysColourChangedEvent
,
29667 &_swigt__p_wxTIFFHandler
,
29668 &_swigt__p_wxTaskBarIcon
,
29669 &_swigt__p_wxTaskBarIconEvent
,
29670 &_swigt__p_wxTextEntryDialog
,
29671 &_swigt__p_wxTipWindow
,
29672 &_swigt__p_wxToolBar
,
29673 &_swigt__p_wxTopLevelWindow
,
29674 &_swigt__p_wxUpdateUIEvent
,
29675 &_swigt__p_wxValidator
,
29676 &_swigt__p_wxVisualAttributes
,
29677 &_swigt__p_wxWindow
,
29678 &_swigt__p_wxWindowCreateEvent
,
29679 &_swigt__p_wxWindowDestroyEvent
,
29680 &_swigt__p_wxXPMHandler
,
29681 &_swigt__ptrdiff_t
,
29682 &_swigt__std__ptrdiff_t
,
29683 &_swigt__unsigned_int
,
29686 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
29687 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
29688 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
29689 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
29690 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29691 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
29692 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
29693 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
29694 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
29695 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
29696 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
29697 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
29698 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29699 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
29700 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29701 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29702 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
29703 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29704 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29705 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
29706 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}};
29707 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
29708 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}};
29709 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
29710 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
29711 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
29712 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29713 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29714 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
29715 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
29716 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29717 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29718 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
29719 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
29720 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29721 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29722 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
29723 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
29724 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
29725 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29726 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
29727 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29728 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29729 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29730 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
29731 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
29732 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
29733 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
29734 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29735 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
29736 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}};
29737 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
29738 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
29739 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
29740 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
29741 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
29742 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}};
29743 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
29744 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
29745 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
29746 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
29747 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29748 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
29749 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
29750 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
29751 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}};
29752 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
29753 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
29754 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
29755 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
29756 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
29757 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
29758 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
29759 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
29760 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
29761 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
29762 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29763 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}};
29764 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
29765 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29766 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
29767 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
29768 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29769 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29770 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
29771 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
29772 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29773 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
29774 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
29775 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
29776 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
29777 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29778 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
29779 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
29780 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
29781 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
29782 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
29783 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29784 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29785 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
29786 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
29787 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29788 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
29789 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
29790 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
29791 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
29792 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}};
29793 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
29794 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29795 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}};
29796 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
29797 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
29798 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
29799 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}};
29800 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
29801 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}};
29802 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}};
29803 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
29804 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
29805 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
29806 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}};
29807 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
29808 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
29809 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
29810 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
29811 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}};
29812 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
29813 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
29814 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
29815 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
29816 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
29817 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29818 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}};
29819 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}};
29820 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
29821 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
29822 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
29823 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
29824 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
29825 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
29826 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}};
29827 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
29828 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}};
29829 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
29830 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
29831 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
29832 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
29833 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
29834 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
29835 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
29836 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
29837 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
29838 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
29839 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
29840 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}};
29841 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
29842 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
29843 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}};
29844 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
29845 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}};
29846 static swig_cast_info _swigc__ptrdiff_t
[] = { {&_swigt__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29847 static swig_cast_info _swigc__std__ptrdiff_t
[] = { {&_swigt__std__ptrdiff_t
, 0, 0, 0},{0, 0, 0, 0}};
29848 static swig_cast_info _swigc__unsigned_int
[] = { {&_swigt__unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
29850 static swig_cast_info
*swig_cast_initial
[] = {
29852 _swigc__p_form_ops_t
,
29854 _swigc__p_unsigned_char
,
29855 _swigc__p_unsigned_int
,
29856 _swigc__p_unsigned_long
,
29857 _swigc__p_wxANIHandler
,
29858 _swigc__p_wxAcceleratorTable
,
29859 _swigc__p_wxActivateEvent
,
29860 _swigc__p_wxArrayInt
,
29861 _swigc__p_wxBMPHandler
,
29862 _swigc__p_wxBitmap
,
29863 _swigc__p_wxBoxSizer
,
29864 _swigc__p_wxCURHandler
,
29865 _swigc__p_wxCalculateLayoutEvent
,
29866 _swigc__p_wxChildFocusEvent
,
29867 _swigc__p_wxCloseEvent
,
29868 _swigc__p_wxColour
,
29869 _swigc__p_wxColourData
,
29870 _swigc__p_wxColourDialog
,
29871 _swigc__p_wxCommandEvent
,
29872 _swigc__p_wxContextMenuEvent
,
29873 _swigc__p_wxControl
,
29874 _swigc__p_wxControlWithItems
,
29876 _swigc__p_wxDateEvent
,
29877 _swigc__p_wxDialog
,
29878 _swigc__p_wxDirDialog
,
29879 _swigc__p_wxDisplayChangedEvent
,
29880 _swigc__p_wxDropFilesEvent
,
29881 _swigc__p_wxDuplexMode
,
29882 _swigc__p_wxEraseEvent
,
29884 _swigc__p_wxEvtHandler
,
29885 _swigc__p_wxFSFile
,
29886 _swigc__p_wxFileDialog
,
29887 _swigc__p_wxFileSystem
,
29888 _swigc__p_wxFindDialogEvent
,
29889 _swigc__p_wxFindReplaceData
,
29890 _swigc__p_wxFindReplaceDialog
,
29891 _swigc__p_wxFlexGridSizer
,
29892 _swigc__p_wxFocusEvent
,
29894 _swigc__p_wxFontData
,
29895 _swigc__p_wxFontDialog
,
29897 _swigc__p_wxGBSizerItem
,
29898 _swigc__p_wxGIFHandler
,
29899 _swigc__p_wxGridBagSizer
,
29900 _swigc__p_wxGridSizer
,
29901 _swigc__p_wxICOHandler
,
29903 _swigc__p_wxIconBundle
,
29904 _swigc__p_wxIconizeEvent
,
29905 _swigc__p_wxIdleEvent
,
29907 _swigc__p_wxImageHandler
,
29908 _swigc__p_wxIndividualLayoutConstraint
,
29909 _swigc__p_wxInitDialogEvent
,
29910 _swigc__p_wxJPEGHandler
,
29911 _swigc__p_wxKeyEvent
,
29912 _swigc__p_wxLayoutAlgorithm
,
29913 _swigc__p_wxLayoutConstraints
,
29914 _swigc__p_wxMDIChildFrame
,
29915 _swigc__p_wxMDIClientWindow
,
29916 _swigc__p_wxMDIParentFrame
,
29917 _swigc__p_wxMaximizeEvent
,
29919 _swigc__p_wxMenuBar
,
29920 _swigc__p_wxMenuEvent
,
29921 _swigc__p_wxMenuItem
,
29922 _swigc__p_wxMessageDialog
,
29923 _swigc__p_wxMiniFrame
,
29924 _swigc__p_wxMouseCaptureChangedEvent
,
29925 _swigc__p_wxMouseEvent
,
29926 _swigc__p_wxMoveEvent
,
29927 _swigc__p_wxMultiChoiceDialog
,
29928 _swigc__p_wxNavigationKeyEvent
,
29929 _swigc__p_wxNcPaintEvent
,
29930 _swigc__p_wxNotifyEvent
,
29931 _swigc__p_wxObject
,
29932 _swigc__p_wxPCXHandler
,
29933 _swigc__p_wxPNGHandler
,
29934 _swigc__p_wxPNMHandler
,
29935 _swigc__p_wxPageSetupDialog
,
29936 _swigc__p_wxPageSetupDialogData
,
29937 _swigc__p_wxPaintEvent
,
29938 _swigc__p_wxPaletteChangedEvent
,
29940 _swigc__p_wxPaperSize
,
29941 _swigc__p_wxPasswordEntryDialog
,
29943 _swigc__p_wxPopupWindow
,
29944 _swigc__p_wxPreviewCanvas
,
29945 _swigc__p_wxPreviewControlBar
,
29946 _swigc__p_wxPreviewFrame
,
29947 _swigc__p_wxPrintData
,
29948 _swigc__p_wxPrintDialog
,
29949 _swigc__p_wxPrintDialogData
,
29950 _swigc__p_wxPrintPreview
,
29951 _swigc__p_wxPrinter
,
29952 _swigc__p_wxProgressDialog
,
29954 _swigc__p_wxPyCommandEvent
,
29955 _swigc__p_wxPyEvent
,
29956 _swigc__p_wxPyHtmlListBox
,
29957 _swigc__p_wxPyImageHandler
,
29958 _swigc__p_wxPyPanel
,
29959 _swigc__p_wxPyPopupTransientWindow
,
29960 _swigc__p_wxPyPreviewControlBar
,
29961 _swigc__p_wxPyPreviewFrame
,
29962 _swigc__p_wxPyPrintPreview
,
29963 _swigc__p_wxPyPrintout
,
29964 _swigc__p_wxPyScrolledWindow
,
29965 _swigc__p_wxPySizer
,
29966 _swigc__p_wxPyTaskBarIcon
,
29967 _swigc__p_wxPyVListBox
,
29968 _swigc__p_wxPyVScrolledWindow
,
29969 _swigc__p_wxPyValidator
,
29970 _swigc__p_wxPyWindow
,
29971 _swigc__p_wxQueryLayoutInfoEvent
,
29972 _swigc__p_wxQueryNewPaletteEvent
,
29974 _swigc__p_wxRegion
,
29975 _swigc__p_wxSashEvent
,
29976 _swigc__p_wxSashLayoutWindow
,
29977 _swigc__p_wxSashWindow
,
29978 _swigc__p_wxScrollEvent
,
29979 _swigc__p_wxScrollWinEvent
,
29980 _swigc__p_wxScrolledWindow
,
29981 _swigc__p_wxSetCursorEvent
,
29982 _swigc__p_wxShowEvent
,
29983 _swigc__p_wxSingleChoiceDialog
,
29985 _swigc__p_wxSizeEvent
,
29987 _swigc__p_wxSizerItem
,
29988 _swigc__p_wxSplashScreen
,
29989 _swigc__p_wxSplashScreenWindow
,
29990 _swigc__p_wxSplitterEvent
,
29991 _swigc__p_wxSplitterWindow
,
29992 _swigc__p_wxStaticBoxSizer
,
29993 _swigc__p_wxStatusBar
,
29994 _swigc__p_wxStdDialogButtonSizer
,
29995 _swigc__p_wxString
,
29996 _swigc__p_wxSysColourChangedEvent
,
29997 _swigc__p_wxTIFFHandler
,
29998 _swigc__p_wxTaskBarIcon
,
29999 _swigc__p_wxTaskBarIconEvent
,
30000 _swigc__p_wxTextEntryDialog
,
30001 _swigc__p_wxTipWindow
,
30002 _swigc__p_wxToolBar
,
30003 _swigc__p_wxTopLevelWindow
,
30004 _swigc__p_wxUpdateUIEvent
,
30005 _swigc__p_wxValidator
,
30006 _swigc__p_wxVisualAttributes
,
30007 _swigc__p_wxWindow
,
30008 _swigc__p_wxWindowCreateEvent
,
30009 _swigc__p_wxWindowDestroyEvent
,
30010 _swigc__p_wxXPMHandler
,
30012 _swigc__std__ptrdiff_t
,
30013 _swigc__unsigned_int
,
30017 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30019 static swig_const_info swig_const_table
[] = {
30020 {0, 0, 0, 0.0, 0, 0}};
30025 /*************************************************************************
30026 * Type initialization:
30027 * This problem is tough by the requirement that no dynamic
30028 * memory is used. Also, since swig_type_info structures store pointers to
30029 * swig_cast_info structures and swig_cast_info structures store pointers back
30030 * to swig_type_info structures, we need some lookup code at initialization.
30031 * The idea is that swig generates all the structures that are needed.
30032 * The runtime then collects these partially filled structures.
30033 * The SWIG_InitializeModule function takes these initial arrays out of
30034 * swig_module, and does all the lookup, filling in the swig_module.types
30035 * array with the correct data and linking the correct swig_cast_info
30036 * structures together.
30038 * The generated swig_type_info structures are assigned staticly to an initial
30039 * array. We just loop though that array, and handle each type individually.
30040 * First we lookup if this type has been already loaded, and if so, use the
30041 * loaded structure instead of the generated one. Then we have to fill in the
30042 * cast linked list. The cast data is initially stored in something like a
30043 * two-dimensional array. Each row corresponds to a type (there are the same
30044 * number of rows as there are in the swig_type_initial array). Each entry in
30045 * a column is one of the swig_cast_info structures for that type.
30046 * The cast_initial array is actually an array of arrays, because each row has
30047 * a variable number of columns. So to actually build the cast linked list,
30048 * we find the array of casts associated with the type, and loop through it
30049 * adding the casts to the list. The one last trick we need to do is making
30050 * sure the type pointer in the swig_cast_info struct is correct.
30052 * First off, we lookup the cast->type name to see if it is already loaded.
30053 * There are three cases to handle:
30054 * 1) If the cast->type has already been loaded AND the type we are adding
30055 * casting info to has not been loaded (it is in this module), THEN we
30056 * replace the cast->type pointer with the type pointer that has already
30058 * 2) If BOTH types (the one we are adding casting info to, and the
30059 * cast->type) are loaded, THEN the cast info has already been loaded by
30060 * the previous module so we just ignore it.
30061 * 3) Finally, if cast->type has not already been loaded, then we add that
30062 * swig_cast_info to the linked list (because the cast->type) pointer will
30074 #define SWIGRUNTIME_DEBUG
30078 SWIG_InitializeModule(void *clientdata
) {
30080 swig_module_info
*module_head
;
30081 static int init_run
= 0;
30083 clientdata
= clientdata
;
30085 if (init_run
) return;
30088 /* Initialize the swig_module */
30089 swig_module
.type_initial
= swig_type_initial
;
30090 swig_module
.cast_initial
= swig_cast_initial
;
30092 /* Try and load any already created modules */
30093 module_head
= SWIG_GetModule(clientdata
);
30095 swig_module
.next
= module_head
->next
;
30096 module_head
->next
= &swig_module
;
30098 /* This is the first module loaded */
30099 swig_module
.next
= &swig_module
;
30100 SWIG_SetModule(clientdata
, &swig_module
);
30103 /* Now work on filling in swig_module.types */
30104 #ifdef SWIGRUNTIME_DEBUG
30105 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
30107 for (i
= 0; i
< swig_module
.size
; ++i
) {
30108 swig_type_info
*type
= 0;
30109 swig_type_info
*ret
;
30110 swig_cast_info
*cast
;
30112 #ifdef SWIGRUNTIME_DEBUG
30113 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30116 /* if there is another module already loaded */
30117 if (swig_module
.next
!= &swig_module
) {
30118 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
30121 /* Overwrite clientdata field */
30122 #ifdef SWIGRUNTIME_DEBUG
30123 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
30125 if (swig_module
.type_initial
[i
]->clientdata
) {
30126 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
30127 #ifdef SWIGRUNTIME_DEBUG
30128 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
30132 type
= swig_module
.type_initial
[i
];
30135 /* Insert casting types */
30136 cast
= swig_module
.cast_initial
[i
];
30137 while (cast
->type
) {
30138 /* Don't need to add information already in the list */
30140 #ifdef SWIGRUNTIME_DEBUG
30141 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
30143 if (swig_module
.next
!= &swig_module
) {
30144 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
30145 #ifdef SWIGRUNTIME_DEBUG
30146 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
30150 if (type
== swig_module
.type_initial
[i
]) {
30151 #ifdef SWIGRUNTIME_DEBUG
30152 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
30157 /* Check for casting already in the list */
30158 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
30159 #ifdef SWIGRUNTIME_DEBUG
30160 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
30162 if (!ocast
) ret
= 0;
30167 #ifdef SWIGRUNTIME_DEBUG
30168 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
30171 type
->cast
->prev
= cast
;
30172 cast
->next
= type
->cast
;
30178 /* Set entry in modules->types array equal to the type */
30179 swig_module
.types
[i
] = type
;
30181 swig_module
.types
[i
] = 0;
30183 #ifdef SWIGRUNTIME_DEBUG
30184 printf("**** SWIG_InitializeModule: Cast List ******\n");
30185 for (i
= 0; i
< swig_module
.size
; ++i
) {
30187 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
30188 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
30189 while (cast
->type
) {
30190 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
30194 printf("---- Total casts: %d\n",j
);
30196 printf("**** SWIG_InitializeModule: Cast List ******\n");
30200 /* This function will propagate the clientdata field of type to
30201 * any new swig_type_info structures that have been added into the list
30202 * of equivalent types. It is like calling
30203 * SWIG_TypeClientData(type, clientdata) a second time.
30206 SWIG_PropagateClientData(void) {
30208 swig_cast_info
*equiv
;
30209 static int init_run
= 0;
30211 if (init_run
) return;
30214 for (i
= 0; i
< swig_module
.size
; i
++) {
30215 if (swig_module
.types
[i
]->clientdata
) {
30216 equiv
= swig_module
.types
[i
]->cast
;
30218 if (!equiv
->converter
) {
30219 if (equiv
->type
&& !equiv
->type
->clientdata
)
30220 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
30222 equiv
= equiv
->next
;
30242 /* Python-specific SWIG API */
30243 #define SWIG_newvarlink() SWIG_Python_newvarlink()
30244 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
30245 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
30247 /* -----------------------------------------------------------------------------
30248 * global variable support code.
30249 * ----------------------------------------------------------------------------- */
30251 typedef struct swig_globalvar
{
30252 char *name
; /* Name of global variable */
30253 PyObject
*(*get_attr
)(void); /* Return the current value */
30254 int (*set_attr
)(PyObject
*); /* Set the value */
30255 struct swig_globalvar
*next
;
30258 typedef struct swig_varlinkobject
{
30260 swig_globalvar
*vars
;
30261 } swig_varlinkobject
;
30263 SWIGINTERN PyObject
*
30264 swig_varlink_repr(swig_varlinkobject
*v
) {
30266 return PyString_FromString("<Swig global variables>");
30270 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
30271 swig_globalvar
*var
;
30273 fprintf(fp
,"Swig global variables { ");
30274 for (var
= v
->vars
; var
; var
=var
->next
) {
30275 fprintf(fp
,"%s", var
->name
);
30276 if (var
->next
) fprintf(fp
,", ");
30278 fprintf(fp
," }\n");
30282 SWIGINTERN PyObject
*
30283 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
30284 swig_globalvar
*var
= v
->vars
;
30286 if (strcmp(var
->name
,n
) == 0) {
30287 return (*var
->get_attr
)();
30291 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30296 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
30297 swig_globalvar
*var
= v
->vars
;
30299 if (strcmp(var
->name
,n
) == 0) {
30300 return (*var
->set_attr
)(p
);
30304 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
30308 SWIGINTERN PyTypeObject
*
30309 swig_varlink_type(void) {
30310 static char varlink__doc__
[] = "Swig var link object";
30311 static PyTypeObject varlink_type
30312 #if !defined(__cplusplus)
30314 static int type_init
= 0;
30319 PyObject_HEAD_INIT(&PyType_Type
)
30320 0, /* Number of items in variable part (ob_size) */
30321 (char *)"swigvarlink", /* Type name (tp_name) */
30322 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
30323 0, /* Itemsize (tp_itemsize) */
30324 0, /* Deallocator (tp_dealloc) */
30325 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
30326 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
30327 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
30328 0, /* tp_compare */
30329 (reprfunc
) swig_varlink_repr
, /* tp_repr */
30330 0, /* tp_as_number */
30331 0, /* tp_as_sequence */
30332 0, /* tp_as_mapping */
30336 0, /* tp_getattro */
30337 0, /* tp_setattro */
30338 0, /* tp_as_buffer */
30340 varlink__doc__
, /* tp_doc */
30341 #if PY_VERSION_HEX >= 0x02000000
30342 0, /* tp_traverse */
30345 #if PY_VERSION_HEX >= 0x02010000
30346 0, /* tp_richcompare */
30347 0, /* tp_weaklistoffset */
30349 #if PY_VERSION_HEX >= 0x02020000
30350 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
30352 #if PY_VERSION_HEX >= 0x02030000
30355 #ifdef COUNT_ALLOCS
30356 0,0,0,0 /* tp_alloc -> tp_next */
30359 #if !defined(__cplusplus)
30360 varlink_type
= tmp
;
30364 return &varlink_type
;
30367 /* Create a variable linking object for use later */
30368 SWIGINTERN PyObject
*
30369 SWIG_Python_newvarlink(void) {
30370 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
30374 return ((PyObject
*) result
);
30378 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
30379 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
30380 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
30382 size_t size
= strlen(name
)+1;
30383 gv
->name
= (char *)malloc(size
);
30385 strncpy(gv
->name
,name
,size
);
30386 gv
->get_attr
= get_attr
;
30387 gv
->set_attr
= set_attr
;
30388 gv
->next
= v
->vars
;
30394 /* -----------------------------------------------------------------------------
30395 * constants/methods manipulation
30396 * ----------------------------------------------------------------------------- */
30398 /* Install Constants */
30400 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
30403 for (i
= 0; constants
[i
].type
; ++i
) {
30404 switch(constants
[i
].type
) {
30406 obj
= PyInt_FromLong(constants
[i
].lvalue
);
30408 case SWIG_PY_FLOAT
:
30409 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
30411 case SWIG_PY_STRING
:
30412 if (constants
[i
].pvalue
) {
30413 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
30415 Py_INCREF(Py_None
);
30419 case SWIG_PY_POINTER
:
30420 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
30422 case SWIG_PY_BINARY
:
30423 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
30430 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
30436 /* -----------------------------------------------------------------------------*/
30437 /* Fix SwigMethods to carry the callback ptrs when needed */
30438 /* -----------------------------------------------------------------------------*/
30441 SWIG_Python_FixMethods(PyMethodDef
*methods
,
30442 swig_const_info
*const_table
,
30443 swig_type_info
**types
,
30444 swig_type_info
**types_initial
) {
30446 for (i
= 0; methods
[i
].ml_name
; ++i
) {
30447 char *c
= methods
[i
].ml_doc
;
30448 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
30450 swig_const_info
*ci
= 0;
30451 char *name
= c
+ 10;
30452 for (j
= 0; const_table
[j
].type
; ++j
) {
30453 if (strncmp(const_table
[j
].name
, name
,
30454 strlen(const_table
[j
].name
)) == 0) {
30455 ci
= &(const_table
[j
]);
30460 size_t shift
= (ci
->ptype
) - types
;
30461 swig_type_info
*ty
= types_initial
[shift
];
30462 size_t ldoc
= (c
- methods
[i
].ml_doc
);
30463 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
30464 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
30467 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
30469 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
30471 strncpy(buff
, "swig_ptr: ", 10);
30473 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
30474 methods
[i
].ml_doc
= ndoc
;
30482 /* -----------------------------------------------------------------------------*
30483 * Initialize type list
30484 * -----------------------------------------------------------------------------*/
30490 /* -----------------------------------------------------------------------------*
30491 * Partial Init method
30492 * -----------------------------------------------------------------------------*/
30497 SWIGEXPORT
void SWIG_init(void) {
30498 static PyObject
*SWIG_globals
= 0;
30500 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30502 /* Fix SwigMethods to carry the callback ptrs when needed */
30503 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
30505 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30506 d
= PyModule_GetDict(m
);
30508 SWIG_InitializeModule(0);
30509 SWIG_InstallConstants(d
,swig_const_table
);
30511 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30512 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
30513 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
30514 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
30515 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
30517 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int(static_cast<int >(wxSTAY_ON_TOP
)));
30520 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int(static_cast<int >(wxICONIZE
)));
30523 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int(static_cast<int >(wxMINIMIZE
)));
30526 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int(static_cast<int >(wxMAXIMIZE
)));
30529 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int(static_cast<int >(wxCLOSE_BOX
)));
30532 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int(static_cast<int >(wxTHICK_FRAME
)));
30535 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int(static_cast<int >(wxSYSTEM_MENU
)));
30538 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMINIMIZE_BOX
)));
30541 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int(static_cast<int >(wxMAXIMIZE_BOX
)));
30544 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_HORIZ
)));
30547 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int(static_cast<int >(wxTINY_CAPTION_VERT
)));
30550 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int(static_cast<int >(wxRESIZE_BOX
)));
30553 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int(static_cast<int >(wxRESIZE_BORDER
)));
30556 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int(static_cast<int >(wxDIALOG_NO_PARENT
)));
30559 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_FRAME_STYLE
)));
30562 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int(static_cast<int >(wxDEFAULT_DIALOG_STYLE
)));
30565 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int(static_cast<int >(wxFRAME_TOOL_WINDOW
)));
30568 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int(static_cast<int >(wxFRAME_FLOAT_ON_PARENT
)));
30571 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int(static_cast<int >(wxFRAME_NO_WINDOW_MENU
)));
30574 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int(static_cast<int >(wxFRAME_NO_TASKBAR
)));
30577 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int(static_cast<int >(wxFRAME_SHAPED
)));
30580 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int(static_cast<int >(wxFRAME_DRAWER
)));
30583 PyDict_SetItemString(d
,"FRAME_EX_METAL", SWIG_From_int(static_cast<int >(wxFRAME_EX_METAL
)));
30586 PyDict_SetItemString(d
,"DIALOG_EX_METAL", SWIG_From_int(static_cast<int >(wxDIALOG_EX_METAL
)));
30589 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int(static_cast<int >(wxDIALOG_MODAL
)));
30592 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int(static_cast<int >(wxDIALOG_MODELESS
)));
30595 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int(static_cast<int >(wxUSER_COLOURS
)));
30598 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int(static_cast<int >(wxNO_3D
)));
30601 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOMENUBAR
)));
30604 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOTOOLBAR
)));
30607 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOSTATUSBAR
)));
30610 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOBORDER
)));
30613 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int(static_cast<int >(wxFULLSCREEN_NOCAPTION
)));
30616 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int(static_cast<int >(wxFULLSCREEN_ALL
)));
30619 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int(static_cast<int >(wxTOPLEVEL_EX_DIALOG
)));
30622 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_INFO
)));
30625 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int(static_cast<int >(wxUSER_ATTENTION_ERROR
)));
30628 PyDict_SetItemString(d
,"Dialog_ButtonSizerFlags", SWIG_From_int(static_cast<int >(wxDialog::ButtonSizerFlags
)));
30631 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_PARENT
)));
30634 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int(static_cast<int >(wxSPLASH_CENTRE_ON_SCREEN
)));
30637 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int(static_cast<int >(wxSPLASH_NO_CENTRE
)));
30640 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_TIMEOUT
)));
30643 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int(static_cast<int >(wxSPLASH_NO_TIMEOUT
)));
30646 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int(static_cast<int >(wxSB_NORMAL
)));
30649 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int(static_cast<int >(wxSB_FLAT
)));
30652 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int(static_cast<int >(wxSB_RAISED
)));
30654 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
30656 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int(static_cast<int >(wxSP_NOBORDER
)));
30659 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int(static_cast<int >(wxSP_NOSASH
)));
30662 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int(static_cast<int >(wxSP_PERMIT_UNSPLIT
)));
30665 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int(static_cast<int >(wxSP_LIVE_UPDATE
)));
30668 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int(static_cast<int >(wxSP_3DSASH
)));
30671 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int(static_cast<int >(wxSP_3DBORDER
)));
30674 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int(static_cast<int >(wxSP_NO_XP_THEME
)));
30677 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int(static_cast<int >(wxSP_BORDER
)));
30680 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int(static_cast<int >(wxSP_3D
)));
30683 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSPLIT_HORIZONTAL
)));
30686 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int(static_cast<int >(wxSPLIT_VERTICAL
)));
30689 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_NONE
)));
30692 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_DRAGGING
)));
30695 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSPLIT_DRAG_LEFT_DOWN
)));
30697 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30698 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30699 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30700 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30701 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30702 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30704 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int(static_cast<int >(wxSASH_DRAG_NONE
)));
30707 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int(static_cast<int >(wxSASH_DRAG_DRAGGING
)));
30710 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int(static_cast<int >(wxSASH_DRAG_LEFT_DOWN
)));
30713 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int(static_cast<int >(wxSW_NOBORDER
)));
30716 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int(static_cast<int >(wxSW_BORDER
)));
30719 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int(static_cast<int >(wxSW_3DSASH
)));
30722 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int(static_cast<int >(wxSW_3DBORDER
)));
30725 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int(static_cast<int >(wxSW_3D
)));
30728 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int(static_cast<int >(wxSASH_TOP
)));
30731 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int(static_cast<int >(wxSASH_RIGHT
)));
30734 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int(static_cast<int >(wxSASH_BOTTOM
)));
30737 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int(static_cast<int >(wxSASH_LEFT
)));
30740 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int(static_cast<int >(wxSASH_NONE
)));
30743 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OK
)));
30746 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int(static_cast<int >(wxSASH_STATUS_OUT_OF_RANGE
)));
30748 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30750 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int(static_cast<int >(wxLAYOUT_HORIZONTAL
)));
30753 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int(static_cast<int >(wxLAYOUT_VERTICAL
)));
30756 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int(static_cast<int >(wxLAYOUT_NONE
)));
30759 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int(static_cast<int >(wxLAYOUT_TOP
)));
30762 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int(static_cast<int >(wxLAYOUT_LEFT
)));
30765 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int(static_cast<int >(wxLAYOUT_RIGHT
)));
30768 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int(static_cast<int >(wxLAYOUT_BOTTOM
)));
30771 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_Y
)));
30774 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int(static_cast<int >(wxLAYOUT_LENGTH_X
)));
30777 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int(static_cast<int >(wxLAYOUT_MRU_LENGTH
)));
30780 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int(static_cast<int >(wxLAYOUT_QUERY
)));
30782 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30783 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30784 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30786 // Map renamed classes back to their common name for OOR
30787 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30788 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30789 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30791 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30792 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30793 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30794 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30795 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30796 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30797 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30798 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30799 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30800 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30801 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30802 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30803 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30805 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int(static_cast<int >(wxCHOICEDLG_STYLE
)));
30808 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int(static_cast<int >(wxTextEntryDialogStyle
)));
30810 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30812 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int(static_cast<int >(wxFR_DOWN
)));
30815 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_WHOLEWORD
)));
30818 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int(static_cast<int >(wxFR_MATCHCASE
)));
30821 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int(static_cast<int >(wxFR_REPLACEDIALOG
)));
30824 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int(static_cast<int >(wxFR_NOUPDOWN
)));
30827 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int(static_cast<int >(wxFR_NOMATCHCASE
)));
30830 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int(static_cast<int >(wxFR_NOWHOLEWORD
)));
30832 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30833 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30834 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30835 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30836 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30838 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int(static_cast<int >(4001)));
30841 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int(static_cast<int >(4001)));
30844 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int(static_cast<int >(4002)));
30847 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int(static_cast<int >(4003)));
30850 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int(static_cast<int >(4004)));
30853 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int(static_cast<int >(4005)));
30856 PyDict_SetItemString(d
,"IDM_WINDOWPREV", SWIG_From_int(static_cast<int >(4006)));
30859 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int(static_cast<int >(4100)));
30862 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int(static_cast<int >(4600)));
30864 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30865 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30867 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_NONE
)));
30870 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PREVIEW
)));
30873 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int(static_cast<int >(wxPRINT_MODE_FILE
)));
30876 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int(static_cast<int >(wxPRINT_MODE_PRINTER
)));
30879 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int(static_cast<int >(wxPRINT_MODE_STREAM
)));
30882 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int(static_cast<int >(wxPRINTBIN_DEFAULT
)));
30885 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ONLYONE
)));
30888 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int(static_cast<int >(wxPRINTBIN_LOWER
)));
30891 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int(static_cast<int >(wxPRINTBIN_MIDDLE
)));
30894 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_MANUAL
)));
30897 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVELOPE
)));
30900 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int(static_cast<int >(wxPRINTBIN_ENVMANUAL
)));
30903 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int(static_cast<int >(wxPRINTBIN_AUTO
)));
30906 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int(static_cast<int >(wxPRINTBIN_TRACTOR
)));
30909 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_SMALLFMT
)));
30912 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGEFMT
)));
30915 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int(static_cast<int >(wxPRINTBIN_LARGECAPACITY
)));
30918 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int(static_cast<int >(wxPRINTBIN_CASSETTE
)));
30921 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int(static_cast<int >(wxPRINTBIN_FORMSOURCE
)));
30924 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int(static_cast<int >(wxPRINTBIN_USER
)));
30927 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_NO_ERROR
)));
30930 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int(static_cast<int >(wxPRINTER_CANCELLED
)));
30933 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int(static_cast<int >(wxPRINTER_ERROR
)));
30936 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxPREVIEW_PRINT
)));
30939 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxPREVIEW_PREVIOUS
)));
30942 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxPREVIEW_NEXT
)));
30945 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxPREVIEW_ZOOM
)));
30948 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxPREVIEW_FIRST
)));
30951 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxPREVIEW_LAST
)));
30954 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxPREVIEW_GOTO
)));
30957 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int(static_cast<int >(wxPREVIEW_DEFAULT
)));
30960 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int(static_cast<int >(wxID_PREVIEW_CLOSE
)));
30963 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_NEXT
)));
30966 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PREVIOUS
)));
30969 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int(static_cast<int >(wxID_PREVIEW_PRINT
)));
30972 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int(static_cast<int >(wxID_PREVIEW_ZOOM
)));
30975 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_FIRST
)));
30978 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int(static_cast<int >(wxID_PREVIEW_LAST
)));
30981 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int(static_cast<int >(wxID_PREVIEW_GOTO
)));
30984 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");